Changes

β†’β€ŽRegister List: fix duplicate interrupt name
Line 10: Line 10:  
{{yagcd}}
 
{{yagcd}}
   βˆ’
the External Interface (EXI) is an interface to communicate with external devices like the Gamecube memory cards slots, which can be used for memory cards, usb gecko, sdgecko, or nintendo's waikiki's debug adaptor.
+
The External Interface (EXI) is an interface to communicate with external devices like the Gamecube memory cards slots, which can be used for memory cards, usb gecko, sdgecko, or nintendo's waikiki's debug adaptor.
βˆ’
On the wii, the PowerPC's reset vector (0xfff00000) is mapped to memory within the EXI while on the gamecube this was mapped to the IPL masked bootrom.
  βˆ’
Since there is no IPL on the wii, this memory is written to by [[IOS]] when it bootstraps the [[Broadway]].
     βˆ’
== Registry List ==
+
On the Wii, the PowerPC's reset vector (0xfff00000) is mapped to memory within the EXI while on the GameCube this was mapped to the IPL masked bootrom. Since there is no IPL in the Wii ROM, this memory is written to by [[IOS]] when it bootstraps the [[Broadway]].
 +
 
 +
== Register List ==
 
{{reglist|EXI}}
 
{{reglist|EXI}}
 
{{rla|0x0d806800|32|EXI_CSR|EXI Channel 0 Parameter Register (Status?)}}
 
{{rla|0x0d806800|32|EXI_CSR|EXI Channel 0 Parameter Register (Status?)}}
βˆ’
{{rla|0x0d806800|32|EXI_MAR|EXI Channel 0 DMA Start Address}}
+
{{rla|0x0d806804|32|EXI_MAR|EXI Channel 0 DMA Start Address}}
βˆ’
{{rla|0x0d806800|32|EXI_LENGTH|EXI EXI Channel 0 DMA Transfer Length}}
+
{{rla|0x0d806808|32|EXI_LENGTH|EXI EXI Channel 0 DMA Transfer Length}}
βˆ’
{{rla|0x0d806800|32|EXI_CR|EXI Channel 0 Control Register}}
+
{{rla|0x0d80680c|32|EXI_CR|EXI Channel 0 Control Register}}
 
{{rla|0x0d806810|32|EXI_DATA|EXI Channel 0 Immediate Data}}
 
{{rla|0x0d806810|32|EXI_DATA|EXI Channel 0 Immediate Data}}
 
{{rla|0x0d806814|32|EXI_CSR|EXI Channel 1 Parameter Register (Status?)}}
 
{{rla|0x0d806814|32|EXI_CSR|EXI Channel 1 Parameter Register (Status?)}}
Line 41: Line 41:  
|2|1        |1    |1      |1          |3  |3  |1    |1        |1      |1          |
 
|2|1        |1    |1      |1          |3  |3  |1    |1        |1      |1          |
 
| |R/W      |R/W  |R/W    |R/W        |R/W |R/W |R/W  |R/W      |R/W    |R/W        |
 
| |R/W      |R/W  |R/W    |R/W        |R/W |R/W |R/W  |R/W      |R/W    |R/W        |
βˆ’
| |ROMDIS  |EXT  |EXTINT |EXTINTMASK |CS  |CLK |TCINT |TCINTMASK |EXTINT |EXTINTMASK ||
+
| |ROMDIS  |EXT  |EXTINT |EXTINTMASK |CS  |CLK |TCINT |TCINTMASK |EXIINT |EXIINTMASK ||
 
}}
 
}}
 
This register at least controls the boot0 memory mapping and DSK PLL source.
 
This register at least controls the boot0 memory mapping and DSK PLL source.
Line 71: Line 71:  
|TCINTMASK|Transfer complete interrupt mask (1 - enable, 0 - disable).  
 
|TCINTMASK|Transfer complete interrupt mask (1 - enable, 0 - disable).  
 
Interrupt masking prevents the interrupt from being sent to the main processor, but does not affect the assertion of TCINT
 
Interrupt masking prevents the interrupt from being sent to the main processor, but does not affect the assertion of TCINT
βˆ’
|EXTINT|Interrupt Status
+
|EXIINT|Interrupt Status
 
* When read 1 or 0 indicates if interrupt is requested
 
* When read 1 or 0 indicates if interrupt is requested
 
* When 1 is written to this register, it clears the interrupt
 
* When 1 is written to this register, it clears the interrupt
βˆ’
|EXTINTMASK|EXI interrupt mask (1 - enable, 0 - disable)
+
|EXIINTMASK|EXI interrupt mask (1 - enable, 0 - disable)
 
}}
 
}}
   Line 138: Line 138:     
== EXI boot vector ==
 
== EXI boot vector ==
βˆ’
   
As mentioned, there is small amount of memory in the EXI that is used as the PowerPC reset vector.   
 
As mentioned, there is small amount of memory in the EXI that is used as the PowerPC reset vector.   
   βˆ’
IOS's function to initialize the EXI reset vector has 2 default boot vectors depending on the parameters, but a custom boot vector is used by the <code>IOS_StartPPC</code>  [[IOS/Syscalls|syscall]].
+
IOS's function to initialize the EXI reset vector has 2 default boot vectors depending on the parameters, but a custom boot vector is used by the <code>IOS_StartPPC</code>  [[IOS/Syscalls|syscall]]. It is 0x40 bytes in size and is accessed through different addresses depending where you are reading from.
βˆ’
it is 0x40 bytes in size and is accessed through different addresses depending where you are reading from.
     βˆ’
{| class="wikitable
+
{| class="wikitable"
 
|-
 
|-
 
! Source
 
! Source
24

edits