home *** CD-ROM | disk | FTP | other *** search
/ No Fragments Archive 10: Diskmags / nf_archive_10.iso / MAGS / INC_MAG / INC_1_1.MSA / TEXTS_STE.TXT < prev    next >
Encoding:
Text File  |  1989-12-15  |  12.9 KB  |  325 lines

  1. This is a complete list of all known hardware register on the Atari
  2. ST, including the STE hardware list. It is a tranlsation of a german
  3. article that appered in ST-magazine. We've put (STE) after each new
  4. specific register on the STE. Since we do not have an STE to test
  5. this we're not sure that every thing is correct, if you discover an
  6. error, please let us know.
  7.  
  8.  
  9. -------------
  10. Configuration
  11.  
  12. ff8000 R/W  !------------xxxx!      Memory configuration
  13.                          !!!!
  14.                           --------- Bank 0      Bank 1 (not used)
  15.                          xx00                   128 Kbyte
  16.                          xx01                   512 Kbyte
  17.                          xx10                     2 Mbyte
  18.                          xx11                   Reserved
  19.                          00xx       128 Kbyte
  20.                          01xx       512 Kbyte
  21.                          10xx         2 Mbyte
  22.                          11xx       Reserved
  23.  
  24. -------
  25. Display
  26.  
  27. ff8200 R/W  !--------xxxxxxxx!      Video base high
  28. ff8202 R/W  !--------xxxxxxxx!      Video base mid
  29.  
  30. ff8204 R/W  !----------xxxxxx!      Video adress counter high (STE)
  31. ff8206 R/W  !--------xxxxxxxx!      Video adress counter mid (STE)
  32. ff8208 R/W  !--------xxxxxxx-!      Video adress counter low (STE)
  33.  
  34. The Video adress counter is can now be changed on the spot so be
  35. careful to only change this on VBL interrupts.
  36.  
  37. ff820a R/W          !------xx!      Sync mode
  38.                            !!
  39.                            ! -------      Externl/_internal sync
  40.                             --------      50 Hz/ 60 Hz Field rate
  41.  
  42. ff820c R/W  !--------xxxxxxx-!      Video base low (STE)
  43.  
  44. This register contains low byte of the screen, enables word alignment
  45. of the video base and therefore also smooth vertical scrolling.
  46.  
  47.  
  48. ff820e R/W  !--------xxxxxxxx!      Linewidth (STE)
  49.  
  50. With this you can have an offset added to video adress counter after
  51. a pixelline is displayed.
  52.  
  53. ff8240 R/W  !----032103210321!      Palette color 0/0 (Border)
  54.                  !!!!!!!!!!!!
  55.                   !!! !!! !! --- Inverted/ normal monochrome
  56.                   !!! !!! !!!
  57.                   !!! !!!  ----- Blue
  58.                   !!!  --------- Green
  59.                    ------------- Red
  60.  
  61. The format of 0321 is needed to keep compatible with the standard ST.
  62.  
  63. ff8242 R/W  !----032103210321!      Palette color 1/1
  64. ff8244 R/W  !----032103210321!      Palette color 2/2
  65. ff8246 R/W  !----032103210321!      Palette color 3/3
  66. ff8248 R/W  !----032103210321!      Palette color 4
  67. ff824a R/W  !----032103210321!      Palette color 5
  68. ff824c R/W  !----032103210321!      Palette color 6
  69. ff824e R/W  !----032103210321!      Palette color 7
  70. ff8250 R/W  !----032103210321!      Palette color 8
  71. ff8252 R/W  !----032103210321!      Palette color 9
  72. ff8254 R/W  !----032103210321!      Palette color 10
  73. ff8256 R/W  !----032103210321!      Palette color 11
  74. ff8258 R/W  !----032103210321!      Palette color 12
  75. ff825a R/W  !----032103210321!      Palette color 13
  76. ff825c R/W  !----032103210321!      Palette color 14
  77. ff825e R/W  !----032103210321!      Palette color 15
  78.  
  79. ff8260 R/W          !------xx!      Shift mode
  80.                            !!
  81.                            00       320 x 200, 4 plane
  82.                            01       640 x 200, 2 plane
  83.                            10       640 x 400, 1 plane
  84.                            11       Reserved
  85.  
  86. ff8264 R/W  !------------xxxx!     Horizontal scroll (STE)
  87.  
  88. This determines how many bits the screendisplay will be shifted when
  89. it's displayed, special made for smooth horizontal scrolling together
  90. with a suitable value in register ff820e.
  91.  
  92.  
  93. --------
  94. Reserved
  95.  
  96. ff8400      !----------------!      Reserved
  97.  
  98.  
  99. --------
  100. DMA/Disk
  101.  
  102. ff8600      !----------------!      Reserved
  103. ff8602      !----------------!      Reserved
  104.  
  105. ff8604 R/W  !--------xxxxxxxx!      Disk controller (Word access)
  106. ff8606 R    !-------------xxx!      DMA Status (Word access)
  107.                           !!!
  108.                           !! ---- Error status
  109.                           ! ----- Sector count zero status
  110.                            ------ Data request inact status
  111.  
  112. ff8606 W    !-------xxxxxxxx-!      DMA Mode control (Word access)
  113.                     !!!!!!!!
  114.                     !!!!!!! ---- A0
  115.                     !!!!!! ----- A1
  116.                     !!!!! ------ HDC / FDC register select
  117.                     !!!! ------- Sector count register select
  118.                     !!! -------- 0, Reserved
  119.                     !! --------- Disable / enable DMA
  120.                     ! ---------- FDC / HDC
  121.                      ----------- Write / read
  122.  
  123. ff8609 R/W          !xxxxxxxx!      DMA base and counter high
  124. ff860b R/W          !xxxxxxxx!      DMA base and counter mid
  125. ff860d R/W          !xxxxxxxx!      DMA base and counter low
  126.  
  127.  
  128. -----
  129. Sound
  130.  
  131. ff8800 R            !xxxxxxxx!      PSG read data
  132.                      !!!!!!!!          I/O port B
  133.                       ----------- Parallel interface data
  134. ff8800 W            !xxxxxxxx!      PSG Register select
  135.                          !!!!
  136.                           --------- Register number
  137.                          0000       Channel A fine tune
  138.                          0001       Channel A coarse tune
  139.                          0010       Channel B fine tune
  140.                          0011       Channel B coarse tune
  141.                          0100       Channel C fine tune
  142.                          0101       Channel C coarse tune
  143.                          0110       Noise generator control
  144.                          0111       Mixer control - I/O enabled
  145.                          1000       Channel A amplitude
  146.                          1001       Channel B amplitude
  147.                          1010       Channel C amplitude
  148.                          1011       Envelope period fine tune
  149.                          1100       Envelope period coarse tune
  150.                          1101       I/O port A (output only)
  151.                          1111       I/O port B
  152.  
  153. ff8802 W            !xxxxxxxx!      PSG write data
  154.                      !!!!!!!!         I/O port A
  155.                      !!!!!!! ----- Floppy side 0/1 select
  156.                      !!!!!! ------ Floppy drive 0 select
  157.                      !!!!! ------- Floppy drive 1 select
  158.                      !!!! -------- RS232 request to send
  159.                      !!! --------- RS232 data terminal ready
  160.                      !! ---------- Centronics STROBE
  161.                      ! ----------- General purpose output
  162.                       ------------ Reserved
  163.                      !!!!!!!!         I/P port B
  164.                       ------------ Parallel interface data
  165.  
  166.  
  167. --------------------
  168. Extra joystick ports
  169.  
  170. ff9200 R    !------------xxxx!      Fire 0-3    (STE)
  171.                          !!!!
  172.                          !!! ---- Firebutton joystick 0
  173.                          !! ----- Firebutton joystick 2
  174.                          ! ------ Firebutton joystick 1
  175.                           ------- Firebutton joystick 3
  176. ff9202 R/W  !xxxxxxxxxxxxxxxx!      Joystick 0-3  (STE)
  177.              !!!!!!!!!!!!!!!!
  178.              !!!!!!!!!!!!!!! ---- Joystick 0, right
  179.              !!!!!!!!!!!!!! ----- Joystick 0, left
  180.              !!!!!!!!!!!!! ------ Joystick 0, down
  181.              !!!!!!!!!!!! ------- Joystick 0, up
  182.              !!!!!!!! ----------- Joystick 2, same as above
  183.              !!!! --------------- Joystick 1, same as above
  184.               ------------------- Joystick 3, same as above
  185. Joystick 1 and 3 are the two old ports and 0, 2 are the new ones,
  186. only 0 and 2 can be written to.
  187.  
  188. ff9210 R    !--------xxxxxxxx!      X paddle 0  (STE)
  189. ff9212 R    !--------xxxxxxxx!      Y paddle 0  (STE)
  190. ff9214 R    !--------xxxxxxxx!      X paddle 1  (STE)
  191. ff9216 R    !--------xxxxxxxx!      Y paddle 1  (STE)
  192.  
  193. You can attach two pairs of paddles to the new joyports, giving you a
  194. total of four paddles. Fire is the same as for joystick, trigger for
  195. paddles are in bit 0 and bit 1 of adress ff9202.
  196.  
  197. ff9220 R    !------xxxxxxxxxx!      Light X  (STE)
  198. ff9222 R    !------xxxxxxxxxx!      Light Y  (STE)
  199.  
  200. This is for lightpen or lightgun that can be placed in joystickport 0
  201. . Y cordinate is always exact but X has a lower resolution then the
  202. screen.
  203.             4 pixel in 320x200 mode
  204.             8 pixel in 640x200 mode
  205.            16 pixel in 640x400 mode
  206. Therefore you will also have to multiply the X cordinate result with
  207. 2 or 4 when you are in medium or high resolution.
  208.  
  209.  
  210. ---------
  211. Sound-DMA
  212.  
  213. ff8900 R/W  !-------------xxx!      Sound DMA control  (STE)
  214.                            !!
  215.                             ------
  216.                            00       Sound-DMA turned off
  217.                            01       Sound-DMA on, play and stop
  218.                            10       Sound-DMA on, play and repeat
  219.  
  220. ff8902 R/W  !----------xxxxxx!      Framebase high    (STE)
  221. ff8904 R/W  !--------xxxxxxxx!      Framebase mid     (STE)
  222. ff8906 R/W  !--------xxxxxxx-!      Framebase low     (STE)
  223.  
  224. Start of sample to be played.
  225.  
  226. ff8908 R    !----------xxxxxx!      Frame adress counter high (STE)
  227. ff890a R    !--------xxxxxxxx!      Frame adress counter mid  (STE)
  228. ff890c R    !--------xxxxxxx-!      Frame adress counter low  (STE)
  229.  
  230. ff890e R/W  !----------xxxxxx!      Frame end adress high (STE)
  231. ff8910 R/W  !--------xxxxxxxx!      Frame end adress mid  (STE)
  232. ff8912 R/W  !--------xxxxxxx-!      Frame end adress low  (STE)
  233.  
  234. ff8920 R/W  !--------x-----xx!      Sound mode control    (STE)
  235.                      !     !!
  236.                      !      ------- Sample frequence
  237.                      !      00        6258 Hz
  238.                      !      01       12517 Hz
  239.                      !      10       25033 Hz
  240.                      !      11       50066 Hz
  241.                       ------------- Stereo(0)/Mono(1) mode
  242.  
  243. In stereo the sample frequency is halfed.
  244.  
  245. ff8922 R/W  !xxxxxxxxxxxxxxxx!      Microwire data   (STE)
  246. ff8924 R/W  !xxxxxxxxxxxxxxxx!      Microwire mask   (STE)
  247.  
  248. The Microwire interface allows for future chip expansion, one is
  249. already present. The LMC1992-computer takes care of tone and volume
  250. of DMA sample-sounds. LMC1992 has the device adress of 01. To use it
  251. you must always put $7fff into the mask register.
  252. The command is placed into the dataregister in the following form:
  253.  
  254. -- 01 011 xxx xxx -     Set main volume
  255.           000 000 -     -80 dB
  256.           010 100 -     -40 dB      (2 dB resolution)
  257.           101 000 -     0 dB
  258.  
  259. -- 01 101 -xx xxx -     Set left volume
  260.            00 000 -     -40 dB
  261.            01 010 -     -20 dB      (2 dB resolution)
  262.            10 100 -     0 dB
  263.  
  264. -- 01 100 -xx xxx -     Set right volume
  265.            00 000 -     -40 dB
  266.            01 010 -     -20 dB      (2 dB resolution)
  267.            10 100 -     0 dB
  268.  
  269. -- 01 010 --x xxx -     Set treble
  270.             0 000 -     -12 dB
  271.             0 110 -     0 dB        (2 dB resolution)
  272.             1 100 -     +12 dB
  273.  
  274. -- 01 001 --x xxx -     Set bass
  275.             0 000 -     -12 dB
  276.             0 110 -     0 dB        (2 dB resolution)
  277.             1 100 -     +12 dB
  278.  
  279. -- 01 000 --- -xx -     Define mixing
  280.                00 -     -12 dB
  281.                01 -     Mix with GI sound chip
  282.                10 -     Don't mix with GI sound chip
  283.                11 -     Reserved
  284.  
  285.  
  286. -------
  287. MC68xxx
  288.  
  289. fffa01              !xxxxxxxx!      MFP general purpose I/O
  290. fffa03              !xxxxxxxx!      MFP active edge
  291. fffa05              !xxxxxxxx!      MFP data direction
  292. fffa07              !xxxxxxxx!      MFP interrupt enable A
  293. fffa09              !xxxxxxxx!      MFP interrupt enable B
  294. fffa0b              !xxxxxxxx!      MFP interrupt pending A
  295. fffa0d              !xxxxxxxx!      MFP interrupt pending B
  296. fffa0f              !xxxxxxxx!      MFP interrupt in-service A
  297. fffa11              !xxxxxxxx!      MFP interrupt in-service B
  298. fffa13              !xxxxxxxx!      MFP interrupt mask A
  299. fffa15              !xxxxxxxx!      MFP interrupt mask B
  300. fffa17              !xxxxxxxx!      MFP vector
  301. fffa19              !xxxxxxxx!      MFP timer A control
  302. fffa1b              !xxxxxxxx!      MFP timer B control
  303. fffa1d              !xxxxxxxx!      MFP timers C & D control
  304. fffa1f              !xxxxxxxx!      MFP timer A data
  305. fffa21              !xxxxxxxx!      MFP timer B data
  306. fffa23              !xxxxxxxx!      MFP timer C data
  307. fffa25              !xxxxxxxx!      MFP timer D data
  308. fffa27              !xxxxxxxx!      MFP sync character
  309. fffa29              !xxxxxxxx!      MFP USART control
  310. fffa2b              !xxxxxxxx!      MFP receiver status
  311. fffa2d              !xxxxxxxx!      MFP transmitter status
  312. fffa2d              !xxxxxxxx!      MFP USART data
  313.  
  314.  
  315. ------
  316. MC68xx
  317.  
  318. fffc00              !xxxxxxxx!      Keyboard ACIA control
  319. fffc02              !xxxxxxxx!      Keyboard ACIA data
  320.  
  321. fffc04              !xxxxxxxx!      MIDI ACIA control
  322. fffc06              !xxxxxxxx!      MIDI ACIA data
  323.  
  324.  
  325.