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

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.

Show posts Menu

Messages - gameblabla

#796
Games / Re: SDL/n2DLib ports for TI Nspire
September 08, 2015, 07:53:44 PM
You thought PocketSNES was good ?
Well...
YOU DIDN'T SEE PICODRIVE RUNNING YET !
It runs fullspeed with a frameskip of 2 on a non-overclocked TI Nspire CX.
I actually don't advise to overclock your calc because the speed benefits are small
and not enough for even 266Mhz to run most games with a frameskip of 1.
Its compatible with most Genesis games.

You can download it here

By the way, Malloc on Ti Nspire CX suffers from memory leak.
I need to fix PocketSNES's memory leak and avoid to use malloc...

Anyways, enjoy sanik on your calc fullspeed.
#797
Games / Re: SDL/n2DLib ports for TI Nspire
September 08, 2015, 03:25:22 AM
So i stopped working on PocketSNES for a while and tried to port PicoDrive (a Sega Megadrive/CD emulator) instead to Nspire.
After some confusion about the config files, i got it to work.

It doesn't crash like Genesis Plus GX and it runs much faster than Dgen, it runs most games at 17FPS, no frameskip.
I have yet to switch from SDL to n2DLib and remove sound emulation so it should run even faster than that.
PicoDrive should actually run faster than PocketSNES, interesting.

It's based on version 1.35 so Virtual Racing is not emulated.
That's fine because that game runs at 15FPS on my PSP anyways.

One more thing, autoframeskipping actually breaks the emulator on Ti Nspire...
My guess is that this has to do with the slow RAM on CX, because it sometimes struggle to load
the ROMS and setting the frameskip to AUTO slows down the emulator to a crawl.

Hopefully, switching to n2DLib shouldn't take much longer.
#798
Games / Re: SDL/n2DLib ports for TI Nspire
September 07, 2015, 05:42:59 AM
Quote from: DJ Omnimaga on September 07, 2015, 05:21:24 AM
Can we now use the numpad to move around? While I find that control scheme weird on calcs, I think it's better on the TI-Nspire because of the way the touchpad works. For example, when I played Mario Kart this morning I noticed that if I press left or right but that my finger is 1 millimeter too low or too high, then it won't even register the keypress so I end up running straight into walls.
Yeah, you can move around the numpad now, just like that GB emulator.
I wish i could implement better dpad support though, kind of like nSDL actually.

Quote
As for the PRIZM, the calc max speed is around 110 MHz IIRC and I heard that some people bricked their calcs just from overclocking, so they're best left at their 58 MHz speed. And you might be better off writing a brand new SNES emulator from scratch if you were gonna do it.
Well, i thought i could do at least a Proof-of-Concept. I already started working on input.
Too bad there are no emulators for Prizm, i could have learned from them and i could have done the port quickly.

Quote
The HP Prime would handle it, but PocketSNES would basically be an OS until someone bothers making an ASM/C launcher that can also launch the OS (and only the OS if in exam mode).
PocketSNES being an OS may not be a bad idea, if there's a C compiler with some basic libraries available,
that is. I'm sure Lionel could do something like that.

Quote
I think you did a great job on PocketSNES so far. Too bad it didn't happen sooner in the Nspire CX life. Hopefully it becomes as popular as the other emulators.
Good luck on your other projects! :)
Thanks,
i partly worked on it because i'll soon take the plane to go to France and i did not want to get bored.  :p

Quote
And yeah I assumed that Star Ocean would not work lol. Does Mario RPG work, though? It doesn't even launch on some SNES clone consoles like the RetroDuo.
I have not tried Mario RPG but it should work.
#799
Games / Re: SDL/n2DLib ports for TI Nspire
September 07, 2015, 05:12:28 AM
I released a minor update to PocketSNES.
I reduced its size from 420kb to 235kb, i mapped diagnonals to 7,9,1,3 along with some minor changes.
Download link is the same.

