Re: Patching 4.4.0.532 CAS to run on Non-CAS
Posté: 03 Fév 2017, 05:02
.
News, programmes, tutoriaux, forum sur les calculatrices TI !
https://tiplanet.org/forum/
but there isn't really an active english TI website anymore is there?
PS: why are you even awake?!
if(os_id==CXC440_532) {
// cas check patch by parrotgeek1
// r5 is where 900A0028 value goes
// r4 is where 900A002C value goes
PATCH_SETB(base+0x00CAF71,0x54); // was:LDR R3, [PC, #0x484] : 0xE59F3484
// is: LDR R5, [PC, #0x484] : 0xE59F5484
PATCH_SETW(base+0x00CB3FC,0x00010105); // [PC,#0x484] was 900A0000, repurposing as fake 900a0028 value
PATCH_SETW(base+0x00CAF88,0xE3A04341); // was: ldr r5,[r3,#0x28] : 0xE5935028
// is: MOV R4, #0x4000001 : 0xE3A04341
PATCH_SETW(base+0x00CAF8C,NOP); // was: ldr r4,[r3,#0x2C] : 0xE593402C
// is: alternate nop
// fix reboot when document manager loads
PATCH_SETW(base+0x08D0718,0xE59F2110);
PATCH_SETW(base+0x08D0720,NOP);
PATCH_SETW(base+0x08D0830,0x04000001);
// maybe other 3 not need
PATCH_SETB(base+0x00E44F5,0x31); // was:LDR R1, [PC, #0x190] : 0xE59F1190
// is: LDR R3, [PC, #0x190] : 0xE59F3190
PATCH_SETW(base+0x00E44FC,NOP); // was:ldr r3,[r1 + 02c] : 0xE591302C
// is: alternate nop
PATCH_SETW(base+0x00E468C,0x04000001); // [PC, #0x190] was 900a0000, repurposing as fake 900a002c value
}