Advertisement
henke37

NDS9 memory map

Nov 1st, 2011
627
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 16.48 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <memMap cpu="ARM9">
  3.   <region name="Everything" start="0x00000000" end="0xFFFFFFFF">
  4.     <region name="Instruction TCM" start="0x00000000" end="0x00007FFF" />
  5.     <region name="Main memory" start="0x02000000" end="0x023FFFFF" />
  6.     <register name="Main memory control" address="0x027FFFFE" />
  7.     <region name="WRAM" start="0x03000000" />
  8.     <region name="I/O ports" start="0x04000000">
  9.       <region name="Display engine A" start="0x04000000" end="0x0400006C">
  10.         <register name="DISPCNT" address="0x04000000" size="4" />
  11.         <register name="DISPSTAT" address="0x04000004" size="2" />
  12.         <register name="VCOUNT" address="0x04000006" size="2" />
  13.         <register name="BG0CNT" address="0x04000008" size="2" />
  14.         <register name="BG1CNT" address="0x0400000A" size="2" />
  15.         <register name="BG2CNT" address="0x0400000C" size="2" />
  16.         <register name="BG3CNT" address="0x0400000E" size="2" />
  17.         <register name="BG0HOFS" address="0x04000010" size="2" />
  18.         <register name="BG0VOFS" address="0x04000012" size="2" />
  19.         <register name="BG1HOFS" address="0x04000014" size="2" />
  20.         <register name="BG1VOFS" address="0x04000016" size="2" />
  21.         <register name="BG2HOFS" address="0x04000018" size="2" />
  22.         <register name="BG2VOFS" address="0x0400001A" size="2" />
  23.         <register name="BG3HOFS" address="0x0400001C" size="2" />
  24.         <register name="BG3VOFS" address="0x0400001E" size="2" />
  25.         <register name="BG2PA" address="0x04000020" size="2" />
  26.         <register name="BG2PB" address="0x04000022" size="2" />
  27.         <register name="BG2PC" address="0x04000024" size="2" />
  28.         <register name="BG2PD" address="0x04000026" size="2" />
  29.         <register name="BG2X_L" address="0x04000028" size="2" />
  30.         <register name="BG2X_H" address="0x0400002A" size="2" />
  31.         <register name="BG2Y_L" address="0x0400002C" size="2" />
  32.         <register name="BG2Y_H" address="0x0400002E" size="2" />
  33.         <register name="BG3PA" address="0x04000030" size="2" />
  34.         <register name="BG3PB" address="0x04000032" size="2" />
  35.         <register name="BG3PC" address="0x04000034" size="2" />
  36.         <register name="BG3PD" address="0x04000036" size="2" />
  37.         <register name="BG3X_L" address="0x04000038" size="2" />
  38.         <register name="BG3X_H" address="0x0400003A" size="2" />
  39.         <register name="BG3Y_L" address="0x0400003C" size="2" />
  40.         <register name="BG3Y_H" address="0x0400003E" size="2" />
  41.         <register name="WIN0H" address="0x04000040" size="2" />
  42.         <register name="WIN1H" address="0x04000042" size="2" />
  43.         <register name="WIN0V" address="0x04000044" size="2" />
  44.         <register name="WIN1V" address="0x04000046" size="2" />
  45.         <register name="WININ" address="0x04000048" size="2" />
  46.         <register name="WINOUT" address="0x0400004A" size="2" />
  47.         <register name="MOSAIC" address="0x0400004C" size="2" />
  48.         <register name="BLDCNT" address="0x04000050" size="2" />
  49.         <register name="BLDCNT" address="0x04000052" size="2" />
  50.         <register name="BLDALPHA" address="0x04000054" size="2" />
  51.         <register name="DISP3DCNT" address="0x04000060" size="4" />
  52.         <register name="DISPCAPCNT" address="0x04000064" size="4" />
  53.         <register name="MASTER_BRIGHT" address="0x0400006C" size="2" />
  54.         <register name="DISP_MMEM_FIFO" address="0x04000068" />
  55.         <register name="TVOUTCNT" address="0x04000070" />
  56.       </region>
  57.       <region name="DMA Control" start="0x040000B0" end="0x040000DF">
  58.         <register name="DMA0SAD" address="0x040000B0" size="4" />
  59.         <register name="DMA0DAD" address="0x040000B4" size="4" />
  60.         <register name="DMA0CNT_L" address="0x040000B8" size="2" />
  61.         <register name="DMA0CNT_H" address="0x040000BA" size="2" />
  62.         <register name="DMA1SAD" address="0x040000BC" size="4" />
  63.         <register name="DMA1DAD" address="0x040000C0" size="4" />
  64.         <register name="DMA1CNT_L" address="0x040000C4" size="2" />
  65.         <register name="DMA1CNT_H" address="0x040000C6" size="2" />
  66.         <register name="DMA2SAD" address="0x040000C8" size="4" />
  67.         <register name="DMA2DAD" address="0x040000CC" size="4" />
  68.         <register name="DMA2CNT_L" address="0x040000D0" size="2" />
  69.         <register name="DMA2CNT_H" address="0x040000D2" size="2" />
  70.         <register name="DMA3SAD" address="0x040000D4" size="4" />
  71.         <register name="DMA3DAD" address="0x040000D8" size="4" />
  72.         <register name="DMA3CNT_L" address="0x040000DC" size="2" />
  73.         <register name="DMA3CNT_H" address="0x040000DE" size="2" />
  74.       </region>
  75.       <region name="DMA Filldata Buffers" start="0x040000E0" end="0x040000EF">
  76.         <register name="DMA0FILL" address="0x040000E0" size="4" />
  77.         <register name="DMA1FILL" address="0x040000E4" size="4" />
  78.         <register name="DMA2FILL" address="0x040000E8" size="4" />
  79.         <register name="DMA3FILL" address="0x040000EC" size="4" />
  80.       </region>
  81.       <region name="Timers" start="0x04000100">
  82.         <register name="TM0CNT_L" address="0x04000100" size="2" />
  83.         <register name="TM0CNT_H" address="0x04000102" size="2" />
  84.         <register name="TM1CNT_L" address="0x04000104" size="2" />
  85.         <register name="TM1CNT_H" address="0x04000106" size="2" />
  86.         <register name="TM2CNT_L" address="0x04000108" size="2" />
  87.         <register name="TM2CNT_H" address="0x0400010A" size="2" />
  88.         <register name="TM3CNT_L" address="0x0400010C" size="2" />
  89.         <register name="TM3CNT_H" address="0x0400010E" size="2" />
  90.       </region>
  91.       <region name="Gamepad" start="0x04000130">
  92.         <register name="KEYINPUT" address="0x04000130" size="2" />
  93.         <register name="KEYCNT" address="0x04000132" size="2" />
  94.         <register name="EXTKEYIN" address="0x04000136" size="2" />
  95.       </region>
  96.       <region name="Slot 1">
  97.         <register name="AUXSPICNT" address="0x040001A0" size="2" />
  98.         <register name="AUXSPIDATA" address="0x040001A2" size="2" />
  99.         <register name="ROMCTRL" address="0x040001A4" size="2" />
  100.         <region name="Gamecard Command out" start="0x040001A8" end="0x040001AF" />
  101.         <register name="Encryption seed 0 Low" address="0x040001B0" size="4" />
  102.         <register name="Encryption seed 1 Low" address="0x040001B4" size="4" />
  103.         <register name="Encryption seed 0 High" address="0x040001B8" size="4" />
  104.         <register name="Encryption seed 1 High" address="0x040001BA" size="4" />
  105.       </region>
  106.       <region name="SPI">
  107.         <register name="SPICNT" address="0x04001C0" size="2" />
  108.         <register name="SPIDATA" address="0x04001C2" size="2" />
  109.       </region>
  110.       <region name="Memory and IRQ control" start="0x04000200" end="0x0400027F">
  111.         <register name="EXMEMCNT" address="0x04000204" size="1" />
  112.         <register name="IME" address="0x04000208" size="2" />
  113.         <register name="IE" address="0x04000210" size="4" />
  114.         <register name="IF" address="0x04000214" size="4" />
  115.         <register name="WRAMCNT" address="0x04000247" size="1" />
  116.         <register name="VRAMCNT_A" address="0x04000240" size="1" />
  117.         <register name="VRAMCNT_B" address="0x04000241" size="1" />
  118.         <register name="VRAMCNT_C" address="0x04000242" size="1" />
  119.         <register name="VRAMCNT_D" address="0x04000243" size="1" />
  120.         <register name="VRAMCNT_E" address="0x04000244" size="1" />
  121.         <register name="VRAMCNT_F" address="0x04000245" size="1" />
  122.         <register name="VRAMCNT_G" address="0x04000246" size="1" />
  123.         <!--0x04000247 is WRAMCNT, thus the skip of one address here-->
  124.         <register name="VRAMCNT_H" address="0x04000248" size="1" />
  125.         <register name="VRAMCNT_I" address="0x04000249" size="1" />
  126.         <register name="VRAMCNT_C" address="0x04000242" size="1" />
  127.       </region>
  128.       <region name="Math">
  129.         <register name="DIVCNT" address="0x0400280" size="2" />
  130.         <register name="DIV_NUMER" address="0x0400290" size="4" />
  131.         <register name="DIV_DENOM" address="0x0400298" size="4" />
  132.         <register name="DIV_RESULT" address="0x04002A0" size="8" />
  133.         <register name="DIVREM_RESULT" address="0x04002A0" size="8" />
  134.         <register name="SQRTCNT" address="0x04002B0" size="2" />
  135.         <register name="SQRT_RESULT" address="0x04002B4" size="4" />
  136.         <register name="SQRT_PARAM" address="0x04002B8" size="8" />
  137.       </region>
  138.       <register name="POSTFLG" address="0x04000300" size="1" />
  139.       <register name="POWCNT1" address="0x04000304" size="2" />
  140.       <register name="BIOSPROT" adress="0x0x4000308" />
  141.       <region name="3D Display Engine" start="0x04000320" end="0x040006A3">
  142.         <register name="RDLINES_COUNT" address="0x04000320" size="4" />
  143.         <region name="EDGE_COLOR" start="0x04000330" end="0x0400033F" />
  144.         <register name="ALPHA_TEST_REF" address="0x04000340" size="1" />
  145.         <register name="CLEAR_COLOR" address="0x04000350" size="4" />
  146.         <register name="CLEAR_DEPTH" address="0x04000354" size="2" />
  147.         <register name="CLR_IMAGE_OFFSET" address="0x04000356" size="2" />
  148.         <register name="FOG_COLOR" address="0x04000358" size="4" />
  149.         <register name="FOG_OFFSET" address="0x0400035C" size="2" />
  150.         <region name="FOG_TABLE" start="0x04000360" end="0x0400037F" />
  151.         <region name="GXFIFO" start="0x04000400" end="0x0400043F" />
  152.         <region name="Cmd ports" start="0x04000440">
  153.           <register name="MTX_MODE" address="0x04000440" size="4" />
  154.           <register name="MTX_PUSH" address="0x04000444" size="4" />
  155.           <register name="MTX_POP" address="0x04000448" size="4" />
  156.           <register name="MTX_STORE" address="0x0400044C" size="4" />
  157.           <register name="MTX_RESTORE" address="0x04000450" size="4" />
  158.           <register name="MTX_IDENTITY" address="0x04000454" size="4" />
  159.           <register name="MTX_LOAD_4x4" address="0x04000458" size="4" />
  160.           <register name="MTX_LOAD_4x3" address="0x0400045C" size="4" />
  161.           <register name="MTX_MULT_4x4" address="0x04000460" size="4" />
  162.           <register name="MTX_MULT_4x3" address="0x04000464" size="4" />
  163.           <register name="MTX_MULT_3x3" address="0x04000468" size="4" />
  164.           <register name="MTX_SCALE" address="0x0400046C" size="4" />
  165.           <register name="MTX_TRANS" address="0x04000470" size="4" />
  166.           <register name="COLOR" address="0x04000480" size="4" />
  167.           <register name="NORMAL" address="0x04000484" size="4" />
  168.           <register name="TEXCOORD" address="0x04000488" size="4" />
  169.           <register name="VTX_16" address="0x0400048C" size="4" />
  170.           <register name="VTX_10" address="0x04000490" size="4" />
  171.           <register name="VTX_XY" address="0x04000494" size="4" />
  172.           <register name="VTX_XZ" address="0x04000498" size="4" />
  173.           <register name="VTX_YZ" address="0x0400049C" size="4" />
  174.           <register name="VTX_DIFF" address="0x040004A0" size="4" />
  175.           <register name="POLYGON_ATTR" address="0x040004A4" size="4" />
  176.           <register name="TEXIMAGE_PARAM" address="0x040004A8" size="4" />
  177.           <register name="PLTT_BASE" address="0x040004AC" size="4" />
  178.           <register name="DIF_AMB" address="0x040004C0" size="4" />
  179.           <register name="SPE_EMI" address="0x040004C4" size="4" />
  180.           <register name="LIGHT_VECTOR" address="0x040004C8" size="4" />
  181.           <register name="LIGHT_COLOR" address="0x040004CC" size="4" />
  182.           <register name="SHININESS" address="0x040004D0" size="4" />
  183.           <register name="BEGIN_VTXS" address="0x04000500" size="4" />
  184.           <register name="END_VTXS" address="0x04000504" size="4" />
  185.           <register name="SWAP_BUFFERS" address="0x04000540" size="4" />
  186.           <register name="VIEWPORT" address="0x04000580" size="4" />
  187.           <register name="BOX_TEST" address="0x040005C0" size="4" />
  188.           <register name="POS_TEST" address="0x040005C4" size="4" />
  189.           <register name="VEC_TEST" address="0x040005C8" size="4" />
  190.         </region>
  191.         <region name="TOON_TABLE" start="0x04000380" end="0x040003BF" />
  192.         <register name="GXSTAT" address="0x04000600" size="4" />
  193.         <register name="RAM_COUNT" address="0x04000604" size="4" />
  194.         <register name="DISP_1DOT_DEPTH" address="0x04000610" size="2" />
  195.         <region name="POS_RESULT" start="0x04000620" end="0x0400062F" />
  196.         <region name="VEC_RESULT" start="0x04000630" end="0x04000635" />
  197.         <region name="CLIPMTX_RESULT" start="0x04000640" />
  198.         <region name="VECMTX_RESULT" start="0x04000680" />
  199.       </region>
  200.       <region name="Display Engine B" start="0x04001000" end="0x0400106C">
  201.         <register name="DISPCNT" address="0x04001000" size="4" />
  202.         <register name="DISPSTAT" address="0x04001004" size="2" />
  203.         <register name="VCOUNT" address="0x04001006" size="2" />
  204.         <register name="BG0CNT" address="0x04001008" size="2" />
  205.         <register name="BG1CNT" address="0x0400100A" size="2" />
  206.         <register name="BG2CNT" address="0x0400100C" size="2" />
  207.         <register name="BG3CNT" address="0x0400100E" size="2" />
  208.         <register name="BG0HOFS" address="0x04001010" size="2" />
  209.         <register name="BG0VOFS" address="0x04001012" size="2" />
  210.         <register name="BG1HOFS" address="0x04001014" size="2" />
  211.         <register name="BG1VOFS" address="0x04001016" size="2" />
  212.         <register name="BG2HOFS" address="0x04001018" size="2" />
  213.         <register name="BG2VOFS" address="0x0400101A" size="2" />
  214.         <register name="BG3HOFS" address="0x0400101C" size="2" />
  215.         <register name="BG3VOFS" address="0x0400101E" size="2" />
  216.         <register name="BG2PA" address="0x04001020" size="2" />
  217.         <register name="BG2PB" address="0x04001022" size="2" />
  218.         <register name="BG2PC" address="0x04001024" size="2" />
  219.         <register name="BG2PD" address="0x04001026" size="2" />
  220.         <register name="BG2X_L" address="0x04001028" size="2" />
  221.         <register name="BG2X_H" address="0x0400102A" size="2" />
  222.         <register name="BG2Y_L" address="0x0400102C" size="2" />
  223.         <register name="BG2Y_H" address="0x0400102E" size="2" />
  224.         <register name="BG3PA" address="0x04001030" size="2" />
  225.         <register name="BG3PB" address="0x04001032" size="2" />
  226.         <register name="BG3PC" address="0x04001034" size="2" />
  227.         <register name="BG3PD" address="0x04001036" size="2" />
  228.         <register name="BG3X_L" address="0x04001038" size="2" />
  229.         <register name="BG3X_H" address="0x0400103A" size="2" />
  230.         <register name="BG3Y_L" address="0x0400103C" size="2" />
  231.         <register name="BG3Y_H" address="0x0400103E" size="2" />
  232.         <register name="WIN0H" address="0x04001040" size="2" />
  233.         <register name="WIN1H" address="0x04001042" size="2" />
  234.         <register name="WIN0V" address="0x04001044" size="2" />
  235.         <register name="WIN1V" address="0x04001046" size="2" />
  236.         <register name="WININ" address="0x04001048" size="2" />
  237.         <register name="WINOUT" address="0x0400104A" size="2" />
  238.         <register name="MOSAIC" address="0x0400104C" size="2" />
  239.         <register name="BLDCNT" address="0x04001050" size="2" />
  240.         <register name="BLDCNT" address="0x04001052" size="2" />
  241.         <register name="BLDALPHA" address="0x04001054" size="2" />
  242.       </region>
  243.       <region name="Gamecard Data In" start="0x04100010" end="0x04100013" />
  244.       <register name="IPCFIFORECV" address="0x041000000" />
  245.     </region>
  246.     <region name="Palettes" start="0x05000000" end="0x050007FF">
  247.       <region name="BG A" start="0x05000000" end="0x050001FF" />
  248.       <region name="BG B" start="0x05000400" end="0x050005FF" />
  249.       <region name="OBJ A" start="0x05000200" end="0x050003FF" />
  250.       <region name="OBJ B" start="0x05000600" end="0x050007FF" />
  251.     </region>
  252.     <region name="VRAM" start="0x06000000">
  253.       <region name="BG A" start="0x06000000" />
  254.       <region name="BG B" start="0x06200000" />
  255.       <region name="OBJ A" start="0x06400000" />
  256.       <region name="OBJ B" start="0x06600000" />
  257.       <region name="LCDC" start="0x06800000" />
  258.     </region>
  259.     <region name="OAM" start="0x07000000" end="0x070007FF">
  260.       <region name="OAM A" start="0x07000000" end="0x070003FF" />
  261.       <region name="OAM B" start="0x07000400" end="0x070007FF" />
  262.     </region>
  263.     <region name="Slot 2 ROM" start="0x08000000" />
  264.     <region name="Slot 2 RAM" start="0x0A000000" />
  265.     <region name="ARM9-Bios" start="0xFFFF0000" end="0xFFFF8000" />
  266.   </region>
  267. </memMap>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement