[label]
PLAY_SONGS             = 0x1f61
*PLAY_SONGS            = 0x0300
ACTIVATEP              = 0x1f64
*ACTIVATEP             = 0x0488
PUTOBJP                = 0x1f67
*PUTOBJP               = 0x06c7
REFLECT_VERTICAL       = 0x1f6a
*REFLECT_VERTICAL      = 0x1d5a
REFLECT_HORIZONTAL     = 0x1f6d
*REFLECT_HORIZONTAL    = 0x1d60
ROTATE_90              = 0x1f70
*ROTATE_90             = 0x1d66
ENLARGE                = 0x1f73
*ENLARGE               = 0x1d6c
CONTROLLER_SCAN        = 0x1f76
*CONTROLLER_SCAN       = 0x114a
DECODER                = 0x1f79
*DECODER               = 0x118b
GAME_OPT               = 0x1f7c
*GAME_OPT              = 0x1979
LOAD_ASCII             = 0x1f7f
*LOAD_ASCII            = 0x1927
FILL_VRAM              = 0x1f82
*FILL_VRAM             = 0x18d4
MODE_1                 = 0x1f85
*MODE_1                = 0x18e9
UPDATE_SPINNER         = 0x1f88
*UPDATE_SPINNER        = 0x116a
INIT_TABLEP            = 0x1f8b
*INIT_TABLEP           = 0x1b0e
GET_VRAMP              = 0x1f8e
*GET_VRAMP             = 0x1b8c
PUT_VRAMP              = 0x1f91
*PUT_VRAMP             = 0x1c10
INIT_SPR_ORDERP        = 0x1f94
*INIT_SPR_ORDERP       = 0x1c5a
WR_SPR_NM_TBLP         = 0x1f97
*WR_SPR_NM_TBLP        = 0x1c76
INIT_TIMERP            = 0x1f9a
*INIT_TIMERP           = 0x0f9a
FREE_SIGNALP           = 0x1f9d
*FREE_SIGNALP          = 0x0fb8
REQUEST_SIGNALP        = 0x1fa0
*REQUEST_SIGNALP       = 0x1044
TEST_SIGNALP           = 0x1fa3
*TEST_SIGNALP          = 0x10bf
WRITE_REGISTERP        = 0x1fa6
*WRITE_REGISTERP       = 0x1cbc
WRITE_VRAMP            = 0x1fa9
*WRITE_VRAMP           = 0x1ced
READ_VRAMP             = 0x1fac
*READ_VRAMP            = 0x1d2a
INIT_WRITERP           = 0x1faf
*INIT_WRITERP          = 0x0655
SOUND_INITP            = 0x1fb2
*SOUND_INITP           = 0x0203
PLAY_ITP               = 0x1fb5
*PLAY_ITP              = 0x0251
INIT_TABLE             = 0x1fb8
*INIT_TABLE            = 0x1b1d
GET_VRAM               = 0x1fbb
*GET_VRAM              = 0x1ba3
PUT_VRAM               = 0x1fbe
*PUT_VRAM              = 0x1c27
INIT_SPR_ORDER         = 0x1fc1
*INIT_SPR_ORDER        = 0x1c66
WR_SPR_NM_TBL          = 0x1fc4
*WR_SPR_NM_TBL         = 0x1c82
INIT_TIMER             = 0x1fc7
*INIT_TIMER            = 0x0faa
FREE_SIGNAL            = 0x1fca
*FREE_SIGNAL           = 0x0fc4
REQUEST_SIGNAL         = 0x1fcd
*REQUEST_SIGNAL        = 0x1053
TEST_SIGNAL            = 0x1fd0
*TEST_SIGNAL           = 0x10cb
TIME_MGR               = 0x1fd3
*TIME_MGR              = 0x0f37
TURN_OFF_SOUND         = 0x1fd6
*TURN_OFF_SOUND        = 0x023b
WRITE_REGISTER         = 0x1fd9
*WRITE_REGISTER        = 0x1cca
READ_REGISTER          = 0x1fdc
*READ_REGISTER         = 0x1d57
WRITE_VRAM             = 0x1fdf
*WRITE_VRAM            = 0x1d01
READ_VRAM              = 0x1fe2
*READ_VRAM             = 0x1d3e
INIT_WRITER            = 0x1fe5
*INIT_WRITER           = 0x0664
WRITER                 = 0x1fe8
*WRITER                = 0x0679
POLLER                 = 0x1feb
*POLLER                = 0x11c1
SOUND_INIT             = 0x1fee
*SOUND_INIT            = 0x0213
PLAY_IT                = 0x1ff1
*PLAY_IT               = 0x025e
SOUND_MAN              = 0x1ff4
*SOUND_MAN             = 0x027f
ACTIVATE               = 0x1ff7
*ACTIVATE              = 0x04a3
PUTOBJ                 = 0x1ffa
*PUTOBJ                = 0x06d8
RAND_GEN               = 0x1ffd
*RAND_GEN              = 0x003b

