Appendix A


Atari Memory Locations

Ronald Marcuse

DEC ADDRHEX ADDRLABELDESCRIP
00014000DAPPMHIBASIC HIGHEST LOC- LSB
00015000EAPPMHIBASIC HIGHEST LOC- MSB
000160010POKMSKOS INTERUPT RED ENABLE
000180112RTCLOKTV FRAME CNTR- LSB
000190013RTCLOKTV FRAME CNTR- NSB
000200014RTCLOKTV FRAME CNTR- MSB
000650041SOUNDRNOISY I/O FLAG (0=QUIET)
00077004DATTRMODATTRACT MODE FLAG, 128=YES
000820052LMARGINLEFT SCREEN MARGIN
000830053RMARGINRIGHT SCREEN MARGIN
000840054ROWCRSCUR CURSOR ROW, GR WINDOW
000850055COLCRSCUR CURSOR COL. GR LSB
000860056COLCRSCUR CURSOR COL. GR MSB
00090005AOLDROWPREV CURSOR ROW GR WIND
00091005BOLDCOLPREV CURSOR COL. GR LSB
00092005COLDCOLPREV CURSOR COL. GR MSB
00093005DDATCURSDATA UNDER CURS. DR/MD 0
000960060NEWROWCURSOR ROW FOR DRAWTO
000970061NEWCOLCURSOR COL FOR DRAWTO LSB
000980062NEWCOLCURSOR COL FOR DRAWTO MSB
00106006ARAMTOPTOP OF MEMORY, # OF PAGES
001280080LOMEMBASIC LOW MEMORY PNTR LSB
001290081LOMEMBASIC LOW MEMORY PNTR MSB
001440090MEMTOPBASIC MEMORY TOP PNTR LSB
001450091MEMTOPBASIC MEMORY TOP PNTR MSB
0018600BASTOPLN1st HALF STOP/TRAP LINE #
00187008BSTOPLN2nd HALF STOP/TRAP LINE #
0019500C3ERRSAVERROR NUMBER
0020100C9PTABWPRINT TAB WIDTH (DEF 10)
0021200D4FROLOW BYTE VAL, USR FUNC
0021300D5FROHIGH BYTE VAL, USR FUNC
0025100FBRADFLGRAD/DEG FLAG 0-RAD,6-DEG
00559022FSDMCTLOS DIRECT MEM ACCESS CON
005600230SDLSTLOS DISPLAY LIST PNTR LSD
005610231SDLSTHOS DISPLAY LIST PNTR MSB
005620232SSKCTLOS SERIAL PORT CONTROL
005640234LPENHLIGHT PEN HORIZ VAL
005650235LPENVLIGHT PEN VERTICAL VAL
005800244SYSRESSYS RESET, COLD START >0
00623026FGPRIORPRIORITY SELECT (OS)
006240270PADDL0PADDLE 0
006250271PADDL1PADDLE 1
006260272PADDL2PADDLE 2
006270273PADDL3PADDLE 3
006280274PADDL4PADDLE 4
006290275PADDL5PADDLE 5
006300276PADDL6PADDLE 6
006310277PADDL7PADDLE 7
006320278STICK0JOYSTICK 0
006330279STICK1JOYSTICK 1
00634027ASTICK2JOYSTICK 2
00635027BSTICK3JOYSTICK 3
006440284STRIG0JOYSTICK TRIG 0
006450285STRIG1JOYSTICK TRIG 1
006460286STRIG2JOYSTICK TRIG 2
006470287STRIG3JOYSTICK TRIG 3
006560290TXTROWCURSOR ROW., TEXT WINDOW
006570291TXTCOLCURSOR COL., TEXT 1st HALF
006580292TXTCOLCURSOR COL., TEXT 2nd HALF
0070402C0PCOLR0OS PLAYER-MISSILE 0 COLOR
0070502C1PCOLR1OS PLAYER-MISSILE 1 COLOR
0070602C2PCOLR2OS PLAYER-MISSILE 2 COLOR
0070702C3PCOLR3OS PLAYER-MISSILE 3 COLOR
0070802C4COLOR0COLOR REGISTER 0
0070902C5COLOR1COLOR REGISTER 1
0071002C6COLOR2COLOR REGISTER 2
0071102C7COLOR3COLOR REGISTER 3
0071202C8COLOR4COLOR REGISTER 4
0074102E5MEMTDPOS MEMORY TOP POINTER LSB
0074202E6MEMTOPOS MEMORY TOP POINTER MSB
0074302E7MEMLOOS LOW MEMORY POINTER LSD
0074402E8MEMLOOS LOW MEMORY POINTER MSB
0075202F0CRSINHCURSOR INHIBIT 0-ON,1-OFF
0075502F3CHACTCHAR REG 1-BL,2-NOR.4-^
0075602F4CHBASCHAR BASE 224-UP. 226-low
0076702FBATACHRLAST ATASCII CHAR
0079402FCCHLAST KEY HIT, 255 CLEARS
0076502FDFILDATGR. FILL DATA (X10)
0076602FEDSPFLGDISPLAY FLAG 1=DIS CON CH
0076702FFSSFLAGSTART/STOP PAGING (CON/1)
00794031AHATABSHANDLER ADDR TBL.3 BY/HND
008320340IOCBIO CON BLOCKS,16 BYT/IOCB
53248D000HPOSP0HORIZ POS, PLAYER 0
53248D000MOPFMIS 0 - PLAYFIELD COLLIS
53249D001HPOSP1HORIZ POS, PLAYER 1
53249D001M1PFMIS 1 - PLAYFIELD COLLIS
53250D002HPOSP2HORIZ POS, PLAYER 2
53250D002M2PFMIS 2 - PLAYFIELD COLLIS
53251D003HPOSP3HORIZ POS, PLAYER 3
53251D003M3PFMIS 3 - PLAYFIELD COLLIS
53252D004HPOSM0HORIZ P0S, MISSILE 0
53252D004P0PFPLAY 0 - PLAYFIELD COLLIS
53253D005HP0SM1HORIZ P0S, MISSILE 1
53253D005P1PFPLAY 1 - PLAYFIELD COLLIS
53254D006HPOSM2HORIZ POS, MISSILE 2
53254D006P2PFPLAY 2 - PLAYFIELD COLLIS
53255D007HPOSM3HORIZ POS, MISSILE 3
53255D007P3PFPLAY 3 - PLAYFIELD COLLIS
53256D008M0PLMIS 0 - PLAYER COLLISION
53256D008SIZEP0SIZE- PLAYER 0
53257D009M1PLMIS 1 - PLAYER COLLISION
53257D009SIZEP1SIZE- PLAYER 1
53258D00AM2PLMIS 2 - PLAYER COLLISION
53258D00ASIZEP2SIZE- PLAYER 2
53259D00BM3PLMIS 3 - PLAYER COLLISION
53259D00BSIZEP3SIZE- PLAYER 3
53260D00CP0PLPLAY 0 - PLAYER COLLISION
53260D00CSIZEMSIZES FOR ALL MISSILES
53261D00DP1PLPLAY 1 - PLAYER COLLISION
53261D00DGRAFP0GRAPHICS, PLAYER 0
53262D00EGRAFP1GRAPHICS, PLAYER 1
53262D00EP2PLPLAY 2 - PLAYER COLLISION
53263D00FGRAFP2GRAPHICS, PLAYER 2
53263D00FP3PLPLAY 3 - PLAYER COLLISION
53264D010GRAFP3GRAPHICS, PLAYER 3
53264D010TRIG0JOYSTICK TRIGGER 0
53265D011GRAFMGRAPHICS, ALL MISSILES
53265D011TRIG1JOYSTICK TRIG 1
53266D012COLPM0PLAYER-MISSILE 0 COLOR
57266D012TRIG2JOYSTICK TRIG 2
53267D013COLPM1PLAYER-MISSILE 1 COLOR
53267D013TRIG3JOYSTICK TRIG 3
53268D014PALPAL/NTSC INDICATOR
53268D014COLPM2PLAYER-MISSILE 2 COLOR
53269D015COLPM3PLAYER-MISSILE 3 COLOR
53270D016COLPF0PLAYFIELD 0 COLOR
53271D017COLPF1PLAYFIELD 1 COLOR
53272D018COLPF2PLAYFIELD 2 COLOR
53273D019COLPF3PLAYFIELD 3 COLOR
53274D01ACOLBKBACKGRND COLOR
57275D01BPRIORPRIORITY SELECT
53277D01DGRACTLGRAPHIC CONTROL
53278D01EHITCLRCOLLISION CLEAR
53279D01FCONSOLCONSOLE SWITCHES
53760D200POT0POT 0
53760D200AUDF1AUDIO CHANNEL 1 FREQ
53761D201AUDC1AUDIO CHANNEL 1 CONTROL
53761D201POT1POT 1
53762D202AUDF2AUDIO CHANNEL 2 FREQ
53762D202POT2POT 2
53763D203POT3POT 3
53763D203AUDC2AUDIO CHANNEL 2 CONTROL
53764D204AUDF3AUDIO CHANNEL 3 FREQ
53764D204POT4POT 4
53765D205POT5POT 5
53765D205AUDC3AUDIO CHANNEL 3 CONTROL
53766D206POT6?POT 6
53766D206AUDF4AUDIO CHANNEL 4 FREQ
53767D207POT7POT 7
53767D207AUDC4AUDIO CHANNEL 4 CONTROL
53768D208AUDCTLAUDIO CONTROL
53768D208ALLPOTLINE POT PORT ST,READ 8
53769D209KBCODELAST KEY (INTERNAL CODE)
53769D209STIMERSTART TIMER
53770D20ARANDOMRANDOM NUMBER GENERATOR
53770D20ASKRESTSERIAL PORT STATUS RESET
53771D20BPOTGOSTART PORT SCAN SEQUENCE
53773D20DSEROUTSERIAL PORT OUTPUT
53774D20ESERINSERIAL PORT INPUT
53774D20EIRQSTINTERUPT REQUEST STATUS
53774D20EIRQENINTERRUPT REQUEST ENABLE
53775D20FSKSTATSERIAL PORT STATUS
53775D20FSKCTLSERIAL PORT CONTROL REG
54016D300PORTAPIA CON JACK I/O (A> $3C
54017D301PORTBPIA CON JACK I/O (A) $3C
54018D302PACTLPORT A CONTROL REG
54019D303PBCTLPORT B CONTROL REGISTER
54272D400DMACTLDIRECT MEM ACCESS CON
54273D401CHACTLCHARACTER CONTROL
54274D402DLISTLDISPLAY LIST POINTER LSB
54275D403DLISTHDISPLAY LIST POINTER MSB
54276D404HSCROLHORIZONTAL SCROLL
54276D01CVDELAYVERTICAL DELAY
54277D405VSCROLVERTICAL SCROLL
54279D407PMBASEPLAYER MISSILE BASE ADR
54281D409CHBASECHARACTER BASE ADR
54282D40AWSYNCWAIT FOR HORIZ SYNC
54283D40BVCOUNTVERTICAL LINE CNTR
54284D40CPENHLIGHT PEN HORIZ VAL
54285D40DPENVLIGHT PEN VERTICAL POS
54286D40ENMIENNON-MASK INTERUPT ENABLE
54287D40FNMIRESNON-MASK INTERUPT RESET


Return to Table of Contents | Previous Section | Next Section