We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

Priority Order Shifting: Difference between revisions

From SnesLab
Jump to: navigation, search
(created page)
 
(video category)
Line 5: Line 5:
=== References ===
=== References ===
* page 2-20-2 of official Super Nintendo development manual: https://archive.org/details/SNESDevManual/book1/page/n91
* page 2-20-2 of official Super Nintendo development manual: https://archive.org/details/SNESDevManual/book1/page/n91
[[Category:Video]]

Revision as of 16:34, 3 July 2023

Priority Order Shifting refers to techniques that change which sprites appear on top or behind of other sprites.

While this can be done in software, by moving sprites around in OAM, the SNES contains a hardware feature for priority order shifting - bit 7 of OAMADDH (2103h). When clear, OBJ #0 has the highest priority. When set, the OBJ number specified by bits 1-7 of OAMADDL (2102h) has the highest priority.

References