Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: gameblabla on April 25, 2015, 09:30:08 pm

Title: SDL ports for Nspire
Post by: gameblabla on April 25, 2015, 09:30:08 pm
Always use this first post to get the latest version.

Emulators/Engine :
PicoDrive (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg402313/#msg402313)
Sega Genesis emulator.
PocketSNES (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg402285/#msg402285)
Super Nintendo emulator based on Snes9x 1.43.
Vecx (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg401769/#msg401769)
Vectrex emulator. Runs pretty well if overclocked
PokeMini (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg402247/#msg402247)
Pokemon Mini emulator
Oswan (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg402285/#msg402285)
Wonderswan emulator
Dgen (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg400880/#msg400880)
Genesis emulator. Slow
LameNES (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg400970/#msg400970)
NES emulator. Pretty slow too
Zboy (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg400843/#msg400843)
Gameboy emulator. slow
Potator (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg402285/#msg402285)
Watara Supervision emulator. Overclocking advised
ScummVM (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg402167/#msg402167)
Virtual machine for old point-and-click games.
raw (Another World) (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg402167/#msg402167)
Port of raw, a bytecode interpreter for Another World.
REMiniscene (Flashback) (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg404998/#msg404998)
Recreation of Flashback.
Cannonball (https://ourl.ca/21999/406568)
OutRun engine.

Games :
Cave Story (https://www.omnimaga.org/ti-nspire-projects/cave-story-for-ti-nspire-cx/msg400681/#msg400681)
Port of Cave story based on NXEngine.
The Last Mission (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg400708/#msg400708)
Side-view Arcade game.
Sqrxz4 (http://www.sqrxz.de/sqrxz-4/)
Platforming game for masochists and the latest sqrxz game.
Liero (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg401019/#msg401019)
Worms-like game.
Sqrxz3 (http://www.sqrxz.de/sqrxz-3/)
Platforming game for masochists.
Sqrxz1 (http://www.sqrxz.de/sqrxz/)
First sqrxz game.
Lolicopocalypse (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg401732/#msg401732)
Ludum game by quasist.
Falling Time (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg401795/#msg401795)
Falldown clone ON CRACK
Tale-Tail (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg401798/#msg401798)
Puzzle game similar to Tetris attack.
OpenTitus (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg401934/#msg401934)
Open-source engine for "Titus the fox" game.
Freeblocks (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg402039/#msg402039)
Another puzzle game similar to Tetris Attack / Bejeweled.
Homing Fever (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg404943/#msg404943)
Survival game where you have to avoid getting hit by missiles.

Misc:
RoQPlayer (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg402011/#msg402011)
RoQ Video player for TI Nspire.

============================
Hello everyone !
Rather than make a new thread each time i port an SDL application/game to Ti nspire,
i have decided to make a single topic where i will post everything i did.

PokeMini
(https://gameblabla.olympe.in/img/pokemini.png)
PokeMini is a pokémon mini emulator by justburn.
It works pretty fast and doesn't require a bios.

The last mission
(https://gameblabla.olympe.in/img/lastmission.png)
The last mission is a game originally made by PEDRO RUIZ for DOS/MSX2.
It was reprogrammed by Dmitry Smagin in C/SDL.
Full description :
Spoiler For Spoiler:
You control a tank-like robot which can be divided in two: you rotate caterpillar and
head-cannon, and the head part can fly off on its own. However, the head can only
survive separately for a short amount of time, and your restart position is dictated by the
location of the body, even if the head has moved forward through further screens.
Therefore, the difficulty of the game was in making it possible to advance with the
assembled robot's two parts.

Source code : https://gameblabla.olympe.in/files/lastmission-src.zip (https://gameblabla.olympe.in/files/lastmission-src.zip)

Make sure to read the readme for each game/app !
Enjoy
Title: Re: SDL ports for Nspire
Post by: Ivoah on April 25, 2015, 11:36:17 pm
Wow! You're really cranking out the ports! Keep up the great work!  :thumbsup:
Title: Re: SDL ports for Nspire
Post by: gameblabla on April 30, 2015, 07:29:23 pm
Hello,
I have finished the port of OSwan and i have improved the last mission as well.

Oswan
(https://gameblabla.olympe.in/img/oswan_1.png)

Oswan is a GPL'd Wonderswan emulator.
The games are running pretty cool though i would still recommend to overclock your nspire.

Source code : https://github.com/gameblabla/oswan

The last mission
The last mission was also improved and the framerate is more consistent now.
Download link is the same, refer to my previous post.

That's all !
I'm sure you'll like my port of Oswan, even though most games don't run fullspeed.
Now i'm working on Handy again...

Enjoy
Title: Re: SDL ports for Nspire
Post by: Ivoah on May 01, 2015, 12:12:54 am
Any chance of you porting/making an SNES emu? That's what the Nspire really needs.
Title: Re: SDL ports for Nspire
Post by: SpiroH on May 01, 2015, 05:57:26 am
Any chance of you porting/making an SNES emu? That's what the Nspire really needs.

Well, there's already a NES emulator for NSpire (not quite a SNES emulator, but it could be a starting point):

NESpire v0.30:  http://www.ticalc.org/archives/files/fileinfo/432/43217.html

How to install NESpire emulator on a ti nspire!!!
Title: Re: SDL ports for Nspire
Post by: Vogtinator on May 01, 2015, 10:34:05 am
There is only one SNES emulator that works both fast enough and supports most games: Snes9x.
ZSNES is x86 only, so it won't work on Nspires. I tried a quick port of Snes9x, but didn't succeed, all I got out of it was a frozen black screen.
Title: Re: SDL ports for Nspire
Post by: gameblabla on May 01, 2015, 11:21:53 am
No SNES emulators will run at decent speed on TI nspire.
Snes9x is not very fast, even the older versions.
We will have to wait the ZSNES team to complete the C/C++ rewrite before we can talk about having a decent SNES emulator on TI nspire.

Speaking about the NES, i did tried to port FCEUX but i failed because C++ support in Ndless is limited and lacking so i can't port it yet.
So yeah.
Title: Re: SDL ports for Nspire
Post by: Ivoah on May 01, 2015, 12:00:48 pm
No SNES emulators will run at decent speed on TI nspire.

Well, gpSP runs pretty well (for some games) and the gameboy advance is more powerful then the SNES (someone even made a SNES emu for the GBA)  so a SNES emu should be feasible.
Title: Re: SDL ports for Nspire
Post by: Vogtinator on May 01, 2015, 12:08:22 pm
Quote
Speaking about the NES, i did tried to port FCEUX but i failed because C++ support in Ndless is limited and lacking so i can't port it yet.
Except for threads everything should be working. What doesn't work?
Title: Re: SDL ports for Nspire
Post by: gameblabla on May 01, 2015, 09:13:29 pm
Quote
Except for threads everything should be working. What doesn't work?
Nevermind, i forgot to pass -std=c++11 to the compiler.
I wasn't able to compile it though...
Using g++ ( GCC 4.8 ) works just fine but with nspire-g++ ( GCC 4.9 ), i'm getting lots of "undefined to" errors when linking.
This is what i was trying to compile by the way : https://github.com/dmitrysmagin/fceu320-rzx50 (https://github.com/dmitrysmagin/fceu320-rzx50)

Finding a good emulator is not easy : They either don't use SDL, don't have a gui or they are too complicated.
Title: Re: SDL ports for Nspire
Post by: Vogtinator on May 02, 2015, 07:24:13 am
Quote
Using g++ ( GCC 4.8 ) works just fine but with nspire-g++ ( GCC 4.9 ), i'm getting lots of "undefined to" errors when linking.
This is what i was trying to compile by the way : https://github.com/dmitrysmagin/fceu320-rzx50
You have to resolve them in a case-by-case basis. It's not the compilers fault.

Quote
Finding a good emulator is not easy
Definitely not, emulators are complex by nature.
Title: Re: SDL ports for Nspire
Post by: gameblabla on May 03, 2015, 03:11:38 pm
I have ported Zboy to TI Nspire.
Zboy is a portable gameboy emulator by Mateusz Viste.

Yeah i know, why would you want to use a slower emulator when we already have one that is good enough ?
Because i wanted to see if SDL File browser could be used for porting command-line only emulators.

Only Gameboy classic games are emulated, this is a limitation of Zboy.
It works and you can try it by download it in the attachments below.
Be warned though, it's very slow.

Now maybe i'll give the numerous versions of Snes9x a try...
Title: Re: SDL ports for Nspire
Post by: Ivoah on May 04, 2015, 09:43:27 am
You might want to consider getting a GitHub account (if you don't already have one) and putting these projects up there.
Title: Re: SDL ports for Nspire
Post by: gameblabla on May 05, 2015, 02:33:34 pm
Hello guys,
Just want to let you know I have sucessfully ported Dgen to TI nspire !

Dgen
(http://img110.xooimage.com/files/a/d/b/sanik-4b18ee0.png)
Dgen is a megadrive/genesis emulator using SDL.
On Ti nspire, it can already run most of the megadrive/genesis games but it's very, very slow.
Instructions on how to use it is inside the readme.

Quote
You might want to consider getting a GitHub account (if you don't already have one) and putting these projects up there.
I already have a github and i was already considering this. I think i'll do it, thanks ivoah.
Title: Re: SDL ports for Nspire
Post by: ajorians on May 06, 2015, 09:33:02 am
Wow!  Really awesome!  I'll have to give this a try!

Thank you for your hard work!   :)
Title: Re: SDL ports for Nspire
Post by: Ivoah on May 06, 2015, 08:02:46 pm
What is the difference between the _gen and normal versions of these programs?
Title: Re: SDL ports for Nspire
Post by: gameblabla on May 06, 2015, 08:18:41 pm
Quote
What is the difference between the _gen and normal versions of these programs?
Gen here stands for Genzehn.
Genzehn is an executable format and unlike ELF, it can be compressed. (which is useful on devices with low space like the Nspire)
But it does not work on Ndless 3.1, unlike the normal version.
Title: Re: SDL ports for Nspire
Post by: Ivoah on May 06, 2015, 08:29:36 pm
Quote
What is the difference between the _gen and normal versions of these programs?
Gen here stands for Genzehn.
Genzehn is an executable format and unlike ELF, it can be compressed. (which is useful on devices with low space like the Nspire)
But it does not work on Ndless 3.1, unlike the normal version.

Hmm, well those ones don't seem to work on my 3.6 Nspire
Title: Re: SDL ports for Nspire
Post by: gameblabla on May 06, 2015, 09:15:26 pm
Quote
Hmm, well those ones don't seem to work on my 3.6 Nspire
It seems like you're right.
I have installed OS 3.6 along with Ndless 3.6 and the genzehn version (with compression on) do not work.
The normal versions still work.

It seems like you need a version of Ndless from Git (Or Ndless 3.9) to run them...
Thanks Ivoah.
EDIT : I have updated all the links, i no longer provide a genzehn version.
I have also recompiled PokeMini with Ofast, it should be slightly faster.
Title: Re: SDL ports for Nspire
Post by: Ivoah on May 06, 2015, 09:32:12 pm
How do you exit the genesis emu? Also, why does it seem like it has frameskip set to >9000?
Title: Re: SDL ports for Nspire
Post by: gameblabla on May 06, 2015, 10:07:36 pm
Quote
How do you exit the genesis emu? Also, why does it seem like it has frameskip set to >9000?
To exit, you have to pres ESC. But it's so slow that you need to constanly press that button in order to exit.
If you're too slow, just press the reset button behind your calc.
DGen is skipping frames when it becomes slow, which means there's still a lot of work to do on DGen.
It runs full speed on TI nspire... with a frameskip of 60.

Sorry for the clickbaiting but i just wanted to see your reaction(s).
Snes9X takes about the same amount of CPU cycles as DGen.
Unless someone really wants to steps in and improve it, it's not going to happen.

Title: Re: SDL ports for Nspire
Post by: Ivoah on May 06, 2015, 10:15:05 pm
Quote
How do you exit the genesis emu? Also, why does it seem like it has frameskip set to >9000?
To exit, you have to pres ESC. But it's so slow that you need to constanly press that button in order to exit.
If you're too slow, just press the reset button behind your calc.
DGen is skipping frames when it becomes slow, which means there's still a lot of work to do on DGen.
It runs full speed on TI nspire... with a frameskip of 60.

Sorry for the clickbaiting but i just wanted to see your reaction(s).
Snes9X takes about the same amount of CPU cycles as DGen.
Unless someone really wants to steps in and improve it, it's not going to happen.

Well then, you might want to edit the post.
Title: Re: SDL ports for Nspire
Post by: Vogtinator on May 07, 2015, 04:47:10 pm
There is no downside to using Zehn, as make-prg generates backwards-compatible tns's, even with compression enabled.
It also doesn't make any sense to have only the Zehn file and no backwards-compatible one as it adds not even 10k.
Title: Re: SDL ports for Nspire
Post by: gameblabla on May 11, 2015, 07:54:02 pm
Oswan
I have improved Oswan for TI nspire and most games run faster than before.
Source code can now be found here : https://github.com/gameblabla/oswan

LameNES
I have ported LameNES to TI nspire, a very simple NES emulator that can emulate Super Mario Bros.
(and some other games too with some graphical glitches)
This was using SDL but this port uses both n2DLib for graphics and SDL for input.
It's pretty slow unfortunely, even with n2DLib. (Everything is interpreted)


Gee, only oswan runs decently on Ti nspire, i think i will stop porting emulators.
Downloads in the attachments and source code will be soon available on github.

SQRXZ4
I have finished porting SQRXZ4 to the TI nspire too.
That's right : Sqrxz is coming back to the ti calculators, where it originated from.
It is available at : http://www.sqrxz.de/sqrxz-4/ (http://www.sqrxz.de/sqrxz-4/)

That's all for now, thanks.
Title: Re: SDL ports for Nspire
Post by: gameblabla on May 16, 2015, 04:25:11 pm
Here's another batch of games for ya.

Liero
(http://www.gcw-zero.com/files/upload/img/liero.png)
Ported Liero to the TI Nspire.
Liero is kind of like Worms except it's realtime instead of being turn-by-turn.

Sqrxz 3
I have ported Sqrxz3 to the TI Nspire  and it should be soon available at :
http://www.sqrxz.de/sqrxz-3/ (http://www.sqrxz.de/sqrxz-3/)
Title: Re: SDL ports for Nspire
Post by: Ivoah on May 16, 2015, 06:17:46 pm
Where's the data folder for liero?
Title: Re: SDL ports for Nspire
Post by: Adriweb on May 18, 2015, 09:48:25 am
https://github.com/gameblabla/liero-nspire/tree/master/data ?
Title: Re: SDL ports for Nspire
Post by: Ivoah on May 18, 2015, 09:51:46 am
https://github.com/gameblabla/liero-nspire/tree/master/data ?

Alright, thanks. It wasn't in the zip with the binary.
Title: Re: SDL ports for Nspire
Post by: gameblabla on May 19, 2015, 07:37:38 pm
Quote
Alright, thanks. It wasn't in the zip with the binary.
Yeah, i forgot to put the data in when you downloaded it.
Quickly fixed it after i saw your post.

Anyways, i was not able to succesfully port everything.
So i will just make a list of my failed attempts :

ProSystem : An Atari 7800 emulator. When attempt to emulate a game, it shows a garbled screen and then it becomes stuck.
I tried the old Sally video core but i got instead a black screen. (but i can see the fps running)
OpenTyrian : Crashes when you start a new game.
Genesis Plus GX : Works much faster than Dgen but unfortunely, it crashes after the Sega screen
on most games.
The only game that goes after the black screen is Flicky and that game crashes when you get in-game.
Homebrew games might work on it though. (Yay ! Crazy Bus on my calculator)
I have included a pre-alpha binary for those who want to try.
Genesis Plus (Charles Mcdonald's version) : Can't even build for Linux.
I'm in the process of fixing it though.
NavIt, a gps thingy : There's no support for threads. Will try later when Voginator adds support for threads.
Psx4ALL : Crashes the calc right after you start it.
Mgba : Can't be built without pthread for now. There are defines for buidling without threads
but this does not work without threads unfortunely.
When the mGBA team fixes this, i will be able to do a quick port.
Hopefully they don't drop support for SDL 1.2 !
NeoPop-SDL : Crashes when you load a game.
I tried to investigate in order to know why and found the culprit.
This is really, really strange and way beyond me.

Spoiler For Spoiler:
The culprit for the crashes is found in TLCS900h_interpret.c :
When TLCS900h_interpret is calling (*decodeExtra[first])();
it's crashing right away.
Calling (*decode[first])(); crashes the calc too...

I have the same issues for some games with Oswan.
Code: [Select]
static void (*decodeExtra[256])() =
{
/*0*/ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
/*1*/ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
/*2*/ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
/*3*/ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
/*4*/ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
/*5*/ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
/*6*/ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
/*7*/ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
/*8*/ ExXWA, ExXBC, ExXDE, ExXHL, ExXIX, ExXIY, ExXIZ, ExXSP,
ExXWAd, ExXBCd, ExXDEd, ExXHLd, ExXIXd, ExXIYd, ExXIZd, ExXSPd,
/*9*/ ExXWA, ExXBC, ExXDE, ExXHL, ExXIX, ExXIY, ExXIZ, ExXSP,
ExXWAd, ExXBCd, ExXDEd, ExXHLd, ExXIXd, ExXIYd, ExXIZd, ExXSPd,
/*A*/ ExXWA, ExXBC, ExXDE, ExXHL, ExXIX, ExXIY, ExXIZ, ExXSP,
ExXWAd, ExXBCd, ExXDEd, ExXHLd, ExXIXd, ExXIYd, ExXIZd, ExXSPd,
/*B*/ ExXWA, ExXBC, ExXDE, ExXHL, ExXIX, ExXIY, ExXIZ, ExXSP,
ExXWAd, ExXBCd, ExXDEd, ExXHLd, ExXIXd, ExXIYd, ExXIZd, ExXSPd,
/*C*/ Ex8, Ex16, Ex24, ExR32, ExDec, ExInc, 0, ExRC,
0, 0, 0, 0, 0, 0, 0, 0,
/*D*/ Ex8, Ex16, Ex24, ExR32, ExDec, ExInc, 0, ExRC,
0, 0, 0, 0, 0, 0, 0, 0,
/*E*/ Ex8, Ex16, Ex24, ExR32, ExDec, ExInc, 0, ExRC,
0, 0, 0, 0, 0, 0, 0, 0,
/*F*/ Ex8, Ex16, Ex24, ExR32, ExDec, ExInc, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0
};
static void (*decodeExtra[256])() =
{
/*0*/ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
/*1*/ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
/*2*/ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
/*3*/ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
/*4*/ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
/*5*/ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
/*6*/ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
/*7*/ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
/*8*/ ExXWA, ExXBC, ExXDE, ExXHL, ExXIX, ExXIY, ExXIZ, ExXSP,
ExXWAd, ExXBCd, ExXDEd, ExXHLd, ExXIXd, ExXIYd, ExXIZd, ExXSPd,
/*9*/ ExXWA, ExXBC, ExXDE, ExXHL, ExXIX, ExXIY, ExXIZ, ExXSP,
ExXWAd, ExXBCd, ExXDEd, ExXHLd, ExXIXd, ExXIYd, ExXIZd, ExXSPd,
/*A*/ ExXWA, ExXBC, ExXDE, ExXHL, ExXIX, ExXIY, ExXIZ, ExXSP,
ExXWAd, ExXBCd, ExXDEd, ExXHLd, ExXIXd, ExXIYd, ExXIZd, ExXSPd,
/*B*/ ExXWA, ExXBC, ExXDE, ExXHL, ExXIX, ExXIY, ExXIZ, ExXSP,
ExXWAd, ExXBCd, ExXDEd, ExXHLd, ExXIXd, ExXIYd, ExXIZd, ExXSPd,
/*C*/ Ex8, Ex16, Ex24, ExR32, ExDec, ExInc, 0, ExRC,
0, 0, 0, 0, 0, 0, 0, 0,
/*D*/ Ex8, Ex16, Ex24, ExR32, ExDec, ExInc, 0, ExRC,
0, 0, 0, 0, 0, 0, 0, 0,
/*E*/ Ex8, Ex16, Ex24, ExR32, ExDec, ExInc, 0, ExRC,
0, 0, 0, 0, 0, 0, 0, 0,
/*F*/ Ex8, Ex16, Ex24, ExR32, ExDec, ExInc, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0
};

static void (*decode[256])() =
{
/*0*/ sngNOP, sngNORMAL, sngPUSHSR, sngPOPSR, sngMAX, sngHALT, sngEI, sngRETI,
sngLD8_8, sngPUSH8, sngLD8_16, sngPUSH16, sngINCF, sngDECF, sngRET, sngRETD,
/*1*/ sngRCF, sngSCF, sngCCF, sngZCF, sngPUSHA, sngPOPA, sngEX, sngLDF,
sngPUSHF, sngPOPF, sngJP16, sngJP24, sngCALL16, sngCALL24, sngCALR, iBIOSHLE,
/*2*/ sngLDB, sngLDB, sngLDB, sngLDB, sngLDB, sngLDB, sngLDB, sngLDB,
sngPUSHW, sngPUSHW, sngPUSHW, sngPUSHW, sngPUSHW, sngPUSHW, sngPUSHW, sngPUSHW,
/*3*/ sngLDW, sngLDW, sngLDW, sngLDW, sngLDW, sngLDW, sngLDW, sngLDW,
sngPUSHL, sngPUSHL, sngPUSHL, sngPUSHL, sngPUSHL, sngPUSHL, sngPUSHL, sngPUSHL,
/*4*/ sngLDL, sngLDL, sngLDL, sngLDL, sngLDL, sngLDL, sngLDL, sngLDL,
sngPOPW, sngPOPW, sngPOPW, sngPOPW, sngPOPW, sngPOPW, sngPOPW, sngPOPW,
/*5*/ e, e, e, e, e, e, e, e,
sngPOPL, sngPOPL, sngPOPL, sngPOPL, sngPOPL, sngPOPL, sngPOPL, sngPOPL,
/*6*/ sngJR, sngJR, sngJR, sngJR, sngJR, sngJR, sngJR, sngJR,
sngJR, sngJR, sngJR, sngJR, sngJR, sngJR, sngJR, sngJR,
/*7*/ sngJRL, sngJRL, sngJRL, sngJRL, sngJRL, sngJRL, sngJRL, sngJRL,
sngJRL, sngJRL, sngJRL, sngJRL, sngJRL, sngJRL, sngJRL, sngJRL,
/*8*/ src_B, src_B, src_B, src_B, src_B, src_B, src_B, src_B,
src_B, src_B, src_B, src_B, src_B, src_B, src_B, src_B,
/*9*/ src_W, src_W, src_W, src_W, src_W, src_W, src_W, src_W,
src_W, src_W, src_W, src_W, src_W, src_W, src_W, src_W,
/*A*/ src_L, src_L, src_L, src_L, src_L, src_L, src_L, src_L,
src_L, src_L, src_L, src_L, src_L, src_L, src_L, src_L,
/*B*/ dst, dst, dst, dst, dst, dst, dst, dst,
dst, dst, dst, dst, dst, dst, dst, dst,
/*C*/ src_B, src_B, src_B, src_B, src_B, src_B, e, reg_B,
reg_B, reg_B, reg_B, reg_B, reg_B, reg_B, reg_B, reg_B,
/*D*/ src_W, src_W, src_W, src_W, src_W, src_W, e, reg_W,
reg_W, reg_W, reg_W, reg_W, reg_W, reg_W, reg_W, reg_W,
/*E*/ src_L, src_L, src_L, src_L, src_L, src_L, e, reg_L,
reg_L, reg_L, reg_L, reg_L, reg_L, reg_L, reg_L, reg_L,
/*F*/ dst, dst, dst, dst, dst, dst, e, sngLDX,
sngSWI, sngSWI, sngSWI, sngSWI, sngSWI, sngSWI, sngSWI, sngSWI
};

Title: Re: SDL ports for Nspire
Post by: gameblabla on May 28, 2015, 08:09:16 am
Today, i have ported this Watara Supervision emulator to Ti Nspire.

Potator
(https://gameblabla.olympe.in/img/potator.png)
Potator is not a potato emulator but a Watara Supervision one.
It runs at 45 FPS (no frameskipping) on my Ti nspire CX overclocked at 264 Mhz.
All the games are playable as far as i know.

Here's some Supervision games i recommend you to check out :
- Jaguar Bomber : Good looking shoot em up thingy.
- Chimera : Cool isometric game but i don't get it. (Choose rotational for controls at the titlescreen)
- Balloon Flight : Clone of Ballon flight of the same name.
There's Cave Wonders which is apparently great but i have not tried that game yet.
Title: Re: SDL ports for Nspire
Post by: rwill on June 01, 2015, 03:38:24 pm
Did someone say SDL ports ?
Title: Re: SDL ports for Nspire
Post by: Ivoah on June 01, 2015, 03:45:18 pm
Did someone say SDL ports ?

What game is that?
Title: Re: SDL ports for Nspire
Post by: rwill on June 01, 2015, 03:51:16 pm
What game is that?

It is Monkey Island, released in 1990. Thanks for making me feel old.
Title: Re: SDL ports for Nspire
Post by: gameblabla on June 01, 2015, 06:07:46 pm
Did someone say SDL ports ?
Hmm, it seems like you're trying to port ScummVM...
It's true that i forgot to port that one.
If that's what you're trying to do, good luck.

I'll try to port it too.
Title: Re: SDL ports for Nspire
Post by: Ivoah on June 01, 2015, 07:39:56 pm
Would it be possible to port MAME? It should be able to run at least some arcade cabinets, pac-man was only a z80 running at 3.072 MHz
Title: Re: SDL ports for Nspire
Post by: gameblabla on July 01, 2015, 05:08:46 pm
Hello, it's been a while.
Every attempt has been a failure, including ScummVM.
I tried to port Griel's Quest as well but it seems like nSDL is not 100% compatible with SDL...

PokeMini
JustBurn has updated his emulator to version 0.6.
You can now display the current framerate on screen, it is a little faster too,
and configuration files are provided now. (So no need to reconfigure PokeMini)
You can download it here, first post. (see attached files) (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg400708/#msg400708)

I'll port the last two Sqrxz games and their Fruity game, if it gets finished.
After that, i think i'll be done with Ti Nspire for a while.

Would it be possible to port MAME? It should be able to run at least some arcade cabinets, pac-man was only a z80 running at 3.072 MHz
I attempted it but it was too difficult. If anyone else wants to give it a try...
(SPOILER: IT'S NEVER GOING TO HAPPEN)
Title: Re: SDL ports for Nspire
Post by: gameblabla on July 06, 2015, 04:52:52 pm
Bump, sry for the double post.
I have ported another game, this time a Ludum Dare game.

Lolicopocalypse
(https://gameblabla.olympe.in/img/llc_scr1.png)(https://gameblabla.olympe.in/img/llc_scr2.png)
It's called Lolicopocalypse and it was made by quasist.
And that's all i have to say about it.
I won't spoil you any further,
JUST PLAY THE GAME YOURSELF GODDAMNIT !

Also, might be NSFW, forbidden to puritans. (It's implicit, not explicit)

Game is attached to this post

joy
Title: Re: SDL ports for Nspire
Post by: gameblabla on July 09, 2015, 09:09:44 pm
Bump, sorry i'm all alone.
At this rate, i might get banned.

Anyways, i have ported a Vectrex emulator.

Vecx
(https://tiplanet.org/modules/archives/captures/x1437177942vecx_scr1.png.pagespeed.ic.ZVKWOZqp4M.png)
It runs pretty well, if you overclock your nspire and most games are compatible.
The only problem is that due to the low resolution of the Ti Nspire and the Vectrex being based on vectors, it looks crap.
Overlays are supported, see readme for more details.

As usual, you can download it below in the attachments.
Title: Re: SDL ports for Nspire
Post by: Ivoah on July 09, 2015, 09:22:24 pm
Bump, sorry i'm all alone.
At this rate, i might get banned.

Bumps are fine if they're more than 24 hours apart and are constructive/have content.
Title: Re: SDL ports for Nspire
Post by: gameblabla on July 13, 2015, 01:53:59 pm
Hoy,
today, i have two games for ya.

Sqrxz1 (Remake)
(https://tiplanet.org/modules/archives/captures/1436748396sqrxz_screenshot1.png.pagespeed.ce.5LeCLkjxp2.png)
I have ported Sqrxz1 for TI Nspire.
The only problem is that due to bugs and technical problems, the highscore screen is not available.
You can download it at http://sqrxz.de (http://sqrxz.de)

Falling Time
(https://tiplanet.org/modules/archives/captures/1436809256scr.png)
Falling Time is a cool game made by Cong Xu and Nebuleon originally only available for GCW Zero.
It's based on FallDown but it has a higher empathis on speed and scoring.
If you can overclock your ti nspire, do it.
You can download it in the attachments below.
Title: Re: SDL ports for Nspire
Post by: TIfanx1999 on July 14, 2015, 09:32:25 pm
If ScummVM got ported that would be pretty awesome. ;D Regardless, nice work on what has been ported already. :thumbsup:
Title: Re: SDL ports for Nspire
Post by: gameblabla on July 15, 2015, 12:49:20 am
Today, i have ported another game.

Tail-Tale
(https://gameblabla.olympe.in/img/tailtale_scr2.png)
It's puzzle game similar to Tetris Attack on SNES.

To hold a block, press CTRL, SHIFT or DEL.
While holding a block, you can move it.
When you're happy, release it.
Align 4 or more blocks of the same color to clear them !

You can download it either on my website (https://gameblabla.olympe.in/files/tailtale-nspire.zip) or at tiplanet. (https://tiplanet.org/forum/archives_voir.php?id=290570)
(The game is too big to be attached, 1.1MB)

If ScummVM got ported that would be pretty awesome. ;D Regardless, nice work on what has been ported already. :thumbsup:
Thanks, i tried to port ScummVM but i failed and i don't think i'll try again, especially since rwill is working on it. (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg401178/#msg401178)
(Unless of course he lied and the screenshot was a mock-up. Stupid boy...)
Title: Re: SDL ports for Nspire
Post by: rwill on July 16, 2015, 04:40:47 pm
Regarding ScummVM, its running and is now only using nSDL for graphical output, everything else is bolted to the Nspire hardware ( ok, its only timing, null sound and input ). Now this state was already done when I made the post in question, then "real life" got in the way.

So graphics still need to be replaced with something Nspire native as nSDL is "not so good". There also needs to be a valid key mapping from Nspire -> ScummVM games so games can actually be played and finished. ScummVM supports a lot of games and it appears there is no list of keys which are a required baseline to match them all. In addition I also do not have all games supported by ScummVM available to test.

It would be kind of a bad style to do a release and then have someone come up and say "It wants you to press this key but this key is not available on the NSpire ?". This would be a really significant sign of a rushed release, something that plagues certain PC game releases also ( real game breaking bugs ) and I rather go slow and mostly correct than go "Hey it shows the Intro and Menus, I am done".
Title: Re: SDL ports for Nspire
Post by: TIfanx1999 on July 16, 2015, 04:56:16 pm
Very true, take your time. I'm glad to hear that you're still working on it though. :)
Title: Re: SDL ports for Nspire
Post by: gameblabla on July 30, 2015, 02:11:59 am
Boy, how time flies !
I think most people forgot i ported Cave Story to Nspire and i almost forgot it too.
Anyways, didn't do much except for this...

Opentitus
(https://gameblabla.olympe.in/img/titus.png)
OpenTitus is an open source reimplementation of Titus the fox, a game originally made by Titus in 1992
and is in fact, a rebranded version of a game called Moktar, made by Titus as well.

You need to own a copy of "Titus the fox" or "Moktar" (the MS-DOS port) in order to play it.
You can download the open-source reimplementation in the attachments.

I obviously can't direct link it and if you can't find it, i highly encourage you to pirate yourself and google it !
(if you end up in prison because of titus the fox, i'm not responsible)

I forgot to mention : it runs really well !
It runs fullspeed without any need for overclocking or some crap like that.

Quote
Regarding ScummVM, its running and is now only using nSDL for graphical output, everything else is bolted to the Nspire hardware ( ok, its only timing, null sound and input ). Now this state was already done when I made the post in question, then "real life" got in the way...
That input issue sounds no good !
Might be a good idea to release at least the sauce on gitlab or github.
I mean, i've seen so many people saying that and then 5 years later, they have not released anything.

Update 08/07/15: Updated the controls, more instructions in readme.
Title: Re: SDL ports for Nspire
Post by: gameblabla on August 05, 2015, 04:58:17 pm
RoQPlayer
RoQ is a video format initially used for the 11th Hour game and later used for Quake 3.
It is similar to MPEG1 and yet it is more power efficient and it will run on i486-class hardware.

Download link : https://tiplanet.org/forum/archives_voir.php?id=296214 (https://tiplanet.org/forum/archives_voir.php?id=296214)

You need to convert your videos to RoQ.
Here's how to use it :
Code: [Select]
ffmpeg -i myvideo.avi -s 320x240 -aspect 320:240 -r 30 -an output.roqWhere myvideo.avi is your video to convert.
Title: Re: SDL ports for Nspire
Post by: annoyingcalc on August 05, 2015, 05:00:38 pm
Would it be possible to port ScummVM? (For most games it would require a usb stick)




Edit: I'm stupid I should have read the thread.
Title: Re: SDL ports for Nspire
Post by: gameblabla on August 05, 2015, 05:01:50 pm
Would it be possible to port ScummVM? (For most games it would require a usb stick)
rwill is already working it, he talked about it here. (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg401820/#msg401820)
Just be more patient dude, you're... annoying.
Title: Re: SDL ports for Nspire
Post by: annoyingcalc on August 05, 2015, 05:03:15 pm
Sorry, I just jumped because for the last few days I had been searching for a binary of ScummVM for ipodlinux. I got too exited because I had been getting nowhere in my search and read afterwards.
Title: Re: SDL ports for Nspire
Post by: gameblabla on August 08, 2015, 09:52:43 pm
Another day, another port.

FreeBlocks
(https://tiplanet.org/modules/archives/captures/x1439084683freeblocks.png.pagespeed.ic.VqQ1lX2YQk.jpg)
FreeBlocks is a puzzle game made by Justin Jacobs with similar gameplay to Tetris Attack.
It also has another game mode ("Jewels") that plays like Bejeweled.

Opentitus got updated too: the controls were not properly optimised for nspire, this is fixed now.
Title: Re: SDL ports for Nspire
Post by: SpiroH on August 09, 2015, 04:05:21 pm
Well done! IMHO, you deserve a lot more credit.  Oh well, ppl are on beach right now, i gather. Can't blame them, though. Keep up the good work! :thumbsup:
Title: Re: SDL ports for Nspire
Post by: rwill on August 15, 2015, 06:25:51 pm
Soooo....

after an unfortunate accident involving a water bottle and a Ti-Nspire ( its really hard to remove a non removable battery to prevent looming liquid damage ) I am kind regretting to not pick up multiple "rootable" Nspires when I had the chance.

Anyway - as some people are kind of interested in scummvm on the Nspire all I can do now is release a patch against the scummvm 1.7.0 source. Just copy it into the scummvm-1.7.0 directory and apply it in a Unix environment ( cygwin will do ) with the patch tool like "patch -p2 < scummvm-1.7.0_nspire.patch" and then compile with the buildme.sh script. The patch is rather small as I just did not get around replacing SDL for graphics with something native ( Yeah I lost interest ). I also strongly recommend to only enable the old scumm games as otherwise the executable is quite large and the games it supports are even larger. There are also some printfs in the code, not all are mine.

I kind of figured out some key binding that might work but its not emulator friendly, see attached picture.

You will need to create a folder on the Nspire and copy scummclassic.zip, scummmodern.zip and translations.dat to this directory, next to the executable.

You will also need SCUMM games ( Monkey Island ! ) which each should go into its own directory, possibly inside the scummvm main directory. Please do not try to use CD game version as then timing gets sometimes screwed up because the compressed CD tracks are actually not there or can not be decoded.


I will monitor here for question and - gameblabla you are our only hope !
Title: Re: SDL ports for Nspire
Post by: gameblabla on August 16, 2015, 10:34:48 pm
Hello rwill,
i compiled a working build and it works on my Ti Nspire
but i was unsucessfull to make ScummVM recognize "Lure of the Darkness" and i'm too poor to buy Monkey Island.
(By the way, you can download it here)
EDIT: See below if you want to download it.

Rwill, what games are compatible and how can i turn on more engines ?
I tried Lure of Darkness but it doesn't detect it no matter how hard i tried.
On PC, it automatically detects the folder and shows me the name of the game but how to do it on Nspire ?
Yeah i know, that's my first try with ScummVM, still not familiar with it...
Could be a bug too.

Also, you said that the binary was very big.
Of course, you applied no optimisations to them...
With -Os, the binary was 2.5 Mb.
With -Ofast, it was 4.6 Mb
But with no optimisations (-O0 -g), it was like 15 Mb !
For now, i'm providing the Ofast version but the Os version seems to run and load up faster.

Quote
I will monitor here for question and - gameblabla you are our only hope !
Thanks, it seems like though nobody is interested to make Ndless apps and you were the
only guy (except me of course) who did some stuff on it.
RIP rwill's TI Nspire
Title: Re: SDL ports for Nspire
Post by: rwill on August 17, 2015, 01:15:46 pm
try ./configure --help

So for example to enable scumm v1-v6 games and Lure of the Temptress you would pass - among other things - "--disable-all-engines --enable-engine=scumm,lure" to the configure script.

I kind of did not --disable-debug because it was still in development and forgot about it.

I think the scummvm.tns binary you provided is the genzehn version, I suggest to use the backwards compatible scummvm.prg.tns one. Maybe you can also add the keyboard layout picture I made so people know what to press for which key.

Now to get Lure of the Temptress running you need the files listed on wiki.scummvm.org/index.php/Datafiles, please note the lure.dat file you can download there directly. Then it looks like attached in an emulator.

Good Luck.

PS: From a technical standpoint RoQ is far from similar and quite inferior to MPEG-1 Video.
Title: Re: SDL ports for Nspire
Post by: gameblabla on August 17, 2015, 03:39:22 pm
Here's Another World and ScummVM for Ti Nspire.
ScummVM's port was done by rwill so kudos to him.

ScummVM
(https://gameblabla.olympe.in/img/scummvm.png)
The port was done by rwill, the only modification i did was to make Dragon History work.
The Ti Nspire port supports (for now) the following games/engine :
Spoiler For Spoiler:
SCUMM [v0-v6 games]
Drascula: The Vampire Strikes Back
Dreamweb
Lure of the Temptress
Beneath a Steel Sky
The "Big" version provided in the archive also supports the following engines/games:
Spoiler For Spoiler:
AGI
SCI [SCI 0-1.1 games]
Dragon History
Some games may require additional files, see here (http://wiki.scummvm.org/index.php/Datafiles).
You can download it here (https://gameblabla.olympe.in/files/scummvm-nspire.zip)

Another World
Another World for Nspire.
The protection screen has not been cracked so you'll need to own the MS-DOS port manual.
You can download the port in the attachments below.

Quote
PS: From a technical standpoint RoQ is far from similar and quite inferior to MPEG-1 Video.
Yeah, i actually meant Cinepak, not mpeg1.
Still, RoQ doesn't look too bad.

EDIT: Modified my post, it was... messy.
Title: Re: SDL ports for Nspire
Post by: gameblabla on August 19, 2015, 03:52:21 pm
Yo, another game ported for ya !

Super Methane Brothers
(https://tiplanet.org/modules/archives/captures/1440013279methane.png.pagespeed.ce.HYJ86euhu-.png)
Super Methane Brothers is an Amiga game by Apache Software Ltd that was recreated by rombust.
You can download it in the attachments below.
Title: Re: SDL ports for Nspire
Post by: gameblabla on August 30, 2015, 05:30:13 pm
Yo,
i have updated RoQPlayer to fix a bug with that annoying cursor
when a video was playing.
To convert a video to RoQ, you can use ffmpeg.
You can download it below as usual.

Yeah, you may have noticed i'm slower than usual :
that's because i have ported pretty everything i could. (for now)
Title: Re: SDL ports for Nspire
Post by: gameblabla on September 02, 2015, 07:37:41 pm
Hello,
i'm currently in the process of porting some of my emulators to n2DLib.
I already did so for Oswan and PokeMini.
At this rate, i might consider to change the name of my thread...

Oswan
(https://tiplanet.org/modules/archives/captures/1441081754goswan_kinni.png.pagespeed.ce.NQ81ulcTaZ.png)
I have much improved my Wonderswan emulator, so much it's actually the most accurate fork of Oswan.
After i was done with gcw0 port, i decided to do a n2DLib port for TI Nspire and here are the results.
Improved accuracy, more options for controls, the two dpads are supported, more games are supported (somewhat)...
I did not introduced a frameskipper because it was broken in last version and the problem for the slowness is not the drawing...
It's fine for some slow-paced games and the WS Tetris port, i guess.
I can confirm n2DLib makes things faster but not much, especially for buffer-based games and emulators.

Games currently crashing on Nspire are Digimon 02 (B&W) and Dragon Ball.
These games works perfectly fine on my PC port, blame newlib & gcc.

Downloads in the attachments below.
Source can be found in my github repo : https://github.com/gameblabla/oswan (https://github.com/gameblabla/oswan)

PokeMini
(https://tiplanet.org/modules/archives/captures/1435879310pokemini.png.pagespeed.ce.Vu44jvO8G1.png)
I then ported this emulator to n2DLib.
The speedup here is actually nice, so much it runs fullspeed without overclocking.
Before, it was not even running fullspeed when overclocked to 266Mhz.

Download it here. (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg400708/#msg400708)

Next, i will work on my Vectrex emulator. You remember right ?
Title: Re: SDL ports for Nspire
Post by: gameblabla on September 03, 2015, 02:39:43 pm
Yo,
Good news everyone !
I have ported PocketSNES, a snes emulator based based Snes9X 1.43.

PocketSNES
(https://gameblabla.olympe.in/img/x3.png)
It runs pretty well, thanks to autoframeskipping and it should run even better
with some overclocking.
I tried Megaman 7 and even Megaman X3 with its own special chip and they all work.
Super Mario World should work faster than those games as well.

You can download it in the attachements below.
Source code is on my github repo : https://github.com/gameblabla/pocketsnes-nspire (https://github.com/gameblabla/pocketsnes-nspire)
Title: Re: SDL ports for Nspire
Post by: Vogtinator on September 03, 2015, 02:59:38 pm
Quote
(Note: It strangely doesn't work on any Ti Nspire emu i tried. It DOES work on my own TI Nspire CX though, i checked twice)
Tried Super Mario World, works just fine:
(https://img.ourl.ca/firebird%20smw.png)
Title: Re: SDL ports for Nspire
Post by: gameblabla on September 03, 2015, 03:14:09 pm
Hmmm, strange.
I guess i should reinstall everything because i installed to flash with nspire_emu.
Edited my post.

Hope you all enjoy PocketSNES
Title: Re: SDL ports for Nspire
Post by: rwill on September 03, 2015, 04:34:02 pm
Hi gameblabla,

I noticed that save games are actually not working with scummvm on the nspire. I also just got your PM ( I do not log in when checking forums for activity so I rarely see them in time ).

Anyway you could try to change the following lines in \backends\fs\nspire\nspire-fs.h to
Code: [Select]
virtual bool exists() const;
virtual bool isReadable() const;
virtual bool isWritable() const;
like remove the function body after the const and implement them like so in \backends\fs\nspire\nspire-fs.cpp:
Code: [Select]
bool NspireFilesystemNode::exists() const {
Common::String str = _path;
if( !_isDirectory && !str.hasSuffix(".tns" ) )
{
str += ".tns";
}
return access(str.c_str(), F_OK) == 0;
}

bool NspireFilesystemNode::isReadable() const {
Common::String str = _path;
if( !_isDirectory && !str.hasSuffix(".tns" ) )
{
str += ".tns";
}
return access(str.c_str(), R_OK) == 0;
}

bool NspireFilesystemNode::isWritable() const {
Common::String str = _path;
if( !_isDirectory && !str.hasSuffix(".tns" ) )
{
str += ".tns";
}
return access(str.c_str(), W_OK) == 0;
}

The idea is that file access is wrapped in a way that scummvm does not know about the .tns suffix except on the lowest level because there appear to be many places in scummvm that expect a file to have a certain name or format.

Just a note, maybe you should distribute the patch or the full source with your binaries, or make them available elsewhere, to honor the GPL.
Title: Re: SDL ports for Nspire
Post by: gameblabla on September 03, 2015, 05:35:12 pm
Okay, thanks rwill. ScummVM is a huge mess.
I have updated ScummVM with rwill's patch, so games like day of the tentacles should work now.
Link is still the same, download it here (https://gameblabla.olympe.in/files/scummvm-nspire.zip).

I will publish the source code (it's quite big) on github.
Thanks rwill for the help
Title: Re: SDL ports for Nspire
Post by: annoyingcalc on September 03, 2015, 06:31:45 pm
Just wonder, since I don't have the capability to load a game this size onto my calculator, but will Humongous Entertainment games work?


EDIT: I know some of the games run on different engines. To be specific I mean later ones like Spy fox or Pajama Sam
Title: Re: SDL ports for Nspire
Post by: gameblabla on September 03, 2015, 06:53:51 pm
Just wonder, since I don't have the capability to load a game this size onto my calculator, but will Humongous Entertainment games work?
EDIT: I know some of the games run on different engines. To be specific I mean later ones like Spy fox or Pajama Sam
No, i don't think i have compiled support for them.

A reminder for everyone who missed this : I have ported PocketSNES, a super nintendo emulator based on Snes9x.
You can download here in the attachments (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg402249/#msg402249)
Title: Re: SDL ports for Nspire
Post by: annoyingcalc on September 03, 2015, 07:15:52 pm
Ok, thanks.
Title: Re: SDL ports for Nspire
Post by: gameblabla on September 04, 2015, 07:50:42 am
Hello guys,
I did a video to show you how well PocketSNES runs on my Ti Nspire CX.
I'm showing you Super Mario Kart here.
https://www.youtube.com/watch?v=w2EGVom3LCo (https://www.youtube.com/watch?v=w2EGVom3LCo)

It runs even better with overclocking actually.

EDIT: Just fixed a huge bug with PocketSNES that prevented it from working on some calc.
Anyways, you should download it again if you had issues with it.
Title: Re: SDL ports for Nspire
Post by: rwill on September 04, 2015, 12:43:16 pm
Hello,

I noticed that critor still has problems loading saved games in ScummVM. gameblabla, are you sure that you build from the right source and did the .h and .cpp modifications ? It works here. You can test save games by pressing the '(' key on the nspire to save a game in scumm games and use the same menu to load one. I can provide a patch against the original 1.7.0 source on request if it still fails.
Title: Re: SDL ports for Nspire
Post by: gameblabla on September 04, 2015, 01:11:06 pm
Yeah, please gimme that full patch please,
it's possible i messed up. Sorry
I will start from scratch
Title: Re: SDL ports for Nspire
Post by: rwill on September 04, 2015, 02:58:48 pm
Hi gameblabla,

try this, please report back.
Title: Re: SDL ports for Nspire
Post by: annoyingcalc on September 04, 2015, 03:57:36 pm
That SNES emulator port looks amazing. Will try it out soon.
Title: Re: SDL ports for Nspire
Post by: gameblabla on September 04, 2015, 07:19:32 pm
Quote
Hi gameblabla,
try this, please report back.
Hello rwill,
i compiled it again and the fix works just fine.
I could save and load a game in Lure without any trouble, thanks rwill.
I think you deserve all credits.
Anyways, i reuploded ScummVM with the patch inside.
Strangely enough though, i did not have to fix Dragon History for nspire this time.
Weird.

Quote
will Humongous Entertainment games work?
HE games should work actually on Nspire, i checked ScummVM's doc and they apparently only require
the standard ScummVM engine.

Now, i'm currently thinking how we can switch from SDL to n2DLib for the video.
Since rwill already switched timing and input to native, that's the only thing left to do.
It should be a simple matter of pointing the framebuffer to the buffer adress.
That's how i did it with PokéMini.

SDL version:
Code: [Select]
PokeMini_VideoBlit((void *)((uint8_t *)screen->pixels + PMOff), PixPitch);n2DLib version:
Code: [Select]
PokeMini_VideoBlit((void *)((uint8_t *)BUFF_BASE_ADDRESS + PMOff), PixPitch);
The only problem is ScummVM's abtrasction system, probably the reason rwill has not
switched to native yet.
I simply need to look at the other ports to get it though...
Title: Re: SDL ports for Nspire
Post by: rwill on September 05, 2015, 12:03:20 pm
Hi gameblabla,

it is not really simple to write a graphics output module for ScummVM as it is designed to run on very different platforms so the amount of abstraction the graphic module has to cover is quite high. I would guess that copying the ScummVM SDL graphics driver and replacing the SDL calls with something more native might be the quickest way. There are documents and hints available what does what, start here: doxygen.scummvm.org/d9/df4/classOSystem.html (http://doxygen.scummvm.org/d9/df4/classOSystem.html)

As it appears that you are kind of overloading yourself with emulator ports - it might be wise for you to buy some small server device on which you can install Git or Subversion, like a Raspberry PI + Flash Drive for example, to do local development and version control if you have not already. Just to keep things organized...
Title: Re: SDL ports for Nspire
Post by: gameblabla on September 06, 2015, 12:49:04 am
I FINALLY found the reason why my emulators were so slow :
Simply linking SDL to your executable, even if you do not use it, will slow it down twice as much !
I almost became crazy when i learned that...

I updated PocketSNES, Potator, Oswan to n2DLib and they are now 20% cooler 200% awesome !

I can finally run all my SNES games fullspeed on my overclocked TI Nspire CX (266 Mhz),
same for Potator emulator and Oswan is much faster. (still not fullspeed though)

I will do a second video about PocketSNES tomorrow but in the meantime,
you can download the new versions below.

And i'll try to work on ScummVM too, it's just a daunting task though...

Oswan: https://tiplanet.org/forum/archives_voir.php?id=219761 (https://tiplanet.org/forum/archives_voir.php?id=219761)
Potator : https://tiplanet.org/forum/archives_voir.php?id=239616 (https://tiplanet.org/forum/archives_voir.php?id=239616)
PocketSNES : https://tiplanet.org/forum/archives_voir.php?id=302632 (https://tiplanet.org/forum/archives_voir.php?id=302632)
Title: Re: SDL ports for Nspire
Post by: SpiroH on September 06, 2015, 01:54:24 pm
Congratulations for the PocketSNES port effort. Another bunch of games to the Nspire/ndless world. Good (and hard) work!

Question:  Any chance to change the default key bindings like in the gpSP emulator (via Menu)? I tried to play some games (Megaman X3 and VII) on the kArmTI/Nspiroid emulator and found it a bit hard to play with the default bindings. All the rest appears to work just fine, though. BTW, the last version is way faster but the key bindings are again different. So, yeah.
Title: Re: SDL ports for Nspire
Post by: gameblabla on September 06, 2015, 02:26:36 pm
As promised, i released my second video.
In this video, you can see me playing Megaman X3 one-handed on my overclocked TI Nspire CX.
https://www.youtube.com/watch?v=v6aFU05YMd4 (https://www.youtube.com/watch?v=v6aFU05YMd4)

Congratulations for the PocketSNES port effort. Another bunch of games to the Nspire/ndless world. Good (and hard) work!
Question:  Any chance to change the default key bindings like in the gpSP emulator (via Menu)? I tried to play some games (Megaman X3 and VII) on the kArmTI/Nspiroid emulator and found it a bit hard to play with the default bindings. All the rest appears to work just fine, though. BTW, the last version is way faster but the key bindings are again different. So, yeah.
Thanks !
Configurable controls is on my TODO list, it's just not going to be easy though and could take some time.
Title: Re: SDL ports for Nspire
Post by: TIfanx1999 on September 06, 2015, 06:25:09 pm
Still looks a bit slow, but very cool (and quite playable)nonetheless. Nice work!
Title: Re: SDL ports for Nspire
Post by: northern_snow on September 06, 2015, 11:17:31 pm
Hi gameblabla! It's fantastic! So many ports! Nice job!

And I'm asking for your permission to translate your posts and post them on a Chinese calculator forum (aka cncalc.org) I will add introduction to the games and game consoles which are emulated.
Title: Re: SDL ports for Nspire
Post by: gameblabla on September 07, 2015, 12:58:56 am
Did a small update to PocketSNES :
- Added diagnonals on the buttons 7,9,1,3
- Reduced its size from 420kb to 235kb.
- Minor Speedup
- Minor changes to gui

Download it here, in the attachments. (https://www.omnimaga.org/ti-nspire-projects/sdl-ports-for-nspire/msg402285/#msg402285)

Hi gameblabla! It's fantastic! So many ports! Nice job!
And I'm asking for your permission to translate your posts and post them on a Chinese calculator forum (aka cncalc.org) I will add introduction to the games and game consoles which are emulated.
You have my permission to translate my posts,  just to make sure to credit me please. (and rwill, for the ScummVM port)

Also, don't forget guys :
fri tibit
Title: Re: SDL ports for Nspire
Post by: gameblabla on September 08, 2015, 04:11:03 pm
Yo, i ported PicoDrive, a Genesis emulator by notaz, to Ti Nspire CX.

PicoDrive
(https://tiplanet.org/modules/archives/captures/1441743451sanik.png)
PicoDrive on TI Nspire runs most games fullspeed with a frameskip of 2 on a non-overclocked calculator.
It's based on version 1.35 and i disabled Sega CD emulation, mostly because it was not working and partly
because of the small NAND size.

Download link : https://tiplanet.org/forum/archives_voir.php?id=304358 (https://tiplanet.org/forum/archives_voir.php?id=304358)
Github repo: https://github.com/gameblabla/picodrive-nspire (https://github.com/gameblabla/picodrive-nspire)

*This release is sponsored by Winnie*

EDIT: Newer version that works on real hardware.
Title: Re: SDL ports for Nspire
Post by: SpiroH on September 08, 2015, 05:53:19 pm
Well done again.!
It works on kArmTI, but is just tooo fast, eheh. Can you slow it down a bit please?
Title: Re: SDL ports for Nspire
Post by: gameblabla on September 08, 2015, 06:04:32 pm
Well done again.!
It works on kArmTI, but is just tooo fast, eheh. Can you slow it down a bit please?
Thanks,
is your emulator based on nspire_emu ?
It works just fine on my calc, not too slow or too fast even when overclocked to 264Mhz.
I'm sorry to say this but i'll not add a framelimiter (because it will slow down things, even if a bit)
and your emulator is just not cycle-accurate. (or even close)
Title: Re: SDL ports for Nspire
Post by: Ivoah on September 09, 2015, 07:41:01 am
PicoDrive
(sorry, no screens. It still doesn't work on my emus)

What emulators have you tried it on?
Title: Re: SDL ports for Nspire
Post by: gameblabla on September 09, 2015, 09:33:48 am
I re-released another update for PicoDrive.
I'm so sorry, the first version was very broken.
But when something works on your calc and emulators but doesn't work on others calculators,
you can't do really anything...

I removed all the checks, it seems more stable too overall.
You should all upgrade !

PicoDrive
(sorry, no screens. It still doesn't work on my emus)

What emulators have you tried it on?
It seems the same problem as described before and it does this will all the emus.
When i try to load a ROM, it crashes.
Title: Re: SDL ports for Nspire
Post by: Ivoah on September 09, 2015, 09:34:57 am
I re-released another update for PicoDrive.
I'm so sorry, the first version was very broken.
But when something works on your calc and emulators but doesn't work on others calculators,
you can't do really anything...

I removed all the checks, it seems more stable too overall.
You should all upgrade !

PicoDrive
(sorry, no screens. It still doesn't work on my emus)

What emulators have you tried it on?
It seems the same problem as described before and it does this will all the emus.
When i try to load a ROM, it crashes.

Have you tried it with Firebird?
Title: Re: SDL ports for Nspire
Post by: gameblabla on September 09, 2015, 10:57:10 am
Have you tried it with Firebird?
It does this with FireBird emu too.
I guess i should try with the more recent OS...
Title: Re: SDL ports for Nspire
Post by: Ivoah on September 09, 2015, 10:58:26 am
Have you tried it with Firebird?
It does this with FireBird emu too.
I guess i should try with the more recent OS...

Yeah, try it with a recent OS and if it still doesn't work, make an issue on the firebird repo
Title: Re: SDL ports for Nspire
Post by: SpiroH on September 09, 2015, 04:28:11 pm
I re-released another update for PicoDrive.
....
Well, the last version works in both emulators nspire_emu and kArmTI. I've just tested it.
This release looks more stable than the previous one but still the nspire_emu's speed must be slowed down (F9) to about 40% of its normal speed to make the game (Sonic) playable.
When using the Nspire gpSP emulator that doesn't seem to be necessary at all.  Anyway, those are little details that can always be addressed later. ;)
Title: Re: SDL ports for Nspire
Post by: gameblabla on September 09, 2015, 05:08:01 pm
Did a video about picodrive, you can see it running here :
https://www.youtube.com/watch?v=IrADSVXxJq4 (https://www.youtube.com/watch?v=IrADSVXxJq4)

I'm showing you Sonic 2 on my overclocked calc.
It actually does not run fullspeed on some intensive games like Sonic 2
with the current frameskip on a non-overclocked Ti Nspire...
It does however on some games like Flicky.

Well, the last version works in both emulators nspire_emu and kArmTI. I've just tested it.
This release looks more stable than the previous one but still the nspire_emu's speed must be slowed down (F9) to about 40% of its normal speed to make the game (Sonic) playable.
When using the Nspire gpSP emulator that doesn't seem to be necessary at all.  Anyway, those are little details that can always be addressed later. ;)
Thanks for report, SpiroH.
I may or may not add the option to set the frameskip in the future.
Nobody plays emulators inside of an emulator so i don't consider it a huge issue but it needs to be done anyways.
Title: Re: SDL ports for Nspire
Post by: gameblabla on September 19, 2015, 02:18:05 pm
I got Hugo working on my Ti Nspire CX.
Just a warning for you guys, i'll be unavailable starting from 20th September
and this could take days or even weeks.

Hugo
(https://tiplanet.org/modules/archives/captures/1442685773bomb.png.pagespeed.ce.ZmuHmWkpt7.png)
Hugo is a NEC PC-Engine emulator originally by Zeograd.
I ported it to TI Nspire but things are pretty slow...
Anyways, it is working so i'm still releasing it.

CDs are not emulated by the way, only hucards.
Title: Re: SDL ports for Nspire
Post by: gameblabla on October 13, 2015, 03:57:21 pm
Worship Vector
(https://tiplanet.org/modules/archives/captures/1444765445wv.png.pagespeed.ce.O8uloVG32L.png)
Worship Vector is a cool 3D Tower Defense game by quasist.
(Yes, the same guy who did that pr0n game)
It surprisingly runs very well on my calculator and it's not overclocked.

Downloads in the attachements below

Warning:
This will probably be my last game i'll post here.
I got no feedback on Hugo and Omnimaga is as dead as a ghost town.
Sadly, more and more people are getting Ti nspires with OS 4.0...
Due to this, i will continue updating my thread at cw.

I enjoyed this little adventure with you guys but
now i think is the time to move on.
Title: Re: SDL ports for Nspire
Post by: Eeems on October 13, 2015, 04:06:19 pm
Warning:
This will probably be my last post here on Omnimaga.
I got no feedback on Hugo and Omnimaga is as dead as a ghost town.
Sadly, more and more people are getting Ti nspires with OS 4.0...
Due to this, i will continue updating my thread at cw.

I enjoyed this little adventure with you guys but
now i think is the time to move on.

I fail to see how this is relevant to this thread. If this is how dead a ghost town is then I'd have to say that ghost towns are pretty lively.

That said, we don't have that many nspire users around anymore. You will find more of them on TI-Planet, but if you don't speak french it can be a little difficult to use that site.
Title: Re: SDL ports for Nspire
Post by: gameblabla on October 13, 2015, 04:17:39 pm
Quote
I fail to see how this is relevant to this thread. If this is how dead a ghost town is then I'd have to say that ghost towns are pretty lively.
That's because you are new to this thread, my friend.
I could too not let you know about this too (like this thread was days ago) and then you will all suddently wonder what the hell happened to me and my ports.

Quote
That said, we don't have that many nspire users around anymore. You will find more of them on TI-Planet, but if you don't speak french it can be a little difficult to use that site.
I'm on tiplanet too and when i used to frequenly post my ti nspire ports here and everywhere else, critor often newsed them.
But when i stopped for a while however... critor covered TI-83 CE programs instead.
That pretty much means that i'm alone making ti nspire games/ports... Really sad
Title: Re: SDL ports for Nspire
Post by: Eeems on October 13, 2015, 04:26:48 pm
Quote
I fail to see how this is relevant to this thread. If this is how dead a ghost town is then I'd have to say that ghost towns are pretty lively.
That's because you are new to this thread, my friend.
I could too not let you know about this too (like this thread was days ago) and then you will all suddently wonder what the hell happened to me and my ports.
I've actually been reading this thread from the beginning. I see you've updated the text of your post to clarify more to make it pertain to this topic.

Quote
That said, we don't have that many nspire users around anymore. You will find more of them on TI-Planet, but if you don't speak french it can be a little difficult to use that site.
I'm on tiplanet too and when i used to frequenly post my ti nspire ports here and everywhere else, critor often newsed them.
But when i stopped for a while however... critor covered TI-83 CE programs instead.
That pretty much means that i'm alone making ti nspire games/ports... Really sad
It is a little sad that most of our nspire developers have moved on. I hope you find porting/developing for it fun for a little while longer at least. I've been meaning to get an nspire at some point and mess around with it. I've picked up a CE though since it's less of a stretch from the 83+/84+ platform that I'm use to.


I've been quite interested in the projects people have been working on for the nspire.
Just because nobody commented on another one of your updates doesn't mean that this site is inactive. As I'm writing this I see 3 members and 3 guests reading it as well.
Title: Re: SDL ports for Nspire
Post by: SpiroH on October 14, 2015, 09:30:19 am
Come on Gameblabla, Omnimaga isn't dead at all (visits per day are on the hundreds' scale at least, i gather).  It  probably has become a little more of a ghost town, with less talk entertaining posts (not programming contributions really, mind you),  I admit that. I'd say these are the days when little (or lack) programming production equals to a lot on the drama side. I've seen that before, it just comes out of frustration somehow. Let's be hopeful about the future and let it will bring us some more real programmers without much need for dramatic expressions. BTW, i hope you'll stick around for a little longer, for I like your contributions. ;)
Title: Re: SDL ports for Nspire
Post by: Harry5862 on October 15, 2015, 02:10:03 am
Me too

Your work is awesome gameblabla and I hope you will post more, because I download and play everything you posted.
So you are a hero in my eyes.

Please port more things especially more emulators.
Title: Re: SDL ports for Nspire
Post by: TIfanx1999 on October 18, 2015, 11:31:46 am
@gameblabla : If you decide to move on, I guess that's your choice. I'm not really an nspire guy, but I always thought your SDL ports were pretty cool. Best of luck on your future endeavors!
Title: Re: SDL/n2DLib ports for Nspire
Post by: gameblabla on June 27, 2016, 01:34:25 pm
I have decided to revive this thread because i was embarrased people are still downloading older versions here...
Anyway, i will quickly cover what i did post-omnimaga.

PocketSNES
(https://tiplanet.org/modules/archives/captures/1467008780smw.png)
The speed of PocketSNES has significantly improved since then, especially after i have ported the core of SnesEx 1.39
to PocketSNES.
You have now 4 different files : their core range from being the fatest to the most compatible.
To give you an idea how fast it is (with PocketSNES 1.39 minimal version) :
Super Mario World is so fast, it runs fullspeed on my 266Mhz Nspire with no frameskippign.
Super Mario Kart is much faster than it used to be.

There's also now a more accurate core that emulates the APU.
Games like Ys V now work.

Temper
(https://tiplanet.org/modules/archives/captures/1466973062ys4.png)
Remember Hugo ?
Since then, Exophase released the source code to Temper, a much better PC-Engine emulator.
You can now emulate CD games too, provided you remove the CDDA tracks from the games.
To play games, you need a syscard filed called "syscards3.pce.tns" in the syscards folder created by Temper.

Things will go even faster once i fully switch the input code to native. (sadly not easy in temper's case)

Potator
(https://tiplanet.org/modules/archives/captures/1441508413potator.png)
Potator is a Supervision emulator. It can run all games fullspeed at 266Mhz.
Without overclocking, it runs games at 45 FPS.
This new version is much faster than the previous SDL-based version.

Gameblabla's Oswan
(https://tiplanet.org/modules/archives/captures/1441081754goswan_kinni.png)
Gameblabla's Oswan is a much improved version of Oswan with greater accuracy and speed.
This new version is faster and crashes much less than the previous one.

Super Methane Brothers
(https://tiplanet.org/modules/archives/captures/1440013279methane.png)
Super Methane Brothers was originally an Amiga game that was remade by rombust.
It's a decent game based on the Bubble Bobble and Mario Bros.

Vecx
(https://tiplanet.org/modules/archives/captures/1437177942vecx_scr1.png)
Vecx is a vectrex emulator.
It's not amazingly fast but it does have support for overlays.

SMS_Plus
(https://tiplanet.org/modules/archives/captures/1458938919pw2_scr.png)
A really fast Master system/Game Gear emulator.
It can emulate a good portion of them and has a good framerate, even when not overclocked.

Wolf4SDL
(https://tiplanet.org/modules/archives/captures/1461749190wolf.png)
A port of Wolf4SDL for TI Nspire.
It runs at a decent pace and it is provided with the shareware files.
You can download it here (https://tiplanet.org/forum/archives_voir.php?id=504740)

My original games

Helicopt3rs
(https://tiplanet.org/modules/archives/captures/1423007856helicopt.png)
A clone of Swing Copt3rs i wrote, originally for 3DO.
I posted in another thread here but this version is much faster. (and smaller too)

KillMinds
A puzzle game based on Quartet.

Where's Derpy
A Where's Waldo-like game where you have to find Derpy and the three muffins in twenty seconds.
You can download it here. (https://tiplanet.org/forum/archives_voir.php?id=307860)

You can download everything i have posted down below.
Title: Re: SDL ports for Nspire
Post by: TIfanx1999 on June 27, 2016, 01:45:50 pm
Hey nice to see you drop in and update the thread. :)
Title: Re: SDL ports for Nspire
Post by: gameblabla on June 29, 2016, 12:34:11 pm
Just so you know, i have updated Temper.
The input code is now native and as a result, it is 1.5x faster than before.

Hey nice to see you drop in and update the thread. :)
Thanks dude
Title: Re: SDL ports for Nspire
Post by: SpiroH on July 24, 2016, 06:13:30 pm
I wish you would post on omnimaga more often. You've got here quite a number of  fans of your games' ports, you should know that.
People are just too shy, these days. They simply don't say anything. Lousy readers and mere consumers, i reckon. :P
Title: Re: SDL ports for Nspire
Post by: gameblabla on September 16, 2016, 08:22:40 pm
Thanks Spiroh, i see PocketSNES and my other ports are getting lots of download on ticalc.org but no comments so far...
It's sad, i know, i even had people irl doubting my programming skills and saying i'm worthless.

Anyway, just want to let you i have ported another game, Homing Fever.
It's a game by Artur Rojek where you take control of a ship and you have to avoid the incoming missiles.
You'll get a score depending on how long you survived without getting hit.

(https://github.com/gameblabla/homingfever/raw/master/hover.png)

EDIT: Critor reported some issues with the game, which are now fixed.
Please download it again if you got it prior this update.
Title: Re: SDL ports for Nspire
Post by: SpiroH on September 19, 2016, 10:37:51 am
Thanks Spiroh, i see PocketSNES and my other ports are getting lots of download on ticalc.org but no comments so far...
It's sad, i know, i even had people irl doubting my programming skills and saying i'm worthless.
....
Well, I'm afraid it's the today's forum-cracy. You're bound to meet all sort of folks. Some are nice people others not that much. I'd say it's the cost of daring to publish anything. Please do keep it up. ;)
Title: Re: SDL ports for Nspire
Post by: gameblabla on September 24, 2016, 03:17:53 pm
Well, I'm afraid it's the today's forum-cracy. You're bound to meet all sort of folks. Some are nice people others not that much. I'd say it's the cost of daring to publish anything. Please do keep it up. ;)
Thanks, i'll try to keep it up as long as possible.

Here's REMiniscene, a Flashback recreation now available for TI Nspire CX !
(https://tiplanet.org/modules/archives/captures/1474742751flashback_nsp.png)
You need to own the DOS or Amiga game files and put them in a folder called "data".
Then, add the ".tns" extension to all files and place the rs.tns file next to the data folder.
Simply run the game with rs.tns.
Title: Re: SDL ports for Nspire
Post by: TIfanx1999 on September 26, 2016, 05:10:13 pm
That looks awesome! :o
Title: Re: SDL ports for Nspire
Post by: gameblabla on September 28, 2016, 05:55:52 am
Here's PCSX4All, a psx emulator for the GCW Zero now ported to the nspire !
(https://tiplanet.org/modules/archives/captures/1475055567psx_emu.png)

It is pretty stripped down compared to the zero version but it can run a lot of games, even without a bios.
It is however very slow due to the lack of a JIT recompiler working on the TI Nspire.
(the available arm recompiler require sys_flushcaches, which is only available on Linux)
Title: Re: SDL ports for Nspire
Post by: SpiroH on October 05, 2016, 10:23:22 am
...
(the available arm recompiler require sys_flushcaches, which is only available on Linux)
Well, i think you might be able to do it without actually needing Linux. Check this link: https://minghuasweblog.wordpress.com/2013/03/29/arm-cache-flush-on-mmapd-buffers-with-clear-cache/
Possibly after some changes to the recompiler (if you have the source, which i assume you have). OFC, it would be much simpler over a Linux kernel. However there have some been attempts to implement it in an OS agnostic way eg, using PLD/LDR).  (eg: http://stackoverflow.com/questions/22701352/flush-cpu-cache-for-a-region-of-address-space) What could be a lot of work, though. Worth it, idk! :-\
Title: Re: SDL ports for Nspire
Post by: gameblabla on January 21, 2017, 12:58:45 am
Yeah, i never managed to make the PSX emu work .... :/

I forgot to tell you that i had released a Jaguar emulator (VirtualJaguar) for the TI-Nspire CX.
And no, this is not a drill :P

(https://tiplanet.org/modules/archives/captures/1481588661scr1.png)

Here's how the Jaguar version of Worms runs on it :
https://www.youtube.com/watch?v=k4iP9BUpJ4M (https://www.youtube.com/watch?v=k4iP9BUpJ4M)

You can download it here :
https://tiplanet.org/forum/archives_voir.php?id=776746 (https://tiplanet.org/forum/archives_voir.php?id=776746)

Not all games work properly though, i must warn you.
With the nodsp version, Worms is the fastest running game.
Everything else is very slow (Wolfenstein, Cybermorph)
Title: Re: SDL ports for Nspire
Post by: gameblabla on April 05, 2017, 02:29:55 pm
Here's Alterego, a simple puzzle-platformer game.
(https://github.com/gameblabla/bitbox-alterego-nspire/raw/master/bitbox-alterego-game/screencast.gif)
(nspire port does not run as smoothly)

Get it here :
https://github.com/gameblabla/bitbox-alterego-nspire/raw/master/bitbox-alterego-game/alterego.tns (https://github.com/gameblabla/bitbox-alterego-nspire/raw/master/bitbox-alterego-game/alterego.tns)
Title: Re: SDL ports for Nspire
Post by: gameblabla on June 12, 2018, 04:32:40 pm
Here's cannonball for the Nspire CX ! It's a game engine for Outrun so you do need the outrun rom files. Put them in a "roms" folder and put the tns file next to that folder.
It runs fairly slowly so overclocking is recommended :
https://tiplanet.org/forum/archives_voir.php?id=1569330 (https://tiplanet.org/forum/archives_voir.php?id=1569330)

(https://tiplanet.org/modules/archives/captures/1528833677cannonball.png)

I also have updated Oswan here, it also seems to run faster !
Hope you enjoy
Title: Re: SDL ports for Nspire
Post by: gameblabla on September 27, 2018, 01:32:55 pm
Hey guys,
just took the time to update some of my old stuff !

RoQPlayer
Finally took the time to rebase it around the much faster DreamRoQ. If you wanna grab it, it's here :
https://tiplanet.org/forum/archives_voir.php?id=296214 (https://tiplanet.org/forum/archives_voir.php?id=296214)
Note that you may have to convert your videos.
Here's how to do so with ffmpeg :
Code: [Select]
ffmpeg -i myvideo.avi -s 320x240 -aspect 320:240 -r 30 -an output.roq
Picodrive
It became broken after OS 3.6 was released... It became unusable since then... until now.
A simple recompile fixed it and i've also fixed support for new screens.
It also does seem to run a hair faster. Grab it here :
https://tiplanet.org/forum/archives_voir.php?id=304358 (https://tiplanet.org/forum/archives_voir.php?id=304358)

Oswan
My wonderswan emulator got a minor update : It now supports frameskipping.
Frameskipping should definitely help with slow games on the nspire.
And because there's no sound output, there's no need to worry about scratchy audio.
Grab the new version here : https://tiplanet.org/forum/archives_voir.php?id=219761 (https://tiplanet.org/forum/archives_voir.php?id=219761)

That's pretty much it. I may have to take a look at PocketSNES again...
Title: Re: SDL ports for Nspire
Post by: Xeda112358 on September 27, 2018, 09:43:45 pm
This is awesome, thanks for the update!