# the actual BIOS which is 0x8000 bytes long and starts at 0x0
# the actual BIOS which is 0x8000 bytes long and starts at 0x0
# the bootrom which is probably also 0x8000 bytes long and starts at 0x8000
# the bootrom which is probably also 0x8000 bytes long and starts at 0x8000
−
*The data 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 data of 2) can only be read until bit 0 in register '''0x04004000 or 0x04004001 (?)''' is cleared. It is enabled after it has been executed and can never be read again until a reset then. It might contains keys and has not been dumped yet.
+
*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. It might contains keys and has not been dumped yet.
== SVC list ==
== SVC list ==
Line 66:
Line 66:
|-
|-
|0e
|0e
−
|crc16
+
|CRC16
|n/a
|n/a
|-
|-
Line 134:
Line 134:
|-
|-
|24
|24
−
|sha1_init
+
|SHA1_init
|n/a
|n/a
|-
|-
|25
|25
−
|sha1_update
+
|SHA1_update
|n/a
|n/a
|-
|-
|26
|26
−
|sha1_finalize
+
|SHA1_finalize
|n/a
|n/a
|-
|-
|27
|27
−
|sha1
+
|SHA1
|n/a
|n/a
|-
|-
|28
|28
−
|sha1_compare
+
|SHA1_compare
|n/a
|n/a
|-
|-
|29
|29
−
|sha1_random_maybe
+
|SHA1_random_maybe
|n/a
|n/a
|}
|}
Line 161:
Line 161:
== reset vectors et al ==
== reset vectors et al ==
−
The first few words of the BIOS cannot be dumped. You can guess them by tracing the code though (all values are noted in little endian here):
+
The first few words of the BIOS cannot be dumped. You can deduce them by tracing the code though (all values are noted in little endian here):