Mapa pamięci Atari 8bit

From Atariki

Revision as of 20:44, 22 lis 2023; view current revision
←Older revision | Newer revision→
Jump to: navigation, search

Zmienne systemowe oraz adresy procedur systemu operacyjnego Atari XL/XE.

Domyślnie przyjęto nazewnictwo występujące w zachodniej literaturze:

  • Atari 400/800 Operating System Source Listing
  • Atari 400/800 Technical Reference Notes

Wszelkie zmiany i odstępstwa występujące w innych publikacjach zaznaczono ze wskazaniem na źródło występowania.

Tablice i zmienne w RAM

Adres Etykieta Opis
$0000 LNZBS
$0001
$0002 CASINI
$0003
$0004 RAMLO
$0005
$0006 TRAMSZ
$0007 TSTDAT
$0008 WARMST
$0009 BOOT?
$000A DOSVEC
$000B
$000C DOSINI
$000D
$000E APPMHI
$000F
$0010 POKMSK
$0011 BRKKEY
$0012 RTCLOK
$0013
$0014
$0015 BUFADR
$0016
$0017 ICCOMT
$0018
$0019
$001A DSKUTL
$001B
$001C PTIMOT
$001D PBPNT
$001E PBUFSZ
$001F PTEMP
$0020-$002F ZIOCB
$0020 ICHIDZ
$0021 ICDNOZ
$0022 ICCOMZ
$0023 ICSTAZ
$0024 ICBALZ, ICBAZ
$0025 ICBAHZ
$0026 ICPTLZ, ICPTZ
$0027 ICPTHZ
$0028 ICBLLZ, ICBLZ
$0029 ICBLHZ
$002A ICAX1Z
$002B ICAX2Z
$002C ICAX3Z, ICSPRZ
$002D ICAX4Z
$002E ICAX5Z, ICIDNO
$002F ICAX6Z, CIOCHR
$0030 STATUS
$0031 CHKSUM
$0032 BUFRLO, BUFR
$0033 BUFRHI
$0034 BFENLO, BFEN
$0035 BFENHI
$0036 CRETRY
$0037 DRETRY
$0038 BUFRFL
$0039 RECVND
$003A XMTDON
$003B CHKSNT
$003C NOCKSM
$003D BPTR
$003E FTYPE
$003F FEOF
$0040 FREQ
$0041 SOUNDR
$0042 CRITIC
$0043-$0049 FMSZPG
$0043 ZBUFP
$0044
$0045 ZDRVA
$0046
$0047 ZSBA
$0048
$0049 ERRNO
$004A CKEY
$004B CASSBT
$004C DSTAT
$004D ATRACT
$004E DRKMSK
$004F COLRSH
$0050 TMPCHR
$0051 HOLD1
$0052 LMARGN
$0053 RMARGN
$0054 ROWCRS
$0055 COLCRS
$0056
$0057 DINDEX
$0058 SAVMSC
$0059
$005A OLDROW
$005B OLDCOL
$005C
$005D OLDCHR
$005E OLDADR
$005F
$0060 NEWROW
$0061 NEWCOL
$0062
$0063 LOGCOL
$0064 ADRESS
$0065
$0066 MLTTMP, OPNTMP, TOADR
$0067
$0068 SAVADR, FRMADR
$0069
$006A RAMTOP
$006B BUFCNT
$006C BUFSTR
$006D
$006E BITMSK
$006F SHFAMT
$0070 ROWAC
$0071
$0072 COLAC
$0073
$0074 ENDPT
$0075
$0076 DELTAR
$0077 DELTAC
$0078
$0079 ROWINC
$007A COLINC
$007B SWPFLG
$007C HOLDCH
$007D INSDAT
$007E COUNTR
$007F
$0080-$00FF obszar użytkownika
$00D4-$00FF zmienne pakietu FP
$00D4-$00D9 FR0
$00DA-$00DF FRE
$00E0-$00E5 FR1
$00E6-$00EB FR2
$00EC FRX
$00ED EEXP
$00EE NSIGN
$00EF ESIGN
$00F0 FCHRFLG
$00F1 DIGRT
$00F2 CIX
$00F3 INBUFF
$00F4
$00F5 ZTEMP1
$00F6
$00F7 ZTEMP4
$00F8
$00F9 ZTEMP3
$00FA
$00FB RADFLG, DEGFLG
$00FC FLPTR
$00FD
$00FE FPTR2
$00FF
$0100-$01FF stos procesora
$0200 VDSLST
$0201
$0202 VPRCED
$0203
$0204 VINTER
$0205
$0206 VBREAK
$0207
$0208 VKEYBD
$0209
$020A VSERIN
$020B
$020C VSEROR
$020D
$020E VSEROC
$020F
$0210 VTIMR1
$0211
$0212 VTIMR2
$0213
$0214 VTIMR4
$0215
$0216 VIMIRQ
$0217
$0218 CDTMV1
$0219
$021A CDTMV2
$021B
$021C CDTMV3
$021D
$021E CDTMV4
$021F
$0220 CDTMV5
$0221
$0222 VVBLKI
$0223
$0224 VVBLKD
$0225
$0226 CDTMA1
$0227
$0228 CDTMA2
$0229
$022A CDTMF3
$022B SRTIMR
$022C CDTMF4
$022D INTEMP
$022E CDTMF5
$022F SDMCTL
$0230 SDLSTL, SDLST
$0231 SDLSTH
$0232 SSKCTL
$0233
$0234 LPENH
$0235 LPENV
$0236
$0237
$0238
$0239
$023A CDEVIC
$023B CCOMND
$023C CAUX1
$023D CAUX2
$023E TEMP
$023F ERRFLG
$0240 DFLAGS
$0241 DBSECT
$0242 BOOTAD
$0243
$0244 COLDST
$0245
$0246 DSKTIM
$0247-$026E LINBUF
$026F GPRIOR
$0270 PADDL0
$0271 PADDL1
$0272 PADDL2
$0273 PADDL3
$0274 PADDL4
$0275 PADDL5
$0276 PADDL6
$0277 PADDL7
$0278 STICK0
$0279 STICK1
$027A STICK2
$027B STICK3
$027C PTRIG0
$027D PTRIG1
$027E PTRIG2
$027F PTRIG3
$0280 PTRIG4
$0281 PTRIG5
$0282 PTRIG6
$0283 PTRIG7
$0284 STRIG0
$0285 STRIG1
$0286 STRIG2
$0287 STRIG3
$0288
$0289 WMODE
$028A BLIM
$028B
$028B
$028C
$028D
$028E
$028F
$0290 TXTROW
$0291 TXTCOL
$0292
$0293 TINDEX
$0294 TXTMSC
$0295
$0296 TXTOLD
$0297
$0298
$0299
$029A
$029B
$029C
$029D HOLD3
$029E SUBTMP
$029F HOLD2
$02A0 DMASK
$02A1 TMPLBT
$02A2 ESCFLG
$02A3 TABMAP
$02A4
$02A5
$02A6
$02A7
$02A8
$02A9
$02AA
$02AB
$02AC
$02AD
$02AE
$02AF
$02B0
$02B1
$02B2 LOGMAP
$02B3
$02B4
$02B5
$02B6 INVFLG
$02B7 FILFLG
$02B8 TMPROW
$02B9 TMPCOL
$02BA
$02BB SCRFLG
$02BC HOLD4
$02BD
$02BE SHFLOK
$02BF BOTSCR
$02C0 PCOLR0
$02C1 PCOLR1
$02C2 PCOLR2
$02C3 PCOLR3
$02C4 COLOR0
$02C5 COLOR1
$02C6 COLOR2
$02C7 COLOR3
$02C8 COLOR4
$02C9
$02CA
$02CB
$02CC
$02CD
$02CE
$02CF
$02D0
$02D1
$02D2
$02D3
$02D4
$02D5
$02D6
$02D7
$02D8
$02D9
$02DA
$02DB
$02DC
$02DD
$02DE
$02DF
$02E0
$02E1
$02E2
$02E3
$02E4 RAMSIZ
$02E5 MEMTOP
$02E6
$02E7 MEMLO
$02E8
$02E9
$02EA DVSTAT
$02EB
$02EC
$02ED
$02EE CBAUDL, CBAUD
$02EF CBAUDH
$02F0 CRSINH
$02F1 KEYDEL
$02F2 CH1
$02F3 CHACT
$02F4 CHBAS
$02F5
$02F6
$02F7
$02F8
$02F9
$02FA CHAR
$02FB ATACHR
$02FC CH
$02FD FILDAT
$02FE DSPFLG
$02FF SSFLAG
$0300-$030B DCB Device Control Block
$0300 DDEVIC
$0301 DUNIT
$0302 DCOMND
$0303 DSTATS
$0304 DBUFLO, DBUF
$0305 DBUFHI
$0306 DTIMLO
$0307
$0308 DBYTLO, DBYT
$0309 DBYTHI
$030A DAUX1
$030B DAUX2
$030C TIMER1
$030D
$030E ADDCOR
$030F CASFLG
$0310 TIMER2
$0311
$0312 TEMP1
$0313
$0314
$0315 TEMP3
$0316 SAVIO
$0317 TIMFLG
$0318 STACKP
$0319 TSTAT
$031A-$033F HATABS tablica handlerów urządzeń
$031A-$031C P:
$031D-$031F C:
$0320-$0322 E:
$0323-$0325 S:
$0326-$0328 K:
$0329-$032B wolny
$032C-$032E wolny
$032F-$0331 wolny
$0332-$0334 wolny
$0335-$0337 wolny
$0338-$033A wolny
$033B-$033D wolny
$033E-$033F
$0340-$03BF IOCB Input/Output Control Block
$0340 ICHID
$0341 ICDNO
$0342 ICCOM
$0343 ICSTA
$0344 ICBAL, ICBA
$0345 ICBAH
$0346 ICPTL, ICPT
$0347 ICPTH
$0348 ICBLL, ICBL
$0349 ICBLH
$034A ICAX1
$034B ICAX2
$034C ICAX3, ICSPR
$034D ICAX4
$034E ICAX5
$034F ICAX6
$0340-$034F IOCB0 IOCB #0
$0350-$035F IOCB1 IOCB #1
$0360-$036F IOCB2 IOCB #2
$0370-$037F IOCB3 IOCB #3
$0380-$038F IOCB4 IOCB #4
$0390-$039F IOCB5 IOCB #5
$03A0-$03AF IOCB6 IOCB #6
$03B0-$03BF IOCB7 IOCB #7
$03C0-$03E7 PRNBUF bufor drukarki
$03E8-$03FC
$03FD-$047F CASBUF bufor magnetofonu
$03FD CSCB
$03FE
$03FF CRCB
$047F CASBEN
$0480-$06FF obszar użytkownika
$057E LBPR1, LBUFF2
$057F LBPR2
$0580-$05DF LBUFF
$05E0-$05E5 PLYARG
$05E6-$05EB FPSCR, FSCR
$05EC-$05F1 FPSCR1, SCR1
$05FF LBFEND

