-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Not certain if I'm doing it right, but here's what I have.
using bios version 4301 from here (you'll need to strip 4096 bytes from the front of it to get rid of the UEFI cap header),
and calling the tool as such:
$ ./PSPEmu --emulation-mode sys \
-a zen+-standard --flash-rom `pwd`/bios.rom --timer-real-time --trace-log ./log --intercept-svc-6 --trace-svcs
rcUc=10 (UC_ERR_INSN_INVALID)the resultant log contains:
00000000 INFO CORE 0x00000110[0x00000000][ SVC, S,NM,NI,NF,0x00000000] STRING "R0 > 0x00000000 | R1 > 0x00000000 | R2 > 0x00000000 | R3 > 0xffffffff"
STRING "R4 > 0x00000000 | R5 > 0x00000000 | R6 > 0x00000000 | R7 > 0x00000000"
STRING "R8 > 0x00000000 | R9 > 0x00000000 | R10> 0x00000000 | R11> 0x00000000"
STRING "R12 > 0x00000000 | SP > 0x00000000 | LR > 0x00000000 | PC > 0x00000110"
STRING "CPSR> 0x400001d3 | SPSR> 0x00000000"
STRING "Disasm:"
STRING "0x000110: mcrrle p9, #2, r1, r7, c10"
STRING "0x000114: ldmdble pc, {r0, r1, r2, r4, r5, r6, r8, sl, ip, lr, pc} ^"
STRING "0x000118: ldmlt sb!, {r4, r5, r7, r8, ip} ^"
STRING "0x00011c: adcvc r5, r2, r3, lsr r4"
STRING "0x000120: ldrshpl sp, [r7], r0"
00000001 INFO CORE 0x00000110[0x00000000][ SVC, S,NM,NI,NF,0x00000000] STRING "Stack:"
STRING " 0x00000000: 0x00000000 <= SP"
STRING " 0x00000004: 0x00000000"
STRING " 0x00000008: 0x00000000"
STRING " 0x0000000c: 0x00000000"
STRING " 0x00000010: 0x31535024"
STRING " 0x00000014: 0x0000e1c0"
STRING " 0x00000018: 0x00000001"
STRING " 0x0000001c: 0x00000000"
If I'm missing something do let me know.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels