Skip to content

Instantly share code, notes, and snippets.

@blondie7575
Created February 28, 2013 00:07
Show Gist options
  • Save blondie7575/5053074 to your computer and use it in GitHub Desktop.
Save blondie7575/5053074 to your computer and use it in GitHub Desktop.
// Frame, VSync, VBL, VRAMH
scanLines:
.byte 0,1,7,0x00 // 00
.byte 0,1,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00 // 20
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,5,0x00
...
.byte 0,0,0,0xEF
.byte 0,0,0,0xEF
.byte 0,0,7,0x00 // 517
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00
.byte 0,0,7,0x00 // 524
.byte 1,0,0,0x00 // End of frame marker. This does not count as a scanline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment