How to scroll ATTRibutes in "WindowScrollUp"? - Printable Version +- Forum (https://www.boriel.com/forum) +-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11) +---- Forum: How-To & Tutorials (https://www.boriel.com/forum/forumdisplay.php?fid=13) +---- Thread: How to scroll ATTRibutes in "WindowScrollUp"? (/showthread.php?tid=658) |
How to scroll ATTRibutes in "WindowScrollUp"? - LukeBord1 - 05-30-2015 Hi, i'm restyling an old basic program i made in far 80s, a vertical Scramble-like game. This great WindowScrollUp routine scrolls only the screen data, not the colour attributes... http://www.boriel.com/wiki/en/index.php/ZX_BASIC:WindowScrollUp The need is to include a window-attribute-scroll too (but please don't suggest to "POKE" attr addresses inside a FOR/NEXT basic routine, the game would slow-down too much - it should be assembly language inside the same ASM routine)! Does someone already succeeded? Re: How to scroll ATTRibutes in "WindowScrollUp"? - britlion - 06-13-2015 Good to know someone is using all the routines I've put in there over the years You should try <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:WindowAttrScrollUp">http://www.boriel.com/wiki/en/index.php ... trScrollUp</a><!-- m --> - I added this for you. Since it takes the same parameters as the pixel up scroll, you can call one after the other; though you have to decide what to put colour wise in the last row yourself - it leaves it untouched. |