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
(video category)
(→‎References: hid archive URL)
Line 4: Line 4:


=== References ===
=== References ===
* page 2-20-2 of official Super Nintendo development manual: https://archive.org/details/SNESDevManual/book1/page/n91
* [https://archive.org/details/SNESDevManual/book1/page/n91 page 2-20-2 of Book I] of official Super Nintendo development manual


[[Category:Video]]
[[Category:Video]]

Revision as of 19:21, 6 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