NESDev and Strangulation Records messageboards
Forum Index | FAQ | New User | Login | Search

Previous ThreadView All ThreadsNext Thread*Show in Threaded Mode


Subjecthorizontal scrolling new  
Posted byAnonymous
Posted on2/24/04 10:42 AM
From IP82.34.80.161  



Hello I can get vert scolling to work now :). I am a bit confused with horizontal scolling, ive tried loading 256(i cant see how i can load this much into A so loaded 255) to 0 and storing it in 2005 each time its gos round a loop. can anybody get me some help :)

thanks in advance




SubjectRe: horizontal scrolling new  
Posted byMemblers
Posted on2/24/04 12:46 PM
From IP68.58.99.218  



It's very similar to doing vertical scrolling, but for H scrolling you use the $2000 and $2400 nametables. And switch the 'nametable address' bit in the $2000 register every time your scroll rolls over to zero, to alternate between the 2 nametables that are being used.

Another helpful bit in the $2000 register is the 'increment address by 32' setting. You'll probably want to use that when doing H scrolling, that way you can draw a column of tiles by simply doing consecutive VRAM writes (for every 8 pixels or whatever that are scrolled).




SubjectRe: horizontal scrolling  
Posted byAnonymous
Posted on2/24/04 1:19 PM
From IP82.34.80.161  



ok thanks agian memblers :)




Previous ThreadView All ThreadsNext Thread*Show in Threaded Mode
Jump to

Memblers' homepage             Contact Me

Forums powered by WWWThreads Demo