ARM7 BIOS: Difference between revisions
Hallowizer (talk | contribs) m →SVC list: flagged HaltMaybe for checking, since it looks like the idle thread in ARM7 OS calls this in place of the CP15 stuff in ARM9. haven't looked very deep yet though |
|||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 6: | Line 6: | ||
*The contents of 1) can only be read by instructions within the BIOS. It can therefore be dumped by applying some IRQ timer trick to find a usable ''ldr'' instruction or by just using the memcpy at 0x6bb0 with the usual arguments. | *The contents of 1) can only be read by instructions within the BIOS. It can therefore be dumped by applying some IRQ timer trick to find a usable ''ldr'' instruction or by just using the memcpy at 0x6bb0 with the usual arguments. | ||
*The contents of 2) can only be read until bit 0 in register '''0x04004000 or 0x04004001 (?)''' is cleared. It is disabled after it has been executed and can never be read again until the device is reset | *The contents of 2) can only be read until bit 0 in register '''0x04004000 or 0x04004001 (?)''' is cleared. It is disabled after it has been executed and can never be read again until the device is reset. | ||
== SVC list == | == SVC list == | ||
The BIOS provides the following SVC functions. Every SVC not mentioned here just jumps to an infinite loop at 0x16c (b .) | The BIOS provides the following SVC functions. Every SVC not mentioned here just jumps to an infinite loop at 0x16c (b .) | ||
Caution: In below table, "n/a" in the NAME column seems to mean "not altered" (ie. same as in NDS BIOS). Whilst "n/a" in the DESCRIPTION column seems to mean "not any" (ie. nobody has written a description yet). | |||
{| class="wikitable sortable" width="55%" | {| class="wikitable sortable" width="55%" | ||
| Line 38: | Line 40: | ||
|- | |- | ||
|06 | |06 | ||
|HaltMaybe | |HaltMaybe{{check}} | ||
|n/a | |n/a | ||
|- | |- | ||
| Line 157: | Line 159: | ||
|n/a | |n/a | ||
|} | |} | ||
== reset vectors et al == | == reset vectors et al == | ||
| Line 174: | Line 175: | ||
* [[ARM9 SWI Functions]] | * [[ARM9 SWI Functions]] | ||
* [[Bootloader]] (Stage 1 contained in BIOS ROMs) | |||