What's happening with the 23606 poke?
Thanks,
Shaun
horizontal scrolling in basic
Re: horizontal scrolling in basic
Since we are talking POKING 23606 and own development of characterset and Shaun Bebbington replying....
Define your own "characterset" (this can be UDG too, but in characterrange) and make it 10 characters/udg. Make the 11th the same as the first.
Now by poking 23606 from start to start+80 and printing a character on same spot after each poke you get the rolling effect
from a fruitmachine. Since chr11 is the same as chr1 you will get the rollaround effect.
To add more visible chr on the roll: add print chr-1 above and chr+1 below.
Define your own "characterset" (this can be UDG too, but in characterrange) and make it 10 characters/udg. Make the 11th the same as the first.
Now by poking 23606 from start to start+80 and printing a character on same spot after each poke you get the rolling effect
from a fruitmachine. Since chr11 is the same as chr1 you will get the rollaround effect.
To add more visible chr on the roll: add print chr-1 above and chr+1 below.
Re: horizontal scrolling in basic
Thanks Dr Beep - I've actually thought of a way to improve my advanced** fruit machine simulator for 1K
** Might not be so advanced
** Might not be so advanced
- 1024MAK
- Posts: 5302
- Joined: Mon Sep 26, 2011 10:56 am
- Location: Looking forward to summer in Somerset, UK...
Re: horizontal scrolling in basic
By increasing the value by 8, you move the start point of the look up to the pattern data so that BASIC prints the image for the next character pattern to the screen. So for the first increase, when 'A' is printed, the system uses the pattern for letter 'B' instead.
Mark
ZX81 Variations
ZX81 Chip Pin-outs
ZX81 Video Transistor Amp
Standby alert
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb
Looking forward to summer being good this year.
ZX81 Chip Pin-outs
ZX81 Video Transistor Amp
Standby alert
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb
Looking forward to summer being good this year.
Re: horizontal scrolling in basic
that was impressive, to be honest
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
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