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

Previous ThreadView All ThreadsNext ThreadShow in Flat Mode*


SubjectRe: horizontal scrolling  
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).



-
Entire Thread
Subject  Posted byPosted On
*horizontal scrolling  Anonymous2/24/04 10:42 AM
..Re: horizontal scrolling  Memblers2/24/04 12:46 PM
..*Re: horizontal scrolling  Anonymous2/24/04 1:19 PM
Jump to

Memblers' homepage             Contact Me

Forums powered by WWWThreads Demo