I'm considering a port of PocketSNES for Casio Prizm but 2MB of RAM just won't cut it...
Sure, it can be overclocked pretty high but 2MB of RAM is not going to be enough, except maybe for Super Mario World...
Other than the Casio Prizm, i can't think of another calculator that could handle PocketSNES...

I found three games (Far East of Eden Zero, Street Fighter Alpha 2 and Star Ocean) that do not work on PocketSNES.
It's because they use the SDD1 chip, a chip that can decompress on-the-fly.

I think i should stop talking about PocketSNES for now and improve my other emulators/games.
I mean, i have Cave Story to do, as well as Dgen and get that Stella emulator to work...
#800
Games / Re: SDL/n2DLib ports for TI Nspire
September 06, 2015, 05:03:51 PM
2D acceleration chip or not, if there's no way to use it, then we can't go really far...

Anyways, i have posted another video about the new version of PocketSNES.
This time, i'm showing you Megaman X3 on my overclocked TI Nspire CX. (overclocked at 266Mhz, underclocked runs cool too)
#801
Games / Re: SDL/n2DLib ports for TI Nspire
September 06, 2015, 02:26:42 PM
Potator had a bug that prevented input from being registered so i updated it.
Fixed "Keep Aspect" too.

Quote from: DJ Omnimaga on September 06, 2015, 05:18:22 AM
Wow great to hear! O.O I was sure that the Nspire capabilities were what caused slowdowns. Gonna try the new version soon :D. Do you think the Genesis emu will be able to see the same fixes?
Thanks.
Yes, it's much powerful now thanks to n2DLib.
As for Dgen (the Genesis emulator), it needs a lot of clean up.
It doesn't have a nice abstraction system like PocketSNES so it might take a while.

QuoteThe Nspire is quite capable, it's just a matter of optimizing. And yes indeed, SDL is much slower than n2dlib because it adds a lot of overhead.
Yes, that is true but i did not know is that only using one function from SDL (e.g SDL_GetError) makes twice as slow.
I guess this has to do with the slow RAM or cache ?
#802
Games / Re: SDL/n2DLib ports for TI Nspire
September 06, 2015, 02:45:12 AM
You won't believe me when i'll tell you the reasons why all of my emulators were so slow :
Simply linking an executable to libSDL makes everything twice as slow !
Now, Potator and PocketSNES runs fullspeed overclocked and Oswan runs much faster !
And i thought the TI Nspire was slow...

PocketSNES

PocketSNES is a SNES emulator.
The first version was using SDL but i switched it to n2DLib and the speedup is HUGE.
I can now play games fullspeed when my calc is overclocked to 266mhz !

You can download it here.

Potator

Potator was the first Watara Supervision emulator available.
It can emulate all the games available on it, including Bon Treasure games and the like.
You can download it here.

Gameblabla's Oswan

Remember when i told DJ that for Oswan to run faster, it would need an ARM recompiler ?
I was wrong... Not linking it to libSDL (even though it did not use it) improved the speed and now,
speed emulation is twice as fast !
(But an ARM recompiler would still be nice)

You can download it here.
#803
Games / Re: SDL/n2DLib ports for TI Nspire
September 05, 2015, 09:02:09 PM
Quote from: Ivoah on September 05, 2015, 04:03:18 AM
I was playing some of this today, and it's nice! Also, it did open and run the smc file just fine. I made a few issues on the github repo, it'd be nice if you checked them out.
Oh yes, i forgot i do not filter files on Nspire.
I closed one issue and answered the other one.
It needs a better control sheme i agree with that, i'm surprise no one complained about that.
I guess you're just happy playing your SNES games on your calc.

Believe or not but i can still improve speed for PocketSNES.
Switching to n2DLib, even partially, should bring a nice speed bump.

