Search found 474 matches
- Tue Jan 07, 2020 8:34 pm
- Forum: ZX BASIC
- Topic: Tricks in BASIC
- Replies: 54
- Views: 114187
Re: Tricks in BASIC
Hi, The dot character equal a "0" integer and don't save memory. (8 bytes) Anyway, it a good code! 8-) I think it is faster then NOT PI and 0, or am I incorrect on that? Also, this line: 7 LET I=I+LEN INKEY$ Any reason why LET I=LEN INKEY$ wouldn't work instead? (i.e., why I had to increment the I ...
- Tue Jan 07, 2020 12:23 pm
- Forum: ZX BASIC
- Topic: Tricks in BASIC
- Replies: 54
- Views: 114187
Re: Tricks in BASIC
Here's a scrolly text in a GOTO-less state: 1 LET X=SGN PI 2 LET Y=INT (PI*10) 3 FOR I=. TO SGN PI STEP . 4 PRINT AT .,.;" ... SCROLLY DEMO BY DONKEYSOFT MMXX ... HELLO TO ALL ZX-FANZ OUT THERE ... "(X TO X+Y) 5 LET X=X+SGN PI 6 IF X>VAL "106" THEN LET X=SGN PI 7 LET I=I+LEN INKEY$ 8 NEXT I It looks...
- Mon Jan 06, 2020 2:54 pm
- Forum: Development
- Topic: ZX81 Clone Tynemouth Minstrel 3
- Replies: 48
- Views: 36039
Re: ZX81 Clone Tynemouth Minstrel 3
I treated myself to one of these bad boys for Christmas. Wonderful stuff. Although I'm having some difficulties in loading from cassette tape.
The tape player works fine on my Sinclair ZX Spectrum and has also worked perfectly well on my Minstrel ZX80 clone.
Any clues anyone?
Many thanks,
Shaun.
The tape player works fine on my Sinclair ZX Spectrum and has also worked perfectly well on my Minstrel ZX80 clone.
Any clues anyone?
Many thanks,
Shaun.
- Sat Feb 09, 2019 11:37 pm
- Forum: Development
- Topic: ZX80 games collection
- Replies: 4
- Views: 5881
Re: ZX80 games collection
Hi,
Unfortunately real life has taken over so there is no progress on any actual fun projects.
If only I could earn by making real software on the ZX81 and ZX80 rather than dull old PHP.
Regards,
Shaun.
Unfortunately real life has taken over so there is no progress on any actual fun projects.
If only I could earn by making real software on the ZX81 and ZX80 rather than dull old PHP.
Regards,
Shaun.
- Fri Jan 25, 2019 8:08 pm
- Forum: Development
- Topic: z88dk v1.99C released
- Replies: 1
- Views: 2111
Re: z88dk v1.99C released
Just when I was thinking that I should make another ZX game - I'll have to check it out, thanks.
Regards,
Shaun.
Regards,
Shaun.
- Mon Jan 14, 2019 8:45 am
- Forum: ZX BASIC
- Topic: Determine a Finonacci number
- Replies: 2
- Views: 3361
Re: Determine a Finonacci number
Hi Moggy,
I see what you've done there. Thanks for the hints.
Shaun.
I see what you've done there. Thanks for the hints.
Shaun.
- Sat Jan 12, 2019 11:15 pm
- Forum: ZX BASIC
- Topic: Determine a Finonacci number
- Replies: 2
- Views: 3361
Determine a Finonacci number
Hi all, The following BASIC program will tell you whether or not the number you have entered is in the Fibonacci number sequence, printing 1 for true and zero for false. It should allow you to work out the first 50 or so Fibanacci numbers in the sequence. Tested with normal ROM and ZX81 ROMx2 on an ...
- Thu Jan 10, 2019 10:08 pm
- Forum: ZX BASIC
- Topic: Random maze generator.
- Replies: 9
- Views: 8846
Re: Random maze generator.
You can save more BASIC bytes like this:
Change line 7 to:
Then add in the following line:
Now RUN the program, remove line 2 and then enter the CONT command. Hey presto, another BASIC token saved!
Regards,
Shaun.
Change line 7 to:
Code: Select all
7 CONT
Code: Select all
2 STOP
Regards,
Shaun.
- Mon Jan 07, 2019 9:52 pm
- Forum: ZX BASIC
- Topic: Random maze generator.
- Replies: 9
- Views: 8846
Re: Random maze generator.
Here's an infinitely scrolling random maze, requires 2K or more
For a 1K ZX81, change line 4 to:
Regards,
Shaun.
For a 1K ZX81, change line 4 to:
Code: Select all
4 FOR N=SGN PI TO CODE "3"
Shaun.
- Sat Jan 05, 2019 6:39 pm
- Forum: ZX BASIC
- Topic: Chase the Ace (not a card game)
- Replies: 0
- Views: 3046
Chase the Ace (not a card game)
Here's a new game for the unexpanded ZX81 and TS1000:
https://cgc.source.run/entries.html#chase-the-ace
It's a not real entry into the CGC 2018 which has an extended deadline.
Regards,
Shaun.
https://cgc.source.run/entries.html#chase-the-ace
It's a not real entry into the CGC 2018 which has an extended deadline.
Regards,
Shaun.