home *** CD-ROM | disk | FTP | other *** search
/ Vectronix 2 / VECTRONIX2.iso / FILES_03 / JAG_DOX.ZIP / memorymap.txt < prev    next >
Text File  |  1996-01-28  |  16KB  |  451 lines

  1. # -------------------------------------------------------------------
  2. # MEMORY MAP                            (c) Copyright 1996 Nat! & KKP
  3. # -------------------------------------------------------------------
  4. # These are some of the results/guesses that Klaus and Nat! found
  5. # out about the Jaguar with a few helpful hints by other people, 
  6. # who'd prefer to remain anonymous. 
  7. #
  8. # Since we are not under NDA or anything from Atari we feel free to 
  9. # give this to you for educational purposes only.
  10. #
  11. # Please note, that this is not official documentation from Atari
  12. # or derived work thereof (both of us have never seen the Atari docs)
  13. # and Atari isn't connected with this in any way.
  14. #
  15. # Please use this informationphile as a starting point for your own
  16. # exploration and not as a reference. If you find anything innacurate,
  17. # missing, needing more explanation etc. by all means please write
  18. # to us:
  19. #      nat@zumdick.rhein-main.de
  20. # or
  21. #      kkp@gamma.dou.dk
  22. #
  23. # If you could do us a small favor, don't use this information for
  24. # those lame flamewars on r.g.v.a or the mailing list.
  25. #
  26. # HTML soon ?
  27. # -------------------------------------------------------------------
  28. Very incomplete and very buggy! The main memory map is probably bullshit.
  29.  
  30. Hmm, fabulous ASCII art again :)
  31.  
  32. Interesting enough is that all addresses in the Jaguar are accessible.
  33. Even if there's no memory 'behind' the address, you will not be 
  34. buserrored. This is probably a wise decision, making the running programs
  35. more stable.
  36.  
  37. Hopefully you have some 68000 docs lying around, because the low memory
  38. usage is just the same as on a 68000 in terms of vectors and the like.
  39.  
  40.  
  41.  
  42. General Jaguar Memory Model:
  43. ===========================
  44.  
  45. $000000  +------------------------+ 
  46.          |                        | 
  47.          |          RAM           | 
  48.          |                        | $1FFFFF 
  49. $200000  +------------------------+ 
  50.          |         shadow         | 
  51.          |   of $000000-$1FFFFF   | 
  52.          |          RAM           | $3FFFFF
  53. $400000  +------------------------+ 
  54.          .                        .
  55.          .           ...          .
  56.          .                        .
  57.          .                        . $7FFFFF
  58. $800000  +------------------------+ 
  59.          |                        |
  60.          |          ROM           |
  61.          |                        | $DFFFFF
  62. $E00000  +------------------------+
  63.          |                        |
  64.          |       BOOT-(EP)ROM     |    ????
  65.          |                        |
  66. $F00000  +------------------------+
  67.          |           TOM          |
  68.          |------------------------+
  69. $F10000  |          JERRY         |
  70.          +------------------------+ $F1FFFF
  71.          .                        .
  72.          .           ...          .     ????
  73.          .                        .
  74.          ..........................
  75.       
  76.  
  77.  
  78. TOM in more detail:
  79. ==================
  80.          
  81. $F00000  +-------------------------+
  82.          |   Memory Configuration  | $F00003
  83. $F00004  +-------------------------+
  84.          |        Object           |
  85.          |       Processor         | $F00027
  86. $F00028  +-------------------------+
  87.          |                         |
  88.          |      Video Chip         |
  89.          |                         | $F000DF
  90. $F000E0  +-------------------------+
  91.          |       IRQ Control       | $F000E3
  92. $F000E4  +-------------------------+
  93.          .           ...           . $F003FF
  94. $F00400  +-------------------------+
  95.          |                         |             
  96.          |    Color Lookup Table   |
  97.          |                         | $F007FF             
  98. $F00800  +-------------------------+
  99.          |                         |
  100.          |                         |
  101.          |      Linebuffer  0      |
  102.          |                         |
  103.          |                         | $F00FFF
  104. $F01000  +-------------------------+         
  105.          |                         |
  106.          |                         |
  107.          |      Linebuffer  1      |
  108.          |                         |
  109.          |                         | $F017FF
  110. $F01800  +-------------------------+
  111.          |                         |            probably Linebuffer 0 and 1
  112.          |                         |            get mapped to this address
  113.          |    Current Linebuffer   |            when they are active
  114.          |                         |
  115.          |                         | $F01FFF
  116. $F02000  +-------------------------+
  117.          .           ...           . $F020FF
  118. $F02100  +-------------------------+
  119.          |                         |
  120.          |       GPU Control       |
  121.          |                         | $F0211F
  122. $F02120  +-------------------------+
  123.          .           ...           . $F021FF
  124. $F02200  +-------------------------+
  125.          |                         |
  126.          |        Blitter          |
  127.          |                         | $F0229F
  128. $F022A0  +-------------------------+
  129.          .           ...           . $F02FFF
  130. $F03000  +-------------------------+
  131.          |                         |
  132.          |                         |
  133.          |      4 KB  GPU RAM      |
  134.          |                         |
  135.          |                         | $F03FFF
  136. $F04000  +-------------------------+
  137.          .           ...           .
  138.          ........................... $F0FFFF
  139.  
  140.  
  141.  
  142. Jerry in more detail:
  143. ====================
  144.        
  145. $F10000  ...........................
  146.          .           ...           . $F1000F
  147. $F10010  +-------------------------+
  148.          |   Clock Configuration   | $F10015
  149. $F10016  +-------------------------+
  150.          .                         .
  151.          .           ...           .
  152.          .                         . $F13FFF
  153. $F14000  +-------------------------+
  154.          |    Joystick/Config      | $F14003
  155. $F14004  +-------------------------+
  156.          .                         .
  157.          .           ...           .
  158.          .                         . $F1A0FF
  159. $F1A100  +-------------------------+
  160.          |        DSP Control      | $F1A11F
  161. $F1A120  +-------------------------+
  162.          .           ...           . $F1A147
  163. $F1A148  +-------------------------+
  164.          |         DAC / SSI       | $F1A157
  165. $F1A158  +-------------------------+
  166.          .                         .        
  167.          .           ...           .
  168.          .                         .
  169. $F1B000  +-------------------------+
  170.          |                         |
  171.          |                         |
  172.          |      8 KB  DSP RAM      |
  173.          |                         |
  174.          |                         | $F1CFFF
  175. $F1D000  +-------------------------+
  176.          |     Triangle Waveform   | $F1D1FF
  177. $F1D200  +-------------------------+
  178.          |       Sine Waveform     | $F1D3FF
  179. $F1D400  +-------------------------+
  180.          |  Another Sine Waveform  | $F1D5FF
  181. $F1D600  +-------------------------+
  182.          |  sin( x) + sin( x + x)  | $F1D7FF
  183. $F1D800  +-------------------------+
  184.          |       Sweep waveform    | $F1D9FF
  185. $F1DA00  +-------------------------+
  186.          |   Triangle with Noise   | $F1DBFF
  187. $F1DC00  +-------------------------+
  188.          |       Positive Spike    | $F1DDFF
  189. $F1DE00  +-------------------------+
  190.          |            Noise        | $F1DFFF
  191. $F1E000  +-------------------------+
  192.          .           ...           .
  193.          ........................... $F1FFFF
  194.  
  195.  
  196.  
  197.  
  198. Memory Configuration:
  199. =-=-=-=-=-=-=-=-=-=-=
  200.  
  201. $F00000  +------------+
  202.          |   MEMCON1  | $F00001
  203. $F00002  +------------+
  204.          |   MEMCON2  | $F00003
  205.          +------------+
  206.  
  207.  
  208. Object Processor:
  209. =-=-=-=-=-=-=-=-=
  210.  
  211. $F00004  +------------+
  212.          |   Hor Cnt  | $F00005     Horizontal beam position
  213. $F00006  +------------+
  214.          |   Ver Cnt  | $F00007     Vertical beam position
  215. $F00008  +------------+
  216.          |   Hor Pen  | $F00009     Lightpen hor position
  217. $F0000A  +------------+
  218.          |   Ver Pen  | $F0000B     Lightpen ver position
  219.          +------------+
  220.          
  221. $F00010  +---------------------------------------------------+
  222.          |               Curent object phrase                | $F00017
  223.          +---------------------------------------------------+
  224.  
  225. $F00020  +-------------------------+
  226.          |     OP-List pointer     | $F00023     Pointer to the Objectlist
  227. $F00024  +-------------------------+
  228.          |   Data pointer / Flag   | $F00027     Internal pointer, OP flag
  229.          +-------------------------+
  230.  
  231.  
  232. The Video Chip :
  233. =-=-=-=-=-=-=-=
  234.  
  235. $F00028  +-------------+
  236.          |  Video Mode |  $F00029    Bordercolor Red+Green
  237. $F0002A  +-------------+-----------+
  238.          |        Border RGB       | $F0002D    Red Green X Blue
  239. $F0002E  +-------------------------+
  240.          | hor period  | $F0002F
  241. $F00030  +-------------+
  242.          |  HBL start  | $F00031    horuizontal blanking start
  243. $F00032  +-------------+
  244.          |  HBL end    | $F00033    horizontal blanking end
  245. $F00034  +-------------+
  246.          |  hor sync   | $F00035
  247. $F00036  +-------------+
  248.          | hor/ver sync| $F00037
  249. $F00038  +-------------+
  250.          | disp strt1  | $F00039
  251. $F0003A  +-------------+
  252.          | disp strt2  | $F0003B
  253. $F0003C  +-------------+
  254.          |  disp end   | $F0003D
  255. $F0003E  +-------------+
  256.          | ver period  | $F0003F
  257. $F00040  +-------------+
  258.          |  VBL start  | $F00041
  259. $F00042  +-------------+
  260.          |  VBL end    | $F00043
  261. $F00044  +-------------+
  262.          |  ver sync   | $F00045
  263. $F00046  +-------------+
  264.          | v disp start| $F00047
  265. $F00048  +-------------+
  266.          | v disp end  | $F00049
  267. $F0004A  +-------------+
  268.          | v equ begin | $F0004B
  269. $F0004C  +-------------+
  270.          |  v equ end  | $F0004D
  271. $F0004E  +-------------+
  272.          |   vert IRQ  | $F0004F
  273. $F00050  +-------------+
  274.          |   Timer Lo  | $F00051
  275. $F00052  +-------------+
  276.          |   Timer Hi  | $F00053
  277. $F00054  +-------------+
  278.          |  h equ end  | $F00055
  279. $F00056  +-------------+
  280.          |    unused   | $F00057
  281. $F00058  +-------------+-------------+
  282.          |          BKG Color        | $F0005B  initializes the linebuffers
  283.          +---------------------------+
  284.  
  285.  
  286. TOM Interrupt control:
  287. =-=-=-=-=-=-=-=-=-=-=
  288.  
  289. $F000E0  +------------+
  290.          |    INT1    | $F000E1
  291. $F000E2  +------------+
  292.          |    INT2    | $F000E3
  293.          +------------+
  294.  
  295.  
  296. GPU Control:
  297. =-=-=-=-=-=
  298.  
  299. $F02100  +-------------------------+
  300.          |        GPU Flags        | $F02103
  301. $F02104  +-------------------------+
  302.          |       Matrix Control    | $F02107
  303. $F02108  +-------------------------+
  304.          |   Pointer to Matrix     | $F0210B
  305. $F0210C  +-------------------------+
  306.          |    Data Organization    | $F0210F
  307. $F02110  +-------------------------+
  308.          |         GPU PC          | $F02113
  309. $F02114  +-------------------------+
  310.          |   GPU Control + Status  | $F02117
  311. $F02118  +-------------------------+
  312.          |   High 32bit of phrase  | $F0211B
  313. $F0211C  +-------------------------+
  314.          |  Div remainder/control  | $F0211F
  315.          +-------------------------+
  316.  
  317.  
  318. Blitter:
  319. =-=-=-=
  320.  
  321. $F02200  +-------------------------+
  322.          |      A1 Datapointer     | $F02203
  323. $F02204  +-------------------------+
  324.          |         A1 FLAGS        | $F02207
  325. $F02208  +-------------------------+
  326.          |         A1 CLIP         | $F0220B
  327. $F0220C  +-------------------------+
  328.          |         A1 PIXEL        | $F0220F
  329. $F02210  +-------------------------+
  330.          |         A1 STEP         | $F02213
  331. $F02214  +-------------------------+
  332.          |         A1 FSTEP        | $F02217
  333. $F02218  +-------------------------+
  334.          |         A1 FPIXEL       | $F0221B
  335. $F0221C  +-------------------------+
  336.          |         A1 INC          | $F0221F
  337. $F02220  +-------------------------+
  338.          |         A1 FINC         | $F02223
  339.          +-------------------------+
  340.  
  341. $F02224  +-------------------------+
  342.          |       A2 Data pointer   | $F02227
  343. $F02228  +-------------------------+
  344.          |         A2 FLAGS        | $F0222B
  345. $F0222C  +-------------------------+
  346.          |         A2 MASK         | $F0222F
  347. $F02230  +-------------------------+
  348.          |         A2 PIXEL        | $F02233
  349. $F02234  +-------------------------+
  350.          |         A2 STEP         | $F02237
  351.          +-------------------------+
  352.  
  353. $F02238  +-------------------------+
  354.          |         Command         | $F0223B
  355. $F0223C  +-------------------------+
  356.          |    Pixel/Line Counter   | $F0223F
  357. $F02240  +-------------------------+-------------------------+
  358.          |                    Source data                    | $F02247
  359. $F02248  +---------------------------------------------------+
  360.          |                  Destination data                 | $F0224F
  361. $F02250  +---------------------------------------------------+
  362.          |                    Destination Z                  | $F02257
  363. $F02258  +---------------------------------------------------+
  364.          |                   Source Z  integer               | $F0225F
  365. $F02260  +---------------------------------------------------+
  366.          |                   Source Z  fractional            | $F02267
  367. $F02268  +---------------------------------------------------+
  368.          |                     Pattern data                  | $F0226F
  369. $F02270  +---------------------------------------------------+
  370.          |    Intensity Increment  | $F02273
  371. $F02274  +-------------------------+
  372.          |        Z Increment      | $F02277
  373. $F02278  +-------------------------+
  374.          |    Collision Control    | $F0227B
  375.          +-------------------------+
  376.  
  377. $F0227C  +-------------------------+
  378.          |    Phrase Intensity 3   | $F0227F
  379. $F02280  +-------------------------+
  380.          |    Phrase Intensity 2   | $F02283
  381. $F02284  +-------------------------+
  382.          |    Phrase Intensity 1   | $F02287
  383. $F02288  +-------------------------+
  384.          |    Phrase Intensity 0   | $F0228B
  385.          +-------------------------+
  386.  
  387. $F0228C  +-------------------------+
  388.          |        Phrase Z 3       | $F0229F
  389. $F02290  +-------------------------+
  390.          |        Phrase Z 2       | $F02293
  391. $F02294  +-------------------------+
  392.          |        Phrase Z 1       | $F02297
  393. $F02298  +-------------------------+
  394.          |        Phrase Z 0       | $F0229B
  395.          +-------------------------+
  396.  
  397.  
  398. Clocks:
  399. =-=-=-=
  400.  
  401. $F10010  +------------+
  402.          |     CLK1   | $F00011
  403. $F10012  +------------+
  404.          |     CLK2   | $F00013
  405. $F10014  +------------+
  406.          |Chroma Clock| $F00015
  407.          +------------+
  408.  
  409.  
  410. DSP Control:
  411. =-=-=-=-=-=
  412.  
  413. $F1A100  +-------------------------+
  414.          |        GPU Flags        | $F1A103
  415. $F1A104  +-------------------------+
  416.          |       Matrix Control    | $F1A107
  417. $F1A108  +-------------------------+
  418.          |   Pointer to Matrix     | $F1A10B
  419. $F1A10C  +-------------------------+
  420.          |    Data Organization    | $F1A10F
  421. $F1A110  +-------------------------+
  422.          |         DSP PC          | $F1A113
  423. $F1A114  +-------------------------+
  424.          |   DSP Control + Status  | $F1A117
  425. $F1A118  +-------------------------+
  426.          |        Modulo Mask      | $F1A11B
  427. $F1A11C  +-------------------------+
  428.          |  Div remainder/control  | $F1A11F
  429. $F1A120  +-------------------------+
  430.          |     High byte of MAC    | $F1A123
  431.          +-------------------------+
  432.  
  433.  
  434. Synchronous Serial Interface (SSI):
  435. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  436.       
  437. $F1A150  +------------+
  438.          |  Frequency | $F1A153
  439. $F1A154  +------------+
  440.          |   Control  | $F1A157
  441.          +------------+
  442.  
  443. DAC:
  444. =-=
  445.       
  446. $F1A148  +------------+
  447.          |  Right DAC | $F1A14B
  448. $F1A14C  +------------+
  449.          |  Left DAC  | $F1A14D
  450.          +------------+
  451.