Difference between revisions of "NTRCARD Registers"

From 3dbrew
Jump to navigation Jump to search
(gbatek documentation link)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
== Registers ==
 
== Registers ==
 +
These registers are similar to the old NDS Cartridge registers, check http://problemkaputt.de/gbatek.htm#dscartridgeioports for more information.
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
!  NAME
 
!  NAME
Line 7: Line 8:
 
| REG_NTRCARDMCNT
 
| REG_NTRCARDMCNT
 
| 0x10164000
 
| 0x10164000
 +
| 2
 +
|-
 +
| REG_NTRCARDMDATA
 +
| 0x10164002
 
| 2
 
| 2
 
|-
 
|-
Line 12: Line 17:
 
| 0x10164004
 
| 0x10164004
 
| 4
 
| 4
 +
|-
 +
| REG_NTRCARDCMD
 +
| 0x10164008
 +
| 8
 +
|-
 +
| REG_NTRCARDSEEDX_L
 +
| 0x10164010
 +
| 4
 +
|-
 +
| REG_NTRCARDSEEDY_L
 +
| 0x10164014
 +
| 4
 +
|-
 +
| REG_NTRCARDSEEDX_H
 +
| 0x10164018
 +
| 1
 +
|-
 +
| REG_NTRCARDSEEDY_H
 +
| 0x1016401A
 +
| 1
 
|-
 
|-
 
| REG_NTRCARDFIFO
 
| REG_NTRCARDFIFO
Line 23: Line 48:
 
!  Description
 
!  Description
 
|-
 
|-
| 15
+
| 14
 
| Interrupt enable (1=Enable, 0=Disable)
 
| Interrupt enable (1=Enable, 0=Disable)
 
|-
 
|-
| 31
+
| 15
 
| Enable (1=Enable, 0=Disable)
 
| Enable (1=Enable, 0=Disable)
 
|}
 
|}

Latest revision as of 18:41, 3 September 2016

Registers[edit]

These registers are similar to the old NDS Cartridge registers, check http://problemkaputt.de/gbatek.htm#dscartridgeioports for more information.

NAME PHYSICAL ADDRESS WIDTH
REG_NTRCARDMCNT 0x10164000 2
REG_NTRCARDMDATA 0x10164002 2
REG_NTRCARDROMCNT 0x10164004 4
REG_NTRCARDCMD 0x10164008 8
REG_NTRCARDSEEDX_L 0x10164010 4
REG_NTRCARDSEEDY_L 0x10164014 4
REG_NTRCARDSEEDX_H 0x10164018 1
REG_NTRCARDSEEDY_H 0x1016401A 1
REG_NTRCARDFIFO 0x1016401C 4

REG_NTRCARDMCNT[edit]

Bit Description
14 Interrupt enable (1=Enable, 0=Disable)
15 Enable (1=Enable, 0=Disable)


REG_NTRCARDROMCNT[edit]

Bit Description
23 Data status (1=Ready, 0=Busy)
31 Start (1=Busy, 0=Idle)