[removed]
Re: Patching 4.4.0.532 CAS to run on Non-CAS
.
Last edited by parrotgeek1 on 05 Jan 2021, 19:55, edited 3 times in total.
-
parrotgeek1Programmeur
Niveau 11: LV (Légende Vivante)- Posts: 748
- Joined: 29 Mar 2016, 01:22
- Location: This account is no longer used.
- Gender:
- Calculator(s):→ MyCalcs profile
Re: Patching 4.4.0.532 CAS to run on Non-CAS
.
Last edited by parrotgeek1 on 28 Aug 2020, 19:33, edited 1 time in total.
-
parrotgeek1Programmeur
Niveau 11: LV (Légende Vivante)- Posts: 748
- Joined: 29 Mar 2016, 01:22
- Location: This account is no longer used.
- Gender:
- Calculator(s):→ MyCalcs profile
Re: Patching 4.4.0.532 CAS to run on Non-CAS
Chances are that you'll get censored quickly on that mostly dead board, killed by its staff's behaviour ^^
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
-
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)- Posts: 6865
- Joined: 23 Dec 2009, 00:00
- Location: France
- Gender:
- Calculator(s):→ MyCalcs profile
- Class: -
- GitHub: debrouxl
Re: Patching 4.4.0.532 CAS to run on Non-CAS
.
Last edited by parrotgeek1 on 05 Jan 2021, 19:55, edited 1 time in total.
-
parrotgeek1Programmeur
Niveau 11: LV (Légende Vivante)- Posts: 748
- Joined: 29 Mar 2016, 01:22
- Location: This account is no longer used.
- Gender:
- Calculator(s):→ MyCalcs profile
Re: Patching 4.4.0.532 CAS to run on Non-CAS
Wrt. blanking the calculator's ID: have you tried searching for references to the strings which indicate CAS/non-CAS discrepancies ? They're in code paths which can only be preceded by tests and most of all, branches (taken or not taken).
As a whole, community Nspire programming, for both Nspire Lua and Ndless, is much less active than it used to be.
As for community websites... well, welcome to the community's dirty laundry
CodeWalrus was created by DJ, the founder of Omnimaga, after it became painfully clear, through multiple events, that especially two members of the Omnimaga staff, were behaving in actively harmful ways, turning members away from at least Omnimaga (including the TI-Planet staff, two of whom posted ~70-90% of Omnimaga's newsing activity for several years, in a mutual benefit solution), if not the whole community. These two persons also happen to be good friends of the staff of the other English-speaking main community site, where self-aggrandizing posts by staff and Omnimaga-diminishing posts by non-staff happen not to be unheard of.
Unsurprisingly, CW picked up most of the activity of Omnimaga in short order - like Omnimaga itself, under the ruling of DJ and friends, picked up the Nspire activity from two other boards in a matter of months, thanks to a much better mood.
I'm not a perfect human being, and as a matter of fact, I was involved in some of the aforementioned events. However, I'm stating publicly verifiable facts about the reasons why CW was created, staff friendships, the tone of some posts at the other community site I still haven't mentioned in this post, and the CW and Omnimaga activity curves - so if you want to check for yourself, you'll find that I'm not a liar.
If that question was directed at me: it's 8 a.m. here
but there isn't really an active english TI website anymore is there?
As a whole, community Nspire programming, for both Nspire Lua and Ndless, is much less active than it used to be.
As for community websites... well, welcome to the community's dirty laundry
CodeWalrus was created by DJ, the founder of Omnimaga, after it became painfully clear, through multiple events, that especially two members of the Omnimaga staff, were behaving in actively harmful ways, turning members away from at least Omnimaga (including the TI-Planet staff, two of whom posted ~70-90% of Omnimaga's newsing activity for several years, in a mutual benefit solution), if not the whole community. These two persons also happen to be good friends of the staff of the other English-speaking main community site, where self-aggrandizing posts by staff and Omnimaga-diminishing posts by non-staff happen not to be unheard of.
Unsurprisingly, CW picked up most of the activity of Omnimaga in short order - like Omnimaga itself, under the ruling of DJ and friends, picked up the Nspire activity from two other boards in a matter of months, thanks to a much better mood.
I'm not a perfect human being, and as a matter of fact, I was involved in some of the aforementioned events. However, I'm stating publicly verifiable facts about the reasons why CW was created, staff friendships, the tone of some posts at the other community site I still haven't mentioned in this post, and the CW and Omnimaga activity curves - so if you want to check for yourself, you'll find that I'm not a liar.
PS: why are you even awake?!
If that question was directed at me: it's 8 a.m. here
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
-
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)- Posts: 6865
- Joined: 23 Dec 2009, 00:00
- Location: France
- Gender:
- Calculator(s):→ MyCalcs profile
- Class: -
- GitHub: debrouxl
Re: Patching 4.4.0.532 CAS to run on Non-CAS
.
Last edited by parrotgeek1 on 05 Jan 2021, 19:55, edited 1 time in total.
-
parrotgeek1Programmeur
Niveau 11: LV (Légende Vivante)- Posts: 748
- Joined: 29 Mar 2016, 01:22
- Location: This account is no longer used.
- Gender:
- Calculator(s):→ MyCalcs profile
Re: Patching 4.4.0.532 CAS to run on Non-CAS
Ok, I managed to set up some test ROM with nBoot+ControlX, although it was not easy.
The OS 4.4 has to be set as an ExtnD partition image which can be launched directly by ControlX.
Because Boot2 4.0.3 also includes CAS/non-CAS checks, so we won't be able to boot the OS the normal way.
The OS 4.4 has to be set as an ExtnD partition image which can be launched directly by ControlX.
Because Boot2 4.0.3 also includes CAS/non-CAS checks, so we won't be able to boot the OS the normal way.
- decrypt OS 4.4 image (19.5MiB...)
- insert a TI-Certificate header with correct sizes (see Boot2/Diags images and Hackspire doc)
- add the FF F0 footer
- compress the image with nsBar (down to 14.6MiB)
- take your real or emulated TI-Nspire CX non-CAS
- with nsPartManagic, resize the ExtnD partition to exactly 0x1d80 pages (no more because of the RAM, and no less)
- OSes 4.2-4.4 don't let enough RAM free space for the current BtMg to be able to flash such a huge image, so downgrade to the much lighter OS 3.1
- you'll then be able to flash the compressed 4.4 image with BtMg
- now install the 4.4 non-CAS OS to have it extract 4.4 compatible resources files in your system folders
- now go to the ControlX menu, and select te OS 4.4 image in the ExtnD partition - you may also set it as the default boot image
-
critorAdmin
Niveau 19: CU (Créateur Universel)- Posts: 41981
- Images: 15887
- Joined: 25 Oct 2008, 00:00
- Location: Montpellier
- Gender:
- Calculator(s):→ MyCalcs profile
- YouTube: critor3000
- Twitter: critor2000
- GitHub: critor
Re: Patching 4.4.0.532 CAS to run on Non-CAS
Enorme Bon,Excale, puisque tu voulais que je fasse ce patch moi-même, ben j'ai demandé de l'aide Tu peux mettre à jour nLaunchy maintenant ?
Mon profil TI-Planet | Devenez premium ! |
Modérateur de TI-Planet.org depuis décembre 2015, et membre de la communauté depuis Mai 2015. | Cliquez ci-dessus pour faire un don à TI-Planet.org via PayPal et devenir Donateur ou Premium (à partir de 3€) ! Vous aurez accès à des générations illimitées et prioritaires avec Mviewer GX Creator, ainsi qu'au forum secret ! En plus, vous pourrez être orange sur le chat |
-
GalacticPirateModo
Niveau 16: CC2 (Commandeur des Calculatrices)- Posts: 1156
- Images: 2
- Joined: 23 May 2015, 10:36
- Location: Hauts-de-Seine, France
- Gender:
- Calculator(s):→ MyCalcs profile
- Class: M2
Re: Patching 4.4.0.532 CAS to run on Non-CAS
I confirm the patch is working in Firebird with my local ControlX build.
4.4 CX CAS OS is running on a non-CAS CX setup.
Code added to the patchos.c file :
4.4 CX CAS OS is running on a non-CAS CX setup.
Code added to the patchos.c file :
- Code: Select all
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
}
-
critorAdmin
Niveau 19: CU (Créateur Universel)- Posts: 41981
- Images: 15887
- Joined: 25 Oct 2008, 00:00
- Location: Montpellier
- Gender:
- Calculator(s):→ MyCalcs profile
- YouTube: critor3000
- Twitter: critor2000
- GitHub: critor
Re: Patching 4.4.0.532 CAS to run on Non-CAS
Still on Firebird.
Removing the last 3 patches doesn't seem to change anything - it still seems to work perfectly.
But unless I made some error, there is a little problem with the home screen messages when launching OS 4.4 CAS without installing it (with the 4.4 non-CAS resource files instead of the 4.4 CAS resource files) :
Up to OS 3.6, such trick didn't seem to cause any problem.
Removing the last 3 patches doesn't seem to change anything - it still seems to work perfectly.
But unless I made some error, there is a little problem with the home screen messages when launching OS 4.4 CAS without installing it (with the 4.4 non-CAS resource files instead of the 4.4 CAS resource files) :
Up to OS 3.6, such trick didn't seem to cause any problem.
-
critorAdmin
Niveau 19: CU (Créateur Universel)- Posts: 41981
- Images: 15887
- Joined: 25 Oct 2008, 00:00
- Location: Montpellier
- Gender:
- Calculator(s):→ MyCalcs profile
- YouTube: critor3000
- Twitter: critor2000
- GitHub: critor
Return to Native: Ndless, Linux, ...
Who is online
Users browsing this forum: ClaudeBot [spider] and 2 guests