Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - gameblabla

Pages: 1 2 3 [4] 5 6
46
TI-Nspire / Re: SDL ports for Nspire
« 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,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,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
};


47
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« on: May 16, 2015, 04:36:00 pm »
I finally got around to writing a tutorial on how to use nGL: http://github.com/Vogtinator/nGL
That would be great if you made a tutorial about texture mapping.
Also, does anyone know if nGL is faster for 2D stuff than n2DLib ?
From what i've seen, it seems so.

48
TI-Nspire / Re: SDL ports for Nspire
« on: May 16, 2015, 04:25:11 pm »
Here's another batch of games for ya.

Liero

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/

49
TI-Nspire / Re: Cave Story for TI nspire CX
« on: May 16, 2015, 02:43:34 pm »
Great port :D
(and lol, I am the 2 downloads you got on TI Planet -.-)

But could you remind us of the keys (and maybe put them in the readmes)? You mentionned Ctrl and Del on your first post but I found out that the tab key does something too (or maybe the one above it, I don't remember) and I fear I missed some.
TAB is for the inventory, i forgot to mention that.
Shift is for jumping and Del is for the map.
Fixed my first post

50
TI-Nspire / Re: Cave Story for TI nspire CX
« on: May 15, 2015, 08:23:19 pm »
Quote
So yeah, hum ... what caused the slowdowns ? :P
For some reasons, it was calling FillRect lots of time. They were useless anyways so i removed them.
The functions in question were NXSurface::DrawRect and NXSurface::FillRect.
I don't think the game needs to draw rectangles from what i played anyways.

51
TI-Nspire / Re: Cave Story for TI nspire CX
« on: May 15, 2015, 03:25:03 pm »
Hey, good news everyone !
I finally found the culprit for the slowdowns.
Cave Story is now running fullspeed on the TI Nspire CX, yay !

It's attached to my first post.
You can also download it at tiplanet.

Now i can die happy
Enjoy

52
TI-Nspire / Re: SDL ports for Nspire
« 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/

That's all for now, thanks.

53
TI-Nspire / Re: SDL ports for Nspire
« 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.


54
TI-Nspire / Re: SDL ports for Nspire
« 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.

55
TI-Nspire / Re: SDL ports for Nspire
« 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.

56
TI-Nspire / Re: SDL ports for Nspire
« 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

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.

57
TI-Nspire / Re: SDL ports for Nspire
« 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...

58
TI-Nspire / SDL File Browser
« on: May 03, 2015, 12:11:54 am »
File Browser is a simple file browser for Ti Nspire with ndless installed and is intended to replace nSonic.
You can start Ndless applications from it.
If you exit an application, it will go back to the file browser.
You can also remove files and folders. (only empty folders for now)

TODO/Limitations :
Spoiler For Spoiler:
- SDL File browser can't mount directories, unlike nSonic which does this and provides some nice speedup.
-  Map it to the 2 button

59
TI-Nspire / Re: SDL ports for Nspire
« 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

Finding a good emulator is not easy : They either don't use SDL, don't have a gui or they are too complicated.

60
TI-Nspire / Re: SDL ports for Nspire
« 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.

Pages: 1 2 3 [4] 5 6