Procedury i stałe w ROM

Adres Etykieta Opis
$D800 AFP
$D8E6 FASC
$D9AA IFP
$D9D2 FPI
$DA44 ZFR0
$DA46 ZFR1
$DA60 FSUB
$DA66 FADD
$DADB FMUL
$DB28 FDIV
$DD40 PLYEVL
$DD89 FLD0R
$DD8D FLD0P
$DD98 FLD1R
$DD9C FLD1P
$DDA7 FST0R
$DDAB FST0P
$DDB6 FMOVE
$DDC0 EXP
$DDCC EXP10
$DECD LOG
$DED1 LOG10
$E000 CHRORG
$E400 VECTBL
$E400 EDITRV
$E410 SCRENV
$E420 KEYBDV
$E430 PRINTV
$E440 CASETV
$E450 DISKIV
$E453 DSKINV
$E456 CIOV
$E459 SIOV
$E45C SETVBV
$E45F SYSVBV
$E462 XITVBV
$E465 SIOINV
$E468 SENDEV
$E46B INTINV
$E46E CIOINV
$E471 BLKBDV
$E474 WARMSV
$E477 COLDSV
$E47A RBLOKV
$E47D CSOPIV
$FFFA NMI
$FFFC RESET
$FFFE IRQ
Personal tools