Changes

447 bytes added ,  11:22, 18 July 2013
IntrWait bugged?
Line 33: Line 33:  
| swiIntrWait
 
| swiIntrWait
 
| ??
 
| ??
| same as DS
+
| same as DS (but bugged? see note)
 
|-
 
|-
 
| 0x05
 
| 0x05
 
| swiVBlankIntrWait
 
| swiVBlankIntrWait
 
| ??
 
| ??
| same as DS
+
| same as DS (but bugged? see note)
 
|-
 
|-
 
| 0x06
 
| 0x06
Line 217: Line 217:     
The two ignored function do return without doing anything (they are rejected before calling the SWI function table). The other unused functions do hang in an endless loop.
 
The two ignored function do return without doing anything (they are rejected before calling the SWI function table). The other unused functions do hang in an endless loop.
 +
 +
'''Note:''' swiHalt does correctly use CP15 to halt the ARM9 processor. But, swiVBlankIntrWait and swiIntrWait do use port 0x4000301 (which would be correct on ARM7, unknown if the same mechanism is actually supported on ARM9, if it isn't supported then the functions would more or less behave as desired - wait for IRQ flags to get set - but without actually switching the CPU into low-power mode).
    
== See Also ==
 
== See Also ==
    
* [[ARM7 BIOS]]
 
* [[ARM7 BIOS]]
108

edits