BOST
Image you just broke your simpad's memory - how to see if the new one is broken,
too? Well, the BOST mode will help. But what the heck - entering 'b' in the serialconsole
doesn't help at all. What's going on?
Exactly this:
ROM:01F01420 sub_1F01428 ; CODE XREF: sub_1F01640+5Cp
ROM:01F01428 MOV R12, SP
ROM:01F0142C STMFD SP!, {R11,R12,LR,PC}
ROM:01F01430 SUB R11, R12, #4
ROM:01F01434 CMP R0, #'n'
ROM:01F01438 CMPNE R0, #'f'
ROM:01F0143C BEQ loc_1F01480
ROM:01F01440 CMP R0, #'p'
ROM:01F01444 CMPNE R0, #'o'
ROM:01F01448 BEQ loc_1F01480
ROM:01F0144C CMP R0, #'r'
ROM:01F01450 CMPNE R0, #'q'
ROM:01F01454 BEQ loc_1F01480
ROM:01F01458 CMP R0, #'w'
ROM:01F0145C CMPNE R0, #'s'
ROM:01F01460 BEQ loc_1F01480
ROM:01F01464 CMP R0, #'x'
ROM:01F01468 MOVNE R3, #0
ROM:01F0146C MOVEQ R3, #1
ROM:01F01470 CMP R0, #2
ROM:01F01474 MOVEQ R3, #1
ROM:01F01478 CMP R3, #0
ROM:01F0147C BEQ loc_1F01484
ROM:01F01480
ROM:01F01480 loc_1F01480 ; CODE XREF: sub_1F01428+14j
ROM:01F01480 ; sub_1F01428+20j ...
ROM:01F01480 LDMDB R11, {R11,SP,PC}
ROM:01F01484 ; ---------------------------------------------------------------------------
ROM:01F01484
ROM:01F01484 loc_1F01484 ; CODE XREF: sub_1F01428+54j
ROM:01F01484 MOV R0, R3
ROM:01F01488 LDMDB R11, {R11,SP,PC}
ROM:01F01488 ; End of function sub_1F01428
The code simply forbids you to do the interesting things. Well, why not remove it from
ROM:01F01698 MOV R0, R5
ROM:01F0169C BL sub_1F01428
ROM:01F016A0 MOV R5, R0
ROM:01F016A4 SUB R3, R5, #2
ROM:01F016A8 CMP R3, #0x76
ROM:01F016AC LDRLS PC, [PC,R3,LSL#2]
ROM:01F016B0 B loc_1F01B18
and bring your simpad into the debugmode?