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

Mode 6: Difference between revisions

From SnesLab
Jump to: navigation, search
(→‎Reference: mode 6 demo)
(palette size)
Line 8: Line 8:


'''Mode 6''' is the least frequently used [[Background Mode]].  No games use it.<sup>[1][4]</sup>  It is one of the hi-res modes, meaning the horizontal resolution is 512 dots.  When [[interlacing]] is enabled, the vertical resolution is also doubled.<sup>[1]</sup>  It supports [[offset change mode]].  [[PVSnesLib]] currently does not support Mode 6. <sup>[2]</sup>  [[Color Math]] should not be used in Mode 6.<sup>[3]</sup>  Tiles are 16 pixels wide and 8 pixels tall in Mode 6.<sup>[5]</sup>
'''Mode 6''' is the least frequently used [[Background Mode]].  No games use it.<sup>[1][4]</sup>  It is one of the hi-res modes, meaning the horizontal resolution is 512 dots.  When [[interlacing]] is enabled, the vertical resolution is also doubled.<sup>[1]</sup>  It supports [[offset change mode]].  [[PVSnesLib]] currently does not support Mode 6. <sup>[2]</sup>  [[Color Math]] should not be used in Mode 6.<sup>[3]</sup>  Tiles are 16 pixels wide and 8 pixels tall in Mode 6.<sup>[5]</sup>
The eight palettes for BG1 are located at CGRAM addresses 0h to 7Fh.<sup>[6]</sup>  Each palette contains 16 colors.


=== See Also ===
=== See Also ===
Line 24: Line 26:
# https://forums.nesdev.org/viewtopic.php?t=15087
# https://forums.nesdev.org/viewtopic.php?t=15087
# [https://archive.org/details/SNESDevManual/book1/page/n199 Appendix A-5]
# [https://archive.org/details/SNESDevManual/book1/page/n199 Appendix A-5]
# [https://archive.org/details/SNESDevManual/book1/page/n211 Appendix A-17], lbid


=== External Links ===
=== External Links ===

Revision as of 21:51, 28 December 2023

BG Layers Available
Layer 1
4bpp

Mode 6 is the least frequently used Background Mode. No games use it.[1][4] It is one of the hi-res modes, meaning the horizontal resolution is 512 dots. When interlacing is enabled, the vertical resolution is also doubled.[1] It supports offset change mode. PVSnesLib currently does not support Mode 6. [2] Color Math should not be used in Mode 6.[3] Tiles are 16 pixels wide and 8 pixels tall in Mode 6.[5]

The eight palettes for BG1 are located at CGRAM addresses 0h to 7Fh.[6] Each palette contains 16 colors.

See Also

Other Background Modes
Mode 0 Mode 1 Mode 2 Mode 3
Mode 4 Mode 5 Mode 6 Mode 7

Reference

  1. https://nesdoug.com/2022/05/30/other-modes
  2. https://github.com/alekmaul/pvsneslib/issues/14#issuecomment-698703247
  3. 7.1 on page 2-7-2 of Book I of the official Super Nintendo development manual
  4. https://forums.nesdev.org/viewtopic.php?t=15087
  5. Appendix A-5
  6. Appendix A-17, lbid

External Links

  1. demo including Mode 6: https://forums.nesdev.org/viewtopic.php?p=174494