How do i get a movement on screen using the ZX81
Re: How do i get a movement on screen using the ZX80
Yeah, basic is slow.
At least i got something done
At least i got something done
- Attachments
-
- test.tzx
- (37 Bytes) Downloaded 146 times
In Heck, there are two options for perpetual torment:
Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices
![Twisted Evil :twisted:](./images/smilies/icon_twisted.gif)
Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices
![Twisted Evil :twisted:](./images/smilies/icon_twisted.gif)
Re: How do i get a movement on screen using the ZX80
sorry to necro but How do i program the arrow keys?
In Heck, there are two options for perpetual torment:
Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices
![Twisted Evil :twisted:](./images/smilies/icon_twisted.gif)
Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices
![Twisted Evil :twisted:](./images/smilies/icon_twisted.gif)
Re: How do i get a movement on screen using the ZX80
no...it appears to have vanished
damn
I'm sick of this happening
damn
![Mad :x](./images/smilies/icon_mad.gif)
In Heck, there are two options for perpetual torment:
Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices
![Twisted Evil :twisted:](./images/smilies/icon_twisted.gif)
Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices
![Twisted Evil :twisted:](./images/smilies/icon_twisted.gif)
Re: How do i get a movement on screen using the ZX80
![Embarrassed :oops:](./images/smilies/icon_redface.gif)
Empty TZX...
You had to type "SAVE" ("E" and New/line) on the ZX80 screen to save a TZX !
In the "Tape window" a new entry will appear after the first entry (comment tag).
"code"..."xxx" is your program
In case of multiple files (errors/updates…) just create a new TZX, and save it again to get one "code" entry.
Then save the file as a "P" ("HELLO.P") file if there's only one file, the comment ("created by …" isn't a file…
To check if the "code" file isn't empty, double click on it.
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
Re: How do i get a movement on screen using the ZX80
Just remember. Saving in EigthyOne is a two step process. Having the file shown in the tape window is not enough. It just means it’s in EightyOne’s memory. You have to save it to a Windows file from here. When you add another file to the tape, it is still in RAM, so you need to save to a new file again. This might trick people using EightyOne. It tricked me, and I lost programs that way too.
Re: How do i get a movement on screen using the ZX80
sorry to necro, How do i get side to side movement (like in breakout)BarryN wrote: ↑Mon Aug 09, 2021 12:09 pm You can do it in BASIC using text.
The word hello will go back and forth and advance down the screen.Code: Select all
10 FOR Y=1 TO 10 20 FOR X=1 TO 10 20 PRINT AT Y,X;" HELLO " 30 NEXT X 40 FOR X=10 TO 1 STEP -1 50 PRINT AT Y,X;" HELLO " 60 NEXT X 70 PRINT AT Y,1;" " 80 NEXT Y
In Heck, there are two options for perpetual torment:
Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices
![Twisted Evil :twisted:](./images/smilies/icon_twisted.gif)
Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices
![Twisted Evil :twisted:](./images/smilies/icon_twisted.gif)
Re: How do i get a movement on screen using the ZX80
Run the sample, this does both horizontal and vertical movement.Crayon21 wrote: ↑Mon Aug 30, 2021 5:01 amsorry to necro, How do i get side to side movement (like in breakout)BarryN wrote: ↑Mon Aug 09, 2021 12:09 pm You can do it in BASIC using text.
The word hello will go back and forth and advance down the screen.Code: Select all
10 FOR Y=1 TO 10 20 FOR X=1 TO 10 20 PRINT AT Y,X;" HELLO " 30 NEXT X 40 FOR X=10 TO 1 STEP -1 50 PRINT AT Y,X;" HELLO " 60 NEXT X 70 PRINT AT Y,1;" " 80 NEXT Y
Re: How do i get a movement on screen using the ZX80
Did you realize that OP asked about ZX80?
There is no PRINT AT
And there is not an easy way to animate something in the screen..
Not in BASIC
files from Eighty One are .O
There is no PRINT AT
And there is not an easy way to animate something in the screen..
Not in BASIC
files from Eighty One are .O
Ernesto
ZX80 USA, ZX81UK, ZX Spectrum, ZX Spectrum+, ZX Spectrum 128+ UK, ZX Spectrum +2/A, Sinclair QL, CZ1000, CZ1500, CZ2000, CZ1000Plus, CZ1500Plus, CZ Spectrum, CZ Spectrum Plus, TK83, TK85, TK90X, TK95. TS2068. And more to come![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
ZX80 USA, ZX81UK, ZX Spectrum, ZX Spectrum+, ZX Spectrum 128+ UK, ZX Spectrum +2/A, Sinclair QL, CZ1000, CZ1500, CZ2000, CZ1000Plus, CZ1500Plus, CZ Spectrum, CZ Spectrum Plus, TK83, TK85, TK90X, TK95. TS2068. And more to come
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)