Window Scrolls



Improve your arcade games with a machine code routine which enables you to

scroll part of the screen in four different directions. Window Scrolls by

Pete Cooke of Leicester allows you to emulate professional programmers and

simulate windows on the Spectrum.



The routine occupies 217 bytes in all and is stored in locations starting

at 30000, so it will fit into a 16K Spectrum. If you have a 48K machine you

should change the addresses to a higher value if you intend to write a long

program.



To use the routine as it is written, you should first define the size of

the window by changing the numbers POKED in lines 120 to 150. At present the

routine sets up a window 25 pixels by 50.



To control the scrolling, use the cursor keys. A game written using the

program would thus be controlled by the cursor keys.

