mirror of
https://github.com/michaelcmartin/Ophis.git
synced 2024-12-01 19:50:25 +00:00
feba267ee7
* C64, NES, and Atari 2600 ("Stella") useful constants headers. * crt0.s equivalent for C64. * Hello World for the C64.
16 lines
683 B
Plaintext
16 lines
683 B
Plaintext
; NES-related headers. Unlike the C64 and Stella developers, there is
|
|
; no standard nomenclature for these registers. It's not uncommon to
|
|
; see them hardcoded.
|
|
|
|
; PPU registers have reasonably standard names, at least.
|
|
|
|
.alias PPUCTRL $2000 ; PPU Control Register #1
|
|
.alias PPUMASK $2001 ; PPU Control Register #2
|
|
.alias PPUSTATUS $2002 ; PPU Status Register
|
|
.alias OAMADDR $2003 ; SPR-RAM Address Register
|
|
.alias OAMDATA $2004 ; SPR-RAM I/O Register
|
|
.alias PPUSCROLL $2005 ; VRAM Address Register #1 (Panning control)
|
|
.alias PPUADDR $2006 ; VRAM Address Register #2 (Direct Address control)
|
|
.alias PPUDATA $2007 ; VRAM I/O Register
|
|
.alias OAMDMA $4014 ; Sprite DMA Register
|