; GAME CARTRIDGE HEADER
CARTRIDGE              = 0x8000
CARTRIDGE+1            = 0x8001
LOCAL_SPR_TABLE        = 0x8002
LOCAL_SPR_TABLE+1      = 0x8003
SPRITE_ORDER           = 0x8004
SPRITE_ORDER+1         = 0x8005
WORK_BUFFER            = 0x8006
WORK_BUFFER+1          = 0x8007
CONTROLLER_MAP         = 0x8008
CONTROLLER_MAP+1       = 0x8009
START_GAME             = 0x800a
START_GAME+1           = 0x800b
RST_8H_RAM             = 0x800c
RST_10H_RAM            = 0x800f
RST_18H_RAM            = 0x8012
RST_20H_RAM            = 0x8015
RST_28H_RAM            = 0x8018
RST_30H_RAM            = 0x801b
IRQ_INT_VECTOR         = 0x801e
NMI_INT_VECTOR         = 0x8021
GAME_NAME              = 0x8024

; COMPLET OS 7' RAM MAP
PTR_LST_OF_SND_ADDRS   = 0x7020
PTR_LST_OF_SND_ADDRS+1 = 0x7021
PTR_TO_S_ON_0          = 0x7022
PTR_TO_S_ON_0+1        = 0x7023
PTR_TO_S_ON_1          = 0x7024
PTR_TO_S_ON_1+1        = 0x7025
PTR_TO_S_ON_2          = 0x7026
PTR_TO_S_ON_2+1        = 0x7027
PTR_TO_S_ON_3          = 0x7028
PTR_TO_S_ON_3+1        = 0x7029
SAVE_CTRL              = 0x702a
STACK                  = 0x73b9
PARAM_AREA             = 0x73ba
PARAM_AREA+1           = 0x73ba
PARAM_AREA+2           = 0x73ba
PARAM_AREA+3           = 0x73ba
PARAM_AREA+4           = 0x73ba
PARAM_AREA+5           = 0x73bf
TIMER_LENGTH           = 0x73c0
TIMER_LENGTH+1         = 0x73c1
TEST_SIG_NUM           = 0x73c2
VDP_MODE_WORD          = 0x73c3
VDP_MODE_WORD+1        = 0x73c4
VDP_STATUS_BYTE        = 0x73c5
DEFER_WRITES           = 0x73c6
MUX_SPRITES            = 0x73c7
RAND_NUM               = 0x73c8
RAND_NUM+1             = 0x73c9
QUEUE_SIZE             = 0x73ca
QUEUE_HEAD             = 0x73cb
QUEUE_TAIL             = 0x73cc
HEAD_ADDRESS           = 0x73cd
HEAD_ADDRESS+1         = 0x73ce
TAIL_ADDRESS           = 0x73cf
TAIL_ADDRESS+1         = 0x73d0
BUFFER                 = 0x73d1
BUFFER+1               = 0x73d2
TIMER_TABLE_BASE       = 0x73d3
TIMER_TABLE_BASE+1     = 0x73d4
NEXT_TIMER_DATA_BYTE   = 0x73d5
NEXT_TIMER_DATA_BYTE+1 = 0x73d6
DBNCE_BUFF             = 0x73d7
DBNCE_BUFF+0           = 0x73d8
DBNCE_BUFF+1           = 0x73d9
DBNCE_BUFF+2           = 0x73ea
SPIN_SW0_CT            = 0x73eb
SPIN_SW1_CT            = 0x73ec
S0_C0                  = 0x73ee
S0_C1                  = 0x73ef
S1_C0                  = 0x73f0
S1_C1                  = 0x73f1
VRAM_ADDR_TABLE        = 0x73f2
VRAM_ADDR_TABLE+0      = 0x73f3
VRAM_ADDR_TABLE+1      = 0x73f4
VRAM_ADDR_TABLE+2      = 0x73f5
VRAM_ADDR_TABLE+3      = 0x73f6
VRAM_ADDR_TABLE+4      = 0x73f7
VRAM_ADDR_TABLE+5      = 0x73f8
VRAM_ADDR_TABLE+6      = 0x73f9
VRAM_ADDR_TABLE+7      = 0x73fa
VRAM_ADDR_TABLE+8      = 0x73fb
SPRITENAMETBL          = 0x73f2
SPRITENAMETBL+1        = 0x73f3
SPRITEGENTBL           = 0x73f4
SPRITEGENTBL+1         = 0x73f5
PATTERNNAMETBL         = 0x73f6
PATTERNNAMETBL+1       = 0x73f7
PATTERNGENTBL          = 0x73f8
PATTERNGENTBL+1        = 0x73f9
COLORTABLE             = 0x73fa
COLORTABLE+1           = 0x73fb
SAVE_TEMP              = 0x73fc
SAVE_TEMP+1            = 0x73fd
SAVED_COUNT            = 0x73fe
SAVED_COUNT+1          = 0x73ff

; I/O
KEYPAD_ENABLE          = 0xff000080
VDP_DATA               = 0xff0000be
VDP_CTRL               = 0xff0000bf
CONTROLLER_ENABLE      = 0xff0000c0
PORT1                  = 0xff0000fc
PORT2/PSG              = 0xff0000ff
