Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
| |
0 users currently in ROM Hacking. |
Acmlm's Board - I3 Archive - ROM Hacking - How are layers drawn on SNES? | New poll | | |
Add to favorites | Next newer thread | Next older thread |
User | Post | ||
HyperHacker Star Mario Finally being paid to code in VB! If only I still enjoyed that. <_< Wii #7182 6487 4198 1828 Since: 11-18-05 From: Canada, w00t! My computer's specs, if anyone gives a damn. STOP TRUNCATING THIS >8^( Last post: 6283 days Last view: 6283 days |
| ||
Say you have 3 background layers on a SNES game; layer 1 is lowest priority and 3 is highest for simplicity's sake. When they're drawn, does it draw all of layer 1, then all of 2, then 3, or does it just like draw them all at once? And if they're separate, is there any way to tell which is currently being drawn? | |||
creaothceann Red Goomba Since: 11-22-05 Last post: 6478 days Last view: 6478 days |
| ||
They are all drawn "at once", so to speak. The actual outcome is the same either way.
The SNES has certain registers that tell it how to draw the current scanline and where to find the required data. An important register is register $2105, the lowest 3 bits determine the BG mode, and hence the drawing order. To quote anomie's register doc:
You can't access most PPU registers while the PPUs draw the screen (ie. while the electron beam of the TV is active and draws a line). (edited by creaothceann on 03-27-06 05:23 AM) |
Add to favorites | Next newer thread | Next older thread |
Acmlm's Board - I3 Archive - ROM Hacking - How are layers drawn on SNES? | | |