Adding some historical documentation

This commit is contained in:
Ralph Caraveo III committed 2014-04-27 19:59:01 -07:00
1 parent cf36cdbbe7
commit 2bcfc9f1e7
2 files changed
+491 -6

No files matched your search

@@ -63,12 +63,13 @@ const (
TV_GRAPHICS = 0x09 // 50x18 (48x16) 16 color TV graphics mode.
MEMORY_PRESET = 0x01 // Set all VRAM to palette index.
BORDER_PRESET = 0x02 // Set border to palette index.
LOAD_CLUT_LO = 0x1E // Load Color Look Up Table index 0 through 7.
LOAD_CLUT_HI = 0x1F // Load Color Look Up Table index 8 through 15.
COPY_FONT = 0x06 // Copy 12x6 pixel font to screen.
XOR_FONT = 0x26 // XOR 12x6 pixel font with existing VRAM values.
SCROLL_PRESET = 0x14 // Update scroll offset, copying if 0x20 or 0x10.
SCROLL_COPY = 0x18 // Update scroll offset, setting color if 0x20 or 0x10.
//Load Color Lookup Table Commands
LOAD_CLUT_LO = 0x1E // Load Color Look Up Table index 0 through 7.
LOAD_CLUT_HI = 0x1F // Load Color Look Up Table index 8 through 15.
COPY_FONT = 0x06 // Copy 12x6 pixel font to screen.
XOR_FONT = 0x26 // XOR 12x6 pixel font with existing VRAM values.
SCROLL_PRESET = 0x14 // Update scroll offset, copying if 0x20 or 0x10.
SCROLL_COPY = 0x18 // Update scroll offset, setting color if 0x20 or 0x10.
)
var (