The shoutbox is currently out of service. Join us on Discord instead.
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 1 Guest 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).

DJ 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.

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.

DJ 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

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

DJ Omnimaga


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

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...


DJ 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?

Vogtinator

March 14, 2016, 01:59:51 pm #28 Last Edit: March 14, 2016, 02:01:51 pm by Vogtinator
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.

DJ 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.

Powered by EzPortal