home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / programm.ing / memmap.arc / MEMMAPST.TXT
Encoding:
Text File  |  1985-11-20  |  6.0 KB  |  126 lines

  1.  
  2.                        ATARI 520 ST MEMORY MAP
  3.  
  4.  FF8000-FFFFFF                         I/O ASSIGNMENTS
  5.  
  6.  FFFC06                            6580 ACIA #2 (MIDI)
  7.  FFFC00                            MFP 68901 Peripheral Controller
  8.  FF8800                            YM2149 (AY-3-8910) Sound
  9.  FF8600                            3H-2130 DMA/FDC
  10.  FF8400                            RESERVED
  11.  FF8200                            2H-2123 Video Controller
  12.  FF8000                            Data Configuration
  13.  
  14.  FF0000-FF7FFF                     UNUSED
  15.  FC0000-FEFFFF                     192K System Rom
  16.  FA0000-FBFFFF                     128K Expansion Cartridge
  17.  080000-F9FFFF                     UNUSED
  18.  000000-07FFFF                     512K RAM
  19.  078300-07FFFF                     32K Video Memory
  20.  
  21.  
  22.  
  23.  
  24.  00242eW                           YX Postion of mouse
  25.  00241eW                           Y position of mouse
  26.  00241cW                           X position of mouse
  27.  002418B                           Left/Right mouse buttons
  28.  
  29.                                    SYSTEM VARIABLES
  30.  
  31.  0004c4                            _drvbits = 3 if floppies
  32.  0004bc                            _hz_200 = 200 Hz timer tick
  33.  0004b4                            buf1 (2 buffer-list pointers)
  34.  0004a6W                           _nflops = 0,1, or 2 floppies
  35.  0004a2                            savptr
  36.  00049ew                           _____md  (for GEMDOS)
  37.  00048e                            themd
  38.  000484B                           conterm  attribute bits
  39.                                    # 0 enable keyclick
  40.                                    # 1 enable key-repeat
  41.                                    # 2 enable bell on ^G
  42.  000482W                           _cadload
  43.  00047e                            hdv_mediach (h.disk media cha)
  44.  00047a                            hdv_boot (to boot from h.disk)
  45.  000476                            hdv_rw (h.disk read/write)
  46.  000472                            hdv_bpb (h.disk bios param bl)
  47.  00046e                            hdv_dsb (h.disk state block)
  48.  00046a                            hdv_init (h.disk initialize)
  49.  000466                            _frclock (vert. blank count)
  50.  000462                            _vbclock (vert/bl/int/count)
  51.  00045e                            screenpt nextptr b/screen mem
  52.  00045a                            colorptr pointer to pallette
  53.  000456                            _vblqueue pointer to vblank
  54.  000454W                           nvbls number of pointers " "
  55.  000452W                           vblsem vert/blank semaphore
  56.  00044e                            _v_bas_ad  ptr base screen mem
  57.  00044cW                           sshiftmd  shadow for shiftmd
  58.                                    =0 320x200x4 (low res)
  59.                                    =1 640x200x2 (med res)
  60.                                    =2 640x400x1 (hi res mono)
  61.  00044aB                           defshiftmd default video res
  62.  000448W                           palmode=0 NTSC, =1 PAL video
  63.  000446W                           _bootdev  device # booted from
  64.  000444W                           _fverify  floppy verify flag
  65.  000442W                           _timr_ms  =$14=20d (50Hz)
  66.  000440W                           seekrate default floppy seek
  67.                                    =0 6ms, =1 12ms,
  68.                                    =2 2ms, =3  3ms (default)
  69.  00043a                            memval2 = $237698aa
  70.  000436                            _memtop top of available mem
  71.  000432                            _membot bottom of "       "
  72.  00043a                            memval2 = $237698aa
  73.  000436                            _memtop top of available mem
  74.  000432                            _membot bottom of "       "
  75.  00042e                            phystop physical top of RAM
  76.  00042a                            resvector reset bailout vector
  77.  000426                            resvalid = $31415926
  78.  000424B                           memcntlr memory configuration
  79.                                    =0 256K, =4 512K
  80.                                    =5 1024K (2 banks)
  81.  000420                            memvalid = $752019f3
  82.  00040c                            etv_xtra log.vectors $103-107
  83.  000408                            etv_term process/term $102
  84.  000404                            etv_critic critcal/err $101
  85.  000400                            etv_timer timer handoff $100
  86.  
  87. All addresses are for longwords (32 bits)
  88. unless suffixed with W (word=16bits) or
  89. B (byte=8bits).
  90.  
  91.                                    VECTORS
  92.   000000-00003ff                   Exception Vectors
  93.   000100-0003ff                    192 User-Defined Vectors
  94.   0000c0-0000ff                    Unassigned, Reserved
  95.   000080-0000bf                    Trap #0-15 Instr Vectors
  96.   000064-00007f                    Level 1-7 Interr Vectors
  97.   000060                           Spurious Interrupt
  98.   000030-00005f                    Unassigned, Reserved
  99.   00002c                           Opcode 1111 Emulation
  100.   000028                           Opcode 1010 Emulation
  101.   000024                           Vector 9 - Trace
  102.   000020                           Vector 8 - Privilege Violation
  103.   00001c                           Vector 7 - TRAPV instruction
  104.   000018                           Vector 6 - CHK instruction
  105.   000014                           Vector 5 - Divide by Zero
  106.   000010                           Vector 4 - Illegal Instruction
  107.   00000c                           Vector 3 - Address Error
  108.   000008                           Vector 2 - Bus Error
  109.   000004                           Reset-Initial Program Counter
  110.   000000                           Reset-Initial Stack Pointer
  111.  
  112.  
  113.   Comment.........
  114.  
  115.     Note that ROM Addresses are at TOP of 68000 Memory to allow 
  116.     user RAM of approx 15.75 Meg.
  117.  
  118.     Note screen RAM (32K) resides at 480K to 512K in memory. Right
  119.     smack in the middle of RAM huh !
  120.  
  121.     Note I/O & Devices are also at TOP of Memory.
  122.  
  123.     ABUSE ST BBS 817 634-7480 300/1200/2400 60+ megs
  124.  
  125.  
  126.  
  127. E