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)
 
(official jargon category)
 
(2 intermediate revisions by the same user not shown)
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:Official Jargon]]

Latest revision as of 08:38, 1 December 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