As for my other emulators, Stella still crashes.
I will look into that later, custer's Revenge can wait i think.
I tried to switch to native with Potator but all i got is a Black screen,
strange.
#804
Games / Re: SDL/n2DLib ports for TI Nspire
September 04, 2015, 10:39:44 PM
Quote from: DJ Omnimaga on September 04, 2015, 10:29:15 PM
Does the dot hide the folder? I never used Linux before.
No, it doesn't hide the folder thankfully.
I just put the dot to make it clear it's a folder with all the saves in there.
#805
Games / Re: SDL ports for TI Nspire
September 04, 2015, 04:11:47 PM
Quote from: DJ Omnimaga on September 04, 2015, 03:55:27 PM
Oh it saved in the root directory? I guess it's better to save in the documents folder, plus it makes it easier for people to delete savestates and config (if they want to reset games/emulator setups, that is).
Obviously, this was a bad behaviour. i just forgot to fix this.
Currently it works like Oswan, it creates a directory with the dot and puts everything in it, like on Linux.
You can check your saves in /documents/ndless/.pocketsnes
I think it's neet as a system, i should to this more.
Might a write a tutorial/document about it for Nspire programmers.
#806
Games / Re: SDL ports for TI Nspire
September 04, 2015, 03:45:49 PM
Quote from: DJ Omnimaga on September 04, 2015, 03:12:35 PM
Also is the error dependent on specific calculator hardwares? On the TI-84+, for example, Omnicalc's restore RAM function will not work on any 84+ hardware manufactured past April 2007.
In fact, the version of PocketSNES with the bug should have not worked on my ti nspire...
Trying to save in the root directory can do funny things, or nothing depending on the hardware.

Quote from: DJ Omnimaga on September 04, 2015, 03:12:35 PM
Anyway, I am running Final Fantasy: Mystic Quest as I write this :). Thanks a lot and great job :)
Thanks, can't wait to fix my atari 2600 emulator.
#807
Games / Re: SDL ports for TI Nspire
September 04, 2015, 12:23:27 PM
Hi all,
i have fixed a serious bug with PocketSNES that prevented it to work on some calcs, like in DJ and critor's one.
It was trying to save in a nonexistant directory.
Critor had the same issue as dj and he told me the new version works now.
Anyways, you should download it again if PocketSNES did not worked for you.
#808
Games / Re: SDL ports for TI Nspire
September 04, 2015, 12:17:54 AM
Yes, you should rename your roms so they have no spaces.
For example, rename mario kart to smk.sfc.tns.
I'll add this to the readme if this works for you.

By the way, this is how it looks like on my Ti Nspire :

#809
Games / Re: SDL ports for TI Nspire
September 03, 2015, 11:18:09 PM
Quote from: DJ Omnimaga on September 03, 2015, 11:15:22 PM
Yeah I definitively think it's a NAND corruption or hardware issue. Possibly caused by past mistakes with past Ndless installs (maybe I accidentally set the AHB too low in Nover once?)
Yeah i think so, PocketSNES, depending on the game, requires much memory
so the fact it's such a memory hog could trigger the rebbot.
(running Megaman X3 on Ti Nspire for example requires around 24MB of free RAM)

Sorry to hear this, dj
#810
Games / Re: SDL ports for TI Nspire
September 03, 2015, 11:14:17 PM
Quote from: DJ Omnimaga on September 03, 2015, 11:11:42 PM
Ah I see. I tried a different Ndless config/resource copy and still no luck

I can't even play any game because the emulator simply won't start at all. It just shuts off the calc then reboots. I'll reformat my calc then reinstall OS 3.1 once I finished recharging it. Could it be hardware issues? Because I had troubles running some other Ndless programs in the past.
It shouldn't do that, because the file browser (which starts up) was reported to work on real hardware
by almost everyone else. ( RoQPlayer, Dgen etc...)
It sounds like NAND corruption. (or worse, a hardware issue, RAM is broken)
If you can't run some other ndless, you should backup and format your calc several times.
I don't know what it could be.
Powered by EzPortal