FAQ  •  Register  •  Login

How to scroll ATTRibutes in "WindowScrollUp"?

<<

LukeBord1

Posts: 13

Joined: Sat Jan 17, 2015 9:32 pm

Post Sat May 30, 2015 9:19 am

How to scroll ATTRibutes in "WindowScrollUp"?

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?
<<

britlion

Posts: 766

Joined: Mon Apr 27, 2009 7:26 pm

Location: Slough, Berkshire, UK

Post Sat Jun 13, 2015 1:01 am

Re: How to scroll ATTRibutes in "WindowScrollUp"?

Good to know someone is using all the routines I've put in there over the years :D

You should try http://www.boriel.com/wiki/en/index.php ... trScrollUp - 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.

Return to How-To & Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.

phpBB SEO