Join us on Discord!
You can help CodeWalrus stay online by donating here.

TI-Nspire CX CR4 (hardware revision W+) infos

Started by critor, February 24, 2016, 08:57:44 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Vogtinator

Quote from: DJ Omnimaga on February 25, 2016, 05:32:47 PM
Quote from: critor on February 25, 2016, 10:22:29 AM
50% speed loss for some games, only if they don't get updated with CR4 screen support.
What if the compatibility layer has frame skipping?

It runs with a fixed frequency of 30 Hz for now.
Doing some calculations, it's a speed loss of roughly 15% ((240*320px/frame * 30 frames/s * 10 cycles/px) / 156000000 cycles/s) + some overhead (MMU, data aborts, exception handling).
  • Calculators owned: TI-Nspie CX CAS, Casio FX-85ES

Dream of Omnimaga

Ah, that's not bad, then. In any case, I hope that a compatibility layer won't be too much hassle to write.

Also while at it, it would be nice if there was a compatibility layer for Ndless 1.0 and 2.0 programs as well, because there were some cool games back in the days like Block Dude that we can no longer play.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Vogtinator

QuoteAlso while at it, it would be nice if there was a compatibility layer for Ndless 1.0 and 2.0 programs as well, because there were some cool games back in the days like Block Dude that we can no longer play.
Looks like that just needs a recompile and minor modifications to run.
  • Calculators owned: TI-Nspie CX CAS, Casio FX-85ES

Dream of Omnimaga

That is a problem if the game is closed-source and the author left years ago, though (such as apcalc). Hence why I was suggesting a compatibility layer
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Vogtinator

New ndless 4.2 r2004 with full support for HW-W (including a compatibility layer that works most of the time): https://github.com/ndless-nspire/Ndless/releases/tag/v4.2
  • Calculators owned: TI-Nspie CX CAS, Casio FX-85ES

Dream of Omnimaga

  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Vogtinator

I can't say how the difference is as I do not have a HW-W calc, but gbc4nspire is definitely usable: https://github.com/ndless-nspire/Ndless/issues/26
  • Calculators owned: TI-Nspie CX CAS, Casio FX-85ES

Hayleia

I'm trying to compile Jetpack Impossible (to then make it compatible with the CR4 models) but I see this when I try.

make
nspire-gcc -Wall -W -marm -Os -c Jetpack.c -o Jetpack.o
mkdir -p .
nspire-ld Jetpack.o -o JetpackImpossible.elf
arm-none-eabi-ld: cannot find -lnspireio
arm-none-eabi-ld: cannot find -lndls
arm-none-eabi-ld: cannot find -lsyscalls
collect2: erreur: ld a retourné 1 code d'état d'exécution
Makefile:39 : la recette pour la cible « JetpackImpossible.elf » a échouée
make: *** [JetpackImpossible.elf] Erreur 1

No idea what I have to do.

Plus, I already had to change something in os.h to get to this point. It was looking for syscall-decl.h but it doesn't exist, so I replaced it with syscall-list.h. Not sure if I was supposed to do that.

critor

I didn't have to change anything in os.h in order to rebuild Jetpack impossible.
Something seems wrong with your SDK...

Hayleia

Well I installed it today ((2016.03.13 - 01:52:37) Hayleia: (et lol le SDK qui s'installe toujours)) using the script here on an Arch Linux I installed on Wednesday, so I guess I can't have dirty things that prevent things to go well :P

critor

As you have to build it yourself on your own hardware, many things may interfere...

GalacticPirate

  • Calculators owned: TI-Nspire CX CAS (4.4.0), TI-83 Premium CE (5.2.1), TI-83 Plus.fr USB (2.55MP), Casio fx-92 Collège 2D+, Casio fx-92 Collège 2D
  • Consoles, mobile devices and vintage computers owned: Nintendo Wii U (NSMBU+NSLU premium pack, 5.5.1E), New Nintendo 3DS XL (Monster Hunter Generations, Sys 11.5.0-38E)

Dream of Omnimaga

Quote from: Vogtinator on March 13, 2016, 11:06:55 AM
I can't say how the difference is as I do not have a HW-W calc, but gbc4nspire is definitely usable: https://github.com/ndless-nspire/Ndless/issues/26
What about nDoom, Crafti and gp-SP?
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Vogtinator

#28
Quote from: Hayleia on March 13, 2016, 12:23:48 PM
I'm trying to compile Jetpack Impossible (to then make it compatible with the CR4 models) but I see this when I try.

make
nspire-gcc -Wall -W -marm -Os -c Jetpack.c -o Jetpack.o
mkdir -p .
nspire-ld Jetpack.o -o JetpackImpossible.elf
arm-none-eabi-ld: cannot find -lnspireio
arm-none-eabi-ld: cannot find -lndls
arm-none-eabi-ld: cannot find -lsyscalls
collect2: erreur: ld a retourné 1 code d'état d'exécution
Makefile:39 : la recette pour la cible « JetpackImpossible.elf » a échouée
make: *** [JetpackImpossible.elf] Erreur 1

No idea what I have to do.

Plus, I already had to change something in os.h to get to this point. It was looking for syscall-decl.h but it doesn't exist, so I replaced it with syscall-list.h. Not sure if I was supposed to do that.

That header file is generated by a PHP script during "make" in ndless-sdk/libsyscalls.

Quote from: DJ Omnimaga on March 13, 2016, 10:09:03 PM
Quote from: Vogtinator on March 13, 2016, 11:06:55 AM
I can't say how the difference is as I do not have a HW-W calc, but gbc4nspire is definitely usable: https://github.com/ndless-nspire/Ndless/issues/26
What about nDoom, Crafti and gp-SP?

nDoom is not supported by lcd_compat due to using 8bpp. Critor is currently porting it.
Crafti (nGL) works fine so far, but I'll port it soon as well.
gpSP seems to work fine in lcd_compat, but it can be ported as well if necessary.
  • Calculators owned: TI-Nspie CX CAS, Casio FX-85ES

Dream of Omnimaga

Ok thanks for the info.  I wonder what display modes are supported on those new calcs... The 84+CSE supported 160*240 and 320*240, at 3 or 16 bits, while the 84+CE supports 320*240 at 1, 2, 4, 8 or 16 bits colors.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Powered by EzPortal