GSCats/equates.s

32 lines
962 B
ArmAsm
Raw Normal View History

2017-07-29 21:47:17 +00:00
TEXTCOLOR = $e0c022
NEWVIDEO = $e0c029
BORDERCOLOR = $e0c034
CLOCKCTL = $e0c034
SHADOW = $e0c035
STACKCTL = $e0c068
KBD = $e0c000
KBDSTROBE = $e0c010
2017-07-28 22:11:25 +00:00
COUT = $fded
2017-08-13 22:36:12 +00:00
VRAM = $e12000
2017-10-19 19:59:24 +00:00
SHADOWVRAM = $012000
VRAMBANK = $e10000
2017-10-19 19:59:24 +00:00
SHADOWVRAMBANK = $010000
2017-10-02 00:36:09 +00:00
PRODOS = $bf00 ; MLI entry point
PRODOSRETURN = $300 ; Indirect jump to get back to ProDOS from any bank
2017-07-28 22:11:25 +00:00
; Zero page locations we use (unused by Monitor, Applesoft, or ProDOS)
PARAM0 = $06
PARAM1 = $07
PARAM2 = $08
PARAM3 = $09
PARAML0 = $06 ; 16-bit versions of params
PARAML1 = $08
SCRATCH0 = $19
SCRATCH1 = $1a
SCRATCHL = $19 ; 16-bit version of scratch
SCRATCHL2 = $67 ; Second 16-bit scratch
PARAM24 = $67 ; 24-bit param (This is almost certainly messing up AppleSoft, but meh)
STACKPTR = $70 ; Cache for stack pointer in fast graphics
2017-10-01 22:40:29 +00:00
SHADOWREGISTER = $72 ; Cache for shadow register in fast graphics
STACKREGISTER = $73 ; Cache for stack register in fast graphics