Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: BrownyTCat on September 15, 2010, 05:52:40 pm

Title: NESpire general discussion thread
Post by: BrownyTCat on September 15, 2010, 05:52:40 pm
You could use the keypresses and interface from calc84maniac's gbc4nspire 0.8, (at least HE could), just get an open source decoder... Thing for the roms! The NES has a LOWER resolution than the nSpire by default!

Plus I want to play some old favorites.  :-\
Title: Re: Would an NES emulator be possible on nSpire?
Post by: fb39ca4 on September 15, 2010, 06:05:38 pm
Yes. I think the nes's cpu ran at like 3 mhz or something. Certainly doable.
It would be also possible for the SNES, though I don't know about playing starfox.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: SirCmpwn on September 15, 2010, 07:46:38 pm
That would be so epic, it's not even funny.  If I had a Nspire, I would already be working on this, but I don't, so I think someone else should :)
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Scipi on September 15, 2010, 11:22:51 pm
Dang. I was just going to ask this myself lol. A nes/snes emulator would be so epic! Ninja Gaiden FTW!
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Snake X on September 16, 2010, 12:04:40 am
lol yeah. It would be better to make sure the snes is compatible with all those smw rom hacks out there cuz i have SNEmulDS and some stuffs glitch out
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Hot_Dog on September 16, 2010, 12:09:30 am
The NES could be done for sure.  Calc84maniac and ThePenguin have some some sweet SNES stuff for the 84+, so I'm pretty sure a SNES system would be feasible.  N64 is not very likely, sadly
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Builderboy on September 16, 2010, 01:17:28 am
N64 i think is dreaming a bit too big im afraid.  What with the screen size, lack of color, and crappy lcd, its just not a good idea :( Not even to go into speed concerns
Title: Re: Would an NES emulator be possible on nSpire?
Post by: meishe91 on September 16, 2010, 01:19:39 am
Who talked about emulating the N64? I'm missing something because I don't see that, just NES and SNES.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Builderboy on September 16, 2010, 01:24:36 am
Oh whoops didnt see that there was another page ;D And i want talking about it being real, i was just remarking along with everybody else how it wont be happening ;)
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 16, 2010, 04:51:42 am
I am fairly sure NES, Sega Master System, Game Gear and some limited SNES emulation could be done. Calc84 would need to learn the respective processor/hardware architectures though, to achieve this. Of course someone else could write the emu, though :P (Calc84 already got a lot of projects)

Oh whoops didnt see that there was another page ;D And i want talking about it being real, i was just remarking along with everybody else how it wont be happening ;)
There is? I only see one page in this topic ???
Title: Re: Would an NES emulator be possible on nSpire?
Post by: meishe91 on September 16, 2010, 07:57:22 am
Ya, I'm a bit confused too, DJ :P
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Builderboy on September 16, 2010, 11:15:13 am
* Builderboy looks around *

Im very sorry it seems im going crazy again o.O Im sick right now and so i havent been getting much sleep and i think i might be hallucinating x.x the other night i even replied twice to a post, but i only remembered 1 post. x.x
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 16, 2010, 04:40:18 pm
Aw sorry to hear :(. I hope you feel better soon
Title: Re: Would an NES emulator be possible on nSpire?
Post by: JustCause on September 16, 2010, 04:41:17 pm
* Builderboy looks around *

Im very sorry it seems im going crazy again o.O Im sick right now and so i havent been getting much sleep and i think i might be hallucinating x.x the other night i even replied twice to a post, but i only remembered 1 post. x.x

*gives Ambien and chicken noodle soup* Best of luck.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Raylin on September 16, 2010, 04:50:26 pm
I must get my hands on an Nspire so, I can tinker around with it.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: qazz42 on September 16, 2010, 04:53:51 pm
casltevania is my all time fav game, that on the nspire would PWN!
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Raylin on September 16, 2010, 04:56:05 pm
Zelda is my all time fav game, that on the nspire would PWN!

Fixed. >:D
Title: Re: Would an NES emulator be possible on nSpire?
Post by: qazz42 on September 16, 2010, 04:57:38 pm
noooo! Simon would kill Link hands down!
Title: Re: Would an NES emulator be possible on nSpire?
Post by: JustCause on September 16, 2010, 04:58:48 pm
noooo! Simon would kill Link hands down!
That's not the point. Point is, Link goes on an epic adventure, saves the world, collects stuff...he just does more.

Also, LEVEL UP! (da-da-da daaaa daaaa daaaa da da-da!)
Title: Re: Would an NES emulator be possible on nSpire?
Post by: qazz42 on September 16, 2010, 05:00:18 pm
so does simon
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Raylin on September 16, 2010, 05:04:08 pm
Flame war gogogogoggogogogogogo
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 16, 2010, 05:05:45 pm
We might want to go back on the main topic, though :P
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Raylin on September 16, 2010, 05:07:48 pm
True. You think the guy who made TI-Boy SE could help with this?
Title: Re: Would an NES emulator be possible on nSpire?
Post by: meishe91 on September 16, 2010, 05:10:10 pm
Wasn't that calc84maniac?

@Builder
Hope ya feel better soon!
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 16, 2010, 05:10:35 pm
Could? I am sure. Would? I am not as sure.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: SirCmpwn on September 16, 2010, 06:00:28 pm
/me pokes calc84maniac to make a SNES/NES emulator :P
Also, TI-Boy emulating ROMs off a flash drive, anyone?  Hmmm?  Hmmm?
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 16, 2010, 06:08:07 pm
That would be amazing. ATM we can only put Pokémon plus one or two other game on our calc at once x.x
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Raylin on September 16, 2010, 06:08:24 pm
@_@ :D

Must have!
Title: Re: Would an NES emulator be possible on nSpire?
Post by: SirCmpwn on September 16, 2010, 06:09:42 pm
Yeah, after working on TI Media Player, it's quite nice to store songs off-calc, now I want to store games off-calc :)
Title: Re: Would an NES emulator be possible on nSpire?
Post by: calc84maniac on September 16, 2010, 06:12:17 pm
Also, TI-Boy emulating ROMs off a flash drive, anyone?  Hmmm?  Hmmm?
That's pretty much implausible, actually. That would be like running TI-OS off of a flash drive. But slower.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: ztrumpet on September 16, 2010, 06:17:14 pm
This would be epic!  I hope it gets made someday. :)
Title: Re: Would an NES emulator be possible on nSpire?
Post by: squidgetx on September 16, 2010, 06:19:49 pm
wow, could be amazing.

ofc this is assuming that ndless will eventually overcome the new os issue
Title: Re: Would an NES emulator be possible on nSpire?
Post by: SirCmpwn on September 16, 2010, 06:29:36 pm
calc84maniac, sad day :(/me was planning on running TIOS from a flash drive in KOS <.<
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 16, 2010, 06:52:49 pm
Ouch, I wish it was faster. Dual-booting from a flash drive would have been nice too... oh well.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: SirCmpwn on September 16, 2010, 06:59:19 pm
Dual-booting an OS based on the KnightKernel will be possible, as will booting from a flash drive.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: calc84maniac on September 16, 2010, 07:02:05 pm
Ouch, I wish it was faster. Dual-booting from a flash drive would have been nice too... oh well.
It's because the OS is too big to be loaded into RAM, unlike on the TI-Nspire where this is not the case. Code can certainly not run directly from a flash drive, an emulation layer like Emu8x would be required (but even slower because it has to read from a flash drive, which is much slower than reading from the flash memory built-in to the calc)
Title: Re: Would an NES emulator be possible on nSpire?
Post by: willrandship on September 16, 2010, 09:56:27 pm
Well, what's wrong with copying it to ram, then running? Don't all the shells do something similar to this?

(I'm talking ROMs btw, not OSes)

BTW the Nspire will almost certainly never emulate anything with 3d. This includes superFX snes games (starfox) and N64 games. The Nspire doesn't have a 3D GPU, so it would be like playing a game with software-rendered Direct3D (it sucks for those who don't know :P)

NES/SNES would be awesome. NES would be much easier than SNES though.

I think it will be a little easier to make than SNEmulDS though, the DS was significantly weaker (and weirder :P) hardware, only about 2/3 of the Nspire's speed.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: bwang on September 16, 2010, 10:01:17 pm
But the DS has a GPU.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: calc84maniac on September 16, 2010, 10:02:02 pm
Well, what's wrong with copying it to ram, then running? Don't all the shells do something similar to this?

(I'm talking ROMs btw, not OSes)

BTW the Nspire will almost certainly never emulate anything with 3d. This includes superFX snes games (starfox) and N64 games. The Nspire doesn't have a 3D GPU, so it would be like playing a game with software-rendered Direct3D (it sucks for those who don't know :P)

NES/SNES would be awesome. NES would be much easier than SNES though.

I think it will be a little easier to make than SNEmulDS though, the DS was significantly weaker (and weirder :P) hardware, only about 2/3 of the Nspire's speed.
ROMs are also far too big to load into RAM on the TI-84+. Link's Awakening, for example, is 512KB. Metroid II is 128KB. Tetris might be small enough at 32KB (but certainly not on the new calcs with 48KB of RAM)
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 17, 2010, 01:16:52 am
That reminds me...
 
Several years ago there was a NES emu project for 68K calcs called TI-NESulator. It was discussed on yAronet starting in 2003, but I don't know whatever happened to the project. The topic had 500+ pages:

http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&sl=fr&tl=en&u=http%3A%2F%2Fyaronet.com%2Fposts.php%3Fs%3D23390%26p%3D1

EDIT: Wow did yAronet ban Google Language? http://yaronet.com/posts.php?s=23390&p=1
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Goplat on September 25, 2010, 02:21:19 am
So I thought I'd try my hand at making one... here's a screenshot of what I have so far:
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Silver Shadow on September 25, 2010, 02:30:50 am
Nice! I like the way how Mario is sometimes split in two... :P
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 25, 2010, 02:37:15 am
O.O

Ok this is fucking win. Nice job Goplat! I hope this gets finished or that someone makes one. On the real calc, does it runs at very fast speed?
Title: Re: Would an NES emulator be possible on nSpire?
Post by: bwang on September 25, 2010, 02:42:12 am
Incredible!!!
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 25, 2010, 02:45:22 am
This went on front page right away (in the 1 million hit news I added the screenshot.)
Title: Re: Would an NES emulator be possible on nSpire?
Post by: apcalc on September 25, 2010, 08:44:11 am
This is simply beautiful, Goplat!  Excellent job! :)
Title: Re: Would an NES emulator be possible on nSpire?
Post by: ztrumpet on September 25, 2010, 09:30:18 am
Wonderful!  I can't wait to see what else can be done! ;D
Title: Re: Would an NES emulator be possible on nSpire?
Post by: qazz42 on September 25, 2010, 10:06:24 am
HOLY SHIT!

I must be dreaming!!
/me slaps himself
Title: Re: Would an NES emulator be possible on nSpire?
Post by: SirCmpwn on September 25, 2010, 10:14:29 am
0.0 ZOMG!!!1!111!!!
This is epic.  Pure win.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: shmibs on September 25, 2010, 10:31:16 am
what?!!
how'd the crapz did you do that?!!
Title: Re: Would an NES emulator be possible on nSpire?
Post by: calcdude84se on September 25, 2010, 11:18:14 am
Nice! :D
Far from complete, definitely, but keep up the good work! :)
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 25, 2010, 02:02:25 pm
Goplat, if you see this, could you tell us how many times faster the emulator will run if you get rid of speed throttling? I wonder if it's the same speed as a GBC?

Now I wonder... it would be awesome if there was a Sega Master System, Game Gear and SNES emulator, although for SNES I assume only games not using special chips in cartridges would be emulated, right?
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Netham45 on September 25, 2010, 02:21:09 pm
That's very impressive, Goplat.

We need an x86 emulator...
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 25, 2010, 02:25:32 pm
I often hear x86 out there. Would x86 emulation pretty much be emulating a computer or were there consoles using that processor?
Title: Re: Would an NES emulator be possible on nSpire?
Post by: JonimusPrime on September 25, 2010, 02:27:14 pm
I often hear x86 out there. Would x86 emulation pretty much be emulating a computer or were there consoles using that processor?
The original Xbox is the only console I know of that uses x86, the 360, Wii, and PS3 all use PPC.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Netham45 on September 25, 2010, 02:28:11 pm
x86 is computer, yea.

I was thinking of something like dosbox, just so we could run old DOS games.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 25, 2010, 02:48:15 pm
Ah ok, and yeah Dosbox would be cool, assuming we can convert the game data to Nspire format (I wonder if all we had to do was adding a .tns extension like with gbc4nspire? One concern I have, though, is if a game had over 200 files, would it be harder to emulate?)
Title: Re: Would an NES emulator be possible on nSpire?
Post by: qazz42 on September 25, 2010, 03:27:33 pm
probably

though, Doom for the nspire would be awsome
Title: Re: Would an NES emulator be possible on nSpire?
Post by: bwang on September 25, 2010, 03:28:39 pm
We are nearly at the point where we can port Doom.
Only a few missing standard library functions stand in the way...
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Deep Toaster on September 25, 2010, 09:55:49 pm
And to answer the topic title: epic yes. That is awesome.

A few more months and the Nspire's gonna be a >9000! in one game sys... :D
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 25, 2010, 10:26:47 pm
One thing to keep in mind, though, is that this NES emulator may not necessarly be in C. Maybe it is, but if it is in assembly, then it doesn't mean C would be able to achieve this. Just noticing the framerate at which the raycaster runs I am not so confident C would be able to pull a fast enough SNES emulator, for example.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Goplat on September 25, 2010, 10:56:24 pm
Goplat, if you see this, could you tell us how many times faster the emulator will run if you get rid of speed throttling? I wonder if it's the same speed as a GBC?
Currently, it can run at a bit under 2x the speed of a NES, in nspire_emu. On a real calc this would be somewhat slower, since nspire_emu naively assumes every instruction takes one cycle. Also, implementing sprites more accurately might slow things down as well. Still, should be able to go full speed even without frameskipping. I'm not sure what you mean by "same speed as a GBC", since the GBC can't run NES games.

If anyone wants to try out the current work in progress: here it is. (Don't expect many games to work at this point.) There's no UI yet, so you have to concatenate the emulator to the ROM ("copy /B nes.bin+somerom.nes nes.tns" in the Windows command prompt). Game controls are like gbc4nspire (Esc = A, Tab = B, Caps = Start, Clear = Select). Also P = pause, Q = quit.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: SirCmpwn on September 25, 2010, 10:58:27 pm
Speaking of GBC, while we are making emulators... ;)
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 25, 2010, 10:59:47 pm
Oh I meant I was wondering if the emu was able to produce speed as fast as the gbc4nspire emulator (I know it only does gb/gbc, not NES) when speed throttling was turned off. It was just an example. I'm glad to hear the emulator can run at quite fast speed :)

Sir: Do you mean you want a GBC emulator for the Nspire? Because you can simply use Calc84maniac's emu for that :P
Title: Re: Would an NES emulator be possible on nSpire?
Post by: ztrumpet on September 25, 2010, 11:02:03 pm
Wait a minute!  We have a calc on the DS, but no DS on a calc.  Some of the Nspires do have a Touch Screen now. :P
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 25, 2010, 11:07:19 pm
No, no Nspire have a Touchscreen. They have either a clickpad or a touchpad.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: ztrumpet on September 25, 2010, 11:08:48 pm
Whoops, sorry.  Touchpad.   :-[  My bad. :)

* ZTrumpet feeds himself to the lobster...
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Deep Toaster on September 25, 2010, 11:09:31 pm
Yeah, touchpad, unfortunately :P Maybe we could play with a blind lower screen? They're not used that much in many games.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: qazz42 on September 25, 2010, 11:31:11 pm
err, do I need 1.7 ndless or 1.1? or 1.0
Title: Re: Would an NES emulator be possible on nSpire?
Post by: apcalc on September 25, 2010, 11:31:41 pm
It worked on OS 1.7 for me, so I would assume 1.7.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: qazz42 on September 25, 2010, 11:32:29 pm
meh, fair enough :)
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Goplat on September 25, 2010, 11:34:12 pm
err, do I need 1.7 ndless or 1.1? or 1.0
Either one should work.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: qazz42 on September 25, 2010, 11:35:12 pm
oh, ok, I will use 1.7 :)



D: CASTLEVANIA DIDNT WORK!!?!

can you upload the one you made (oh ,wait, that would be ROM sharing x.x)
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Goplat on September 25, 2010, 11:47:02 pm
It worked when I tried it... Can you verify that the combined file is exactly 142,028 bytes? And how did it not work - did it just exit immediately, or reset, or hang? (if it hung, could you still exit with Q?)

Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 26, 2010, 12:00:06 am
Maybe it was a bad ROM too?

I can't wait to see more development on this.
/me wonders if after a NES emu we will finally see the following then runs away ;D (note, the screenshot below is fake, before people get ideas...)
Title: Re: Would an NES emulator be possible on nSpire?
Post by: bwang on September 26, 2010, 02:31:41 am
One thing to keep in mind, though, is that this NES emulator may not necessarly be in C. Maybe it is, but if it is in assembly, then it doesn't mean C would be able to achieve this. Just noticing the framerate at which the raycaster runs I am not so confident C would be able to pull a fast enough SNES emulator, for example.
The raycaster is currently in floating point, which is not good for speed.
This will change in the near future. I am currently very busy right now (2 papers, 2 exams, and 2 problem sets due in the next five days :() And I also have a bunch of distracting fun hardware projects at the moment...
Title: Re: Would an NES emulator be possible on nSpire?
Post by: apcalc on September 26, 2010, 10:16:56 am
oh, ok, I will use 1.7 :)



D: CASTLEVANIA DIDNT WORK!!?!

can you upload the one you made (oh ,wait, that would be ROM sharing x.x)

It seems to work fine with me.  Are you sure you used "/B" when making the .tns file? (I forgot to when I made my castlevania one at first; it crashed the emulator.)
Title: Re: Would an NES emulator be possible on nSpire?
Post by: qazz42 on September 26, 2010, 10:17:48 am
it caused the emu to freeze, ah well, I was using the spanish castlevania though

also, it is 139mb

and on another try, it caused a big black box at the top to appear

I assum I must keep on trying until i get it right :)
Title: Re: Would an NES emulator be possible on nSpire?
Post by: fb39ca4 on September 26, 2010, 02:24:58 pm
@Goplat: Great job with the emu. Did you use C or ASM?
Title: Re: Would an NES emulator be possible on nSpire?
Post by: apcalc on September 26, 2010, 02:25:29 pm
He said it was in ASM on IRC last night.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Happybobjr on September 26, 2010, 03:34:18 pm
a holy $*** i'm scared moment.  i put the donkeykong game to my calc.  it froze after a while.  i removed keyboard.  i removed battery.  the screen was still frozen on the game....

My calc was getting power from my pc?
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 26, 2010, 03:36:49 pm
One thing to keep in mind, though, is that this NES emulator may not necessarly be in C. Maybe it is, but if it is in assembly, then it doesn't mean C would be able to achieve this. Just noticing the framerate at which the raycaster runs I am not so confident C would be able to pull a fast enough SNES emulator, for example.
The raycaster is currently in floating point, which is not good for speed.
This will change in the near future. I am currently very busy right now (2 papers, 2 exams, and 2 problem sets due in the next five days :() And I also have a bunch of distracting fun hardware projects at the moment...
Aw sorry to hear, I hope you won't quit calc stuff and move on to hardware stuff :( . I was scared Thepenguin77 would do so for a while. Mind posting about the hardware projects when you have some time, btw? I wonder what they are?

Happybobjr if it was connected through USB, I assume it did.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: qazz42 on September 26, 2010, 03:37:47 pm
a holy $*** i'm scared moment.  i put the donkeykong game to my calc.  it froze after a while.  i removed keyboard.  i removed battery.  the screen was still frozen on the game....

My calc was getting power from my pc?

yes
Title: Re: Would an NES emulator be possible on nSpire?
Post by: mapar007 on September 26, 2010, 03:42:10 pm
My epicness meter asploded./me wants Zelda NAO
j/k

Goplat, you did a great job there.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Happybobjr on September 26, 2010, 03:42:19 pm
sya it was connected through usb.

so you can run your calc w/o batteries if you have it connected?
Title: Re: Would an NES emulator be possible on nSpire?
Post by: calc84maniac on September 26, 2010, 03:45:18 pm
sya it was connected through usb.

so you can run your calc w/o batteries if you have it connected?
You can't turn on the calculator without batteries, because the USB does not supply power until a connection is established through software.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Happybobjr on September 26, 2010, 03:46:42 pm
ok, thanks.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 26, 2010, 04:10:22 pm
sya it was connected through usb.

so you can run your calc w/o batteries if you have it connected?
You can't turn on the calculator without batteries, because the USB does not supply power until a connection is established through software.
Ah that must be why when I last tried, I thought my calc did not support USB powering. Thanks for the advice :P
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Deep Toaster on September 26, 2010, 07:21:41 pm
:o Contra works! And Megaman!
Title: Re: Would an NES emulator be possible on nSpire?
Post by: nemo on September 26, 2010, 07:28:32 pm
:o Contra works! And Megaman!

screenshot? this is an amazing project... nice work goplat!
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Deep Toaster on September 26, 2010, 07:31:09 pm
Don't have time, sorry, but holy crap, this ... is ... EPIC!

Nspire ROM + Ncubate + Ndless + GBC4Nspire + NES ROMs + NES emulator = pure, pure epicness.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: FinaleTI on September 26, 2010, 07:32:08 pm
Has anyone tested the fan translation of FF3? If it works, then I must get myself an Nspire...

Nice work on this, btw.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Deep Toaster on September 26, 2010, 07:32:49 pm
Final Fantasy doesn't work :(

Anyway, to take a screenshot, I'd need CalcCapture, correct?
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 26, 2010, 07:33:41 pm
Nice to see those games work already. Will SMB3 work too?

EDIT: Yes, calcapture is required.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: qazz42 on September 26, 2010, 07:34:26 pm
:(

everyone seems to get this to work but me, ah well
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Deep Toaster on September 26, 2010, 07:38:10 pm
Nice to see those games work already. Will SMB3 work too?

EDIT: Yes, calcapture is required.

No, not Super Mario, unfortunately. It doesn't crash, but it freezes at the splash screen and does nothing until you quit :P
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 26, 2010, 07:55:40 pm
Aw, too bad. Hopefully Goplat might be able to fix this soon, assuming he is currently working on that emulator, still. :)
Title: Re: Would an NES emulator be possible on nSpire?
Post by: apcalc on September 26, 2010, 07:56:57 pm
everyone seems to get this to work but me, ah well

Which version of the emulator are you using?
Title: Re: Would an NES emulator be possible on nSpire?
Post by: qazz42 on September 26, 2010, 07:58:59 pm
hmm? what do you mean?
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Deep Toaster on September 26, 2010, 08:01:40 pm
Which Nspire emu are you using? Or are you using a real Nspire?
Title: Re: Would an NES emulator be possible on nSpire?
Post by: apcalc on September 26, 2010, 08:02:26 pm
Use this version:

http://www.unitedti.org/forum/index.php?showtopic=8191&view=findpost&p=142321
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 26, 2010, 08:13:25 pm
Use this version:

http://www.unitedti.org/forum/index.php?showtopic=8191&view=findpost&p=142321
An Error Occurred

Sorry, an error occurred. If you are unsure on how to use a feature, or don't know why you got this error message, try looking through the help files for more information.

[#10171] You do not have permission to view this attachment.

You are not signed in

 Click here to log in.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Deep Toaster on September 26, 2010, 08:15:36 pm
Use this version:

http://www.unitedti.org/forum/index.php?showtopic=8191&view=findpost&p=142321

Actually, use Ncubate. It works ;)

EDIT: Hey, CalcCapture is awesome! Here's Contra (I suck at the game, as you can see :P).

EDIT2: Crap, it's off. Oh well :P You get the point. Absolutely awesome job on this, Goplat.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: apcalc on September 26, 2010, 08:18:21 pm
Ncubate does not support Ndless 1.7, which is what qazz42 is using.

Did that link work?  If not, use the version of the emulator on page 43 of "Mission:  Hack the Nspire" on United TI.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Deep Toaster on September 26, 2010, 08:19:27 pm
Hm, Ndless 1.1 works. Maybe it's qazz42's build of 1.7?
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 26, 2010, 08:20:33 pm
Ncubate does not support Ndless 1.7, which is what qazz42 is using.

Did that link work?  If not, use the version of the emulator on page 43 of "Mission:  Hack the Nspire" on United TI.
United-TI has attachments disabled for guests, meaning guests must register an account to download Goplat's latest emulator version. I do not feel like registering a new forum account, especially since it's against the rules anyway (and in my case, would fall under ban evasion).
Title: Re: Would an NES emulator be possible on nSpire?
Post by: apcalc on September 26, 2010, 08:25:48 pm
:(

I don't know of any other way to get the latest version of the emulator besides from there.  That is the only version that supports Ndless 1.7.  Any other version of the emulator (including Ncubate) can be used for Ndless 1.1.  The NES emulator, I believe, works with both versions of Ndless.  Sorry for any trouble this causes. :(
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 26, 2010, 08:53:15 pm
Ah ok. Maybe I could ask someone for a copy when I need it. Right now I use version 0.2.0 because it's all setup with the ROM and batch files (thanks to Bwang) and I was worried it may not work with the new version.

EDIT: I don't think this belongs in C programming anymore, especially with Goplat involved (I think he uses ASM) and due to the fact it sounds more like a project/idea than programming help/tutorial/discussion, so I moved it to Other Calc-Related Projects And Ideas.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: qazz42 on September 26, 2010, 09:05:36 pm
err, I am using the one on TI-Bank
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 26, 2010, 09:11:24 pm
Oh wait they have it too. I forgot x.x. Do they have the latest version, though?

Also, if you mean the one with a GUI, I never got it to work, though. I tried understanding how to install it and run it, to no avail. I asked help too, but no one responded.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: qazz42 on September 26, 2010, 09:12:36 pm
actually, I dont think so...

and there is a gui one!?!? where?
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 26, 2010, 09:14:14 pm
I forgot what is the name. You would need to search their site. Levak worked on that version. Extended also had a version called Ncubate, but I forgot if it had a GUI or not..
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Happybobjr on September 26, 2010, 09:17:08 pm
legend of zelda and 1942 do not work
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Goplat on September 26, 2010, 09:25:56 pm
Final Fantasy doesn't work :(
It does now! (Not that you would ever want to play it with no ability to save your game ;))
Title: Re: Would an NES emulator be possible on nSpire?
Post by: apcalc on September 26, 2010, 09:27:10 pm
New emulator version! :D

/me downloads!
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Happybobjr on September 26, 2010, 09:28:54 pm
only improve final fantasy? or does it do more?
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 26, 2010, 09:36:32 pm
Awesome! Also:

Final Fantasy doesn't work :(
It does now! (Not that you would ever want to play it with no ability to save your game ;))
That implies this new version adds savestates, right?
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Goplat on September 26, 2010, 09:40:20 pm
only improve final fantasy? or does it do more?
Mapper 1 is now implemented, which is used by various games (including Final Fantasy 1 and 2, Metroid, and Zelda 1 and 2). Also, SMB1 is now playable although the status bar is glitchy.

I also implemented some speed-related controls - press a number from 1 to 6 to set frameskip (default is 3), press * to fast forward.

That implies this new version adds savestates, right?
No, there is no kind of saving yet.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Happybobjr on September 26, 2010, 09:49:40 pm
this is great  thanks :D

so when's the next update?  lol jk :P :P :P
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 26, 2010, 10:12:15 pm
Ah ok nice. Thanks for the info :)

If I try it, I will most likely set framerate to be low, due to the low quality LCD display the Nspire provide us (blurry)
Title: Re: Would an NES emulator be possible on nSpire?
Post by: ExtendeD on September 27, 2010, 08:01:27 am
Ncubate does not support Ndless 1.7, which is what qazz42 is using.
Well it should, did you see any problem?
Title: Re: Would an NES emulator be possible on nSpire?
Post by: willrandship on September 27, 2010, 11:43:12 am
When I play on Emulators, I usually only use savestates anyways :P

This is so cool.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: apcalc on September 27, 2010, 03:40:02 pm
Ncubate does not support Ndless 1.7, which is what qazz42 is using.
Well it should, did you see any problem?

Ok, I see the problem.  I missed the latest release of Ncubate, and I was using an older version.  Ndless 1.7 works fine in it now, though! :)
Title: Re: Would an NES emulator be possible on nSpire?
Post by: critor on September 27, 2010, 04:04:38 pm
Great!!!
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Deep Toaster on September 28, 2010, 08:00:21 pm
Ncubate does not support Ndless 1.7, which is what qazz42 is using.
Well it should, did you see any problem?

Ok, I see the problem.  I missed the latest release of Ncubate, and I was using an older version.  Ndless 1.7 works fine in it now, though! :)

Great that it works, I'll switch over to 1.7 as well. I heard that there was some major bug with 1.1, but I forgot what it was.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: apcalc on September 28, 2010, 10:58:57 pm
Thought I would make a little screenshot of this with Pac-Man. ;D

(http://img.removedfromgame.com/imgs/1285729040-TEST0011.gif)
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 28, 2010, 11:02:23 pm
Lol nice :D

Also you're good at that game. I remember I had it as kid on the NES and I sucked at it x.x
Title: Re: Would an NES emulator be possible on nSpire?
Post by: ztrumpet on September 28, 2010, 11:09:15 pm
That's awesome!  Nice job! ;D
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Lionel Debroux on September 29, 2010, 03:58:24 am
Great job, as always :)
Title: Re: Would an NES emulator be possible on nSpire?
Post by: qazz42 on September 29, 2010, 06:50:53 am
hmmm got it to work, :D

I feel good now that I know that I was only using the wrong emu
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 29, 2010, 12:10:39 pm
Glad to hear you got it to work :D

I still need to try it, personally, since I was busy trying some other games recently.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: qazz42 on September 29, 2010, 02:49:03 pm
epic, once ndless 1.7 is out of the beta stage, I hope to play castlevania during school :D


Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 29, 2010, 11:03:08 pm
Nice video :D and glad you kept a portion of the emu GUI in the video so it won,t look fake
Title: Re: Would an NES emulator be possible on nSpire?
Post by: qazz42 on September 30, 2010, 06:50:15 am
haha, thanks Dj, I actually did that because the fixed region thing on my desktop recorder didnt want to fit properly x.x

but I guess it would look a bit fake if I didnt :D I mean it is easy just to take a video of me playing a NES and then greyscale it


so, anywho, now that I have seen the power of the nes emu, /me runs

(btw, any-chance of things like sound or cheats?)
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 30, 2010, 09:07:07 am
Sound might be a bit difficult since it would require the user to swap to the 84+ keypad everytime he wants to play the emulator (since the Nspire clickpad/touchpads won't have an I/O link port and sound through USB would require the user to have to find USB speakers or headphones.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: calc84maniac on September 30, 2010, 10:44:52 am
Sound might be a bit difficult since it would require the user to swap to the 84+ keypad everytime he wants to play the emulator (since the Nspire clickpad/touchpads won't have an I/O link port and sound through USB would require the user to have to find USB speakers or headphones.
Not to mention the programmer actually having to figure out how to interface with a USB headphone. Nobody knows at this point.
Title: Re: Would an NES emulator be possible on nSpire?
Post by: qazz42 on September 30, 2010, 02:39:48 pm
Hmm, good point, (though I have usb headphones on as I am typing this, just sayin)
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 30, 2010, 06:34:44 pm
Yeah I think no one, not even BrandonW, knows x.x
Title: Re: Would an NES emulator be possible on nSpire?
Post by: apcalc on September 30, 2010, 10:14:16 pm
I just want to clarify something here:

I read on TI-Bank that this emulator only works on OS 1.7.  I just tested it on the emulator; it works with both OS 1.1 and OS 1.7.  There is no need to have a working version of Ndless 1.7 to use this. :)
Title: Re: Would an NES emulator be possible on nSpire?
Post by: qazz42 on September 30, 2010, 10:17:30 pm
Hmmm, I guess once a stable ndless 1.7/ 2.0 comes out, we can get to work on getting USB sound :)
Title: Re: Would an NES emulator be possible on nSpire?
Post by: calc84maniac on September 30, 2010, 10:19:14 pm
How would Ndless 1.7/2.0 help with usb any more than Ndless 1.1?
Title: Re: Would an NES emulator be possible on nSpire?
Post by: Happybobjr on September 30, 2010, 10:19:53 pm
How would Ndless 1.7/2.0 help with usb any more than Ndless 1.1?

more people will be interested in investing their time for it maybe?
Title: Re: Would an NES emulator be possible on nSpire?
Post by: qazz42 on September 30, 2010, 10:38:05 pm
errr, yeah, good point... I forogt not all of you have the power bug
Title: Re: Would an NES emulator be possible on nSpire?
Post by: DJ Omnimaga on September 30, 2010, 11:22:26 pm
I just want to clarify something here:

I read on TI-Bank that this emulator only works on OS 1.7.  I just tested it on the emulator; it works with both OS 1.1 and OS 1.7.  There is no need to have a working version of Ndless 1.7 to use this. :)
really? Nice, so I guess I could simply install 1.1 then.

Then I got the power bug, tho x.x
Title: Re: Would an NES emulator be possible on nSpire?
Post by: apcalc on October 01, 2010, 08:08:48 pm
:D (This is the first time I played, I know I am terrible :P)

(http://img.removedfromgame.com/imgs/1285978049-TEST0014.gif)
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on October 01, 2010, 08:14:38 pm
Nice, Metroid works too :D

Btw that game was so hard x.x
Title: Re: Would an NES emulator be possible on Nspire?
Post by: qazz42 on October 01, 2010, 09:07:41 pm
awesome!

are there any games that DON'T work?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: apcalc on October 01, 2010, 09:08:25 pm
Yes, SMB 3 is an example of one that does not work.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on October 01, 2010, 09:30:09 pm
I wonder if ROM hack does...
Title: Re: Would an NES emulator be possible on Nspire?
Post by: qazz42 on October 01, 2010, 09:55:38 pm
hmm, thats strange, perhaps it has to do with the size of SMB3?

I mean, it is about 4x everything than the origional
Title: Re: Would an NES emulator be possible on Nspire?
Post by: ztrumpet on October 01, 2010, 09:57:45 pm
Looks great!  I want to play it... ;D
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Goplat on October 01, 2010, 09:59:41 pm
hmm, thats strange, perhaps it has to do with the size of SMB3?
SMB3 uses mapper 4 (MMC3) which is not yet implemented.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: qazz42 on October 01, 2010, 10:03:19 pm
ah, ok, nvmd then
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Deep Toaster on October 01, 2010, 10:15:35 pm
I just want to clarify something here:

I read on TI-Bank that this emulator only works on OS 1.7.  I just tested it on the emulator; it works with both OS 1.1 and OS 1.7.  There is no need to have a working version of Ndless 1.7 to use this. :)
really? Nice, so I guess I could simply install 1.1 then.

Then I got the power bug, tho x.x

So what is the power bug? I've heard about it, but not what it does.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: apcalc on October 01, 2010, 10:19:20 pm
The Power Management Bug makes the screen not turn on when you turn the calculator on.  You need to reset in order for the screen to turn on.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: qazz42 on October 02, 2010, 07:45:59 am
and that really gets annoying, and I cant risk getting my keypad looser
Title: Re: Would an NES emulator be possible on Nspire?
Post by: critor on October 02, 2010, 07:59:37 am
I just want to clarify something here:

I read on TI-Bank that this emulator only works on OS 1.7.  I just tested it on the emulator; it works with both OS 1.1 and OS 1.7.  There is no need to have a working version of Ndless 1.7 to use this. :)


Sorry, most posts in this topic were mentionning Ndless 1.7 (how to compile, how to install on a real calc,how to install on an emulator...) so I didn't get the idea to test with Ndless 1.1.

Can you clarify things more?

There's only one binary file: nes.bin.

What does it work on ?

- basic OS 1.1 with Ndless 1.0/1.1
- basic OS 1.7 with Ndless 1.7
- CAS OS 1.1 with Ndless 1.0/1.1
- CAS OS 1.7 with Ndless 1.7

Usually, different binaries had to be provided as the routine adresses change from one OS to another...

I'm going to correct the information as soon as I know.
Thanks.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: apcalc on October 02, 2010, 09:16:26 am

- basic OS 1.1 with Ndless 1.0/1.1  Works! (Tested)
- basic OS 1.7 with Ndless 1.7       Works! (Tested)
- CAS OS 1.1 with Ndless 1.0/1.1   Untested (I don't have a 1.1 CAS .rom with Ndless), although I would think it would work.
- CAS OS 1.7 with Ndless 1.7        Does not Work (Just for the fact that Ndless 1.7 does not currently support the CAS.)


Also, critor, you might want to update the version of Block Dude Nspire on TI-Bank.  The current version on ticalc.org fixes a nasty bug with the CAS version and it adds two more levels at the end. :)
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Goplat on October 04, 2010, 02:50:55 am
Implemented some more mappers - a majority of games should at least run now.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: smmagic on October 04, 2010, 02:52:42 am
Hey if you need, I've got an nspire cas with os 1.1 and ndless 1.1 so if you need me to test anything just pm me :p
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on October 04, 2010, 04:02:27 am
Nice update! :D
Title: Re: Would an NES emulator be possible on Nspire?
Post by: critor on October 04, 2010, 08:46:49 am
Hey if you need, I've got an nspire cas with os 1.1 and ndless 1.1 so if you need me to test anything just pm me :p

Yes, does the provided binary of the emulator work on your TI-Nspire CAS with os 1.1 ?
You may test it with the Castelvania ROM for example, which is known to work.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on October 04, 2010, 02:27:31 pm
I would also suggest multiple ROMs, because sometimes a copy of a game may work while another may not. Sometimes just the region (japan, europe, america) seems to do a difference x.x
Title: Re: Would an NES emulator be possible on Nspire?
Post by: critor on October 04, 2010, 02:38:14 pm
sometimes a copy of a game may work while another may not. Sometimes just the region (japan, europe, america) seems to do a difference x.x

Quite normal, as it was doing a difference on the true consoles too.


You had to cut a chip pin in order to play european games on your american NES, and in order to play american games on your european NES. Some bugs could then appear, due to the different refresh frequencies between PAL and NTSC (yes, some graphic features included in some games, did depend of the refresh frequency).

I've experienced both.

Unfortunately, I've had no experience, with the japanese console.


I suppose the emulator supports at least american ROMs.
I wonder if european/japanese ROMs are supported by the emulator, as some games were released only in Europe, and many games were released only in Japan.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: JosJuice on October 04, 2010, 03:45:40 pm
sometimes a copy of a game may work while another may not. Sometimes just the region (japan, europe, america) seems to do a difference x.x

Quite normal, as it was doing a difference on the true consoles too.


You had to cut a chip pin in order to play european games on your american NES, and in order to play american games on your european NES. Some bugs could then appear, due to the different refresh frequencies between PAL and NTSC (yes, some graphic features included in some games, did depend of the refresh frequency).

I've experienced both.

Unfortunately, I've had no experience, with the japanese console.


I suppose the emulator supports at least american ROMs.
I wonder if european/japanese ROMs are supported by the emulator, as some games were released only in Europe, and many games were released only in Japan.
If the emulator supports American ROMs, it should automatically support Japanese ones too since they're both NTSC. PAL games are definitely trickier.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: qazz42 on October 04, 2010, 03:46:59 pm
hmm, I was using a spanish castlevania ROM... it worked
Title: Re: Would an NES emulator be possible on Nspire?
Post by: JosJuice on October 04, 2010, 03:48:58 pm
hmm, I was using a spanish castlevania ROM... it worked
Maybe it was running a bit too fast in the emulator?
Or maybe it runs a bit too slow on a real NES due to porting laziness...
Title: Re: Would an NES emulator be possible on Nspire?
Post by: qazz42 on October 04, 2010, 03:50:09 pm
who said I had the real thing >.>

<.<
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on October 04, 2010, 03:53:08 pm
Ah right, I forgot Japan was also a NTSC territory.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: qazz42 on October 07, 2010, 06:48:25 am
So, this seems to be coming on very good O_o

Anyone know how to make a batch file that lets me create the .tns just by dragging the .nes over said batch file?

constantly coming back to this thread to get the command gets a tad annoying >.<

Title: Re: Would an NES emulator be possible on Nspire?
Post by: critor on October 07, 2010, 09:04:10 am
Anyone know how to make a batch file that lets me create the .tns just by dragging the .nes over said batch file?

Which OS? Windows or Linux ?

The Windows batch has been available for a week on TI-Bank.
http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=1964

There's an english ReadMe, don't worry ;)
Title: Re: Would an NES emulator be possible on Nspire?
Post by: qazz42 on October 07, 2010, 03:27:58 pm
O_o

and How in hell's name did I not see that?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: yunhua98 on October 07, 2010, 03:31:49 pm
do you mean "not" instead of "know"?  :P

took me a while to understand that.  But I shouldn't talk, I'm the one who made an entire post with caps lock on without realizing.  :P
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on October 07, 2010, 06:24:52 pm
do you mean "not" instead of "know"?  :P

took me a while to understand that.  But I shouldn't talk, I'm the one who made an entire post with caps lock on without realizing.  :P
The one that two people had quoted in their signature? ;D
Title: Re: Would an NES emulator be possible on Nspire?
Post by: apcalc on October 07, 2010, 07:10:07 pm
Still a little buggy, but beautiful nonetheless:

(http://img.removedfromgame.com/imgs/1286492994-TEST0001.gif)
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on October 07, 2010, 07:52:21 pm
I love it ;D

Also the colors converts pretty well :D

One suggestion I would have for Goplat is to make the two sides of the screen black, like on a TV
Title: Re: Would an NES emulator be possible on Nspire?
Post by: qazz42 on October 07, 2010, 09:33:30 pm
1. ah, ok, fixed

2. Oh.. my.. gawd.. SMB3 on a calc

just.. epic
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Madskillz on October 07, 2010, 10:02:16 pm
Amazing that is awesome...kinda wish I had an Nspire just to mess around with.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: qazz42 on October 08, 2010, 11:13:12 pm
hey, umm, critor, would you mind telling me before you upload my video to your channel?

it is not that I dont mind, I would just like to know `-`
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Jonius7 on October 09, 2010, 01:52:59 am
NES and SNES emulation would be epic! lots of new games available!!!
Title: Re: Would an NES emulator be possible on Nspire?
Post by: critor on October 09, 2010, 05:49:09 am
hey, umm, critor, would you mind telling me before you upload my video to your channel?

it is not that I dont mind, I would just like to know `-`

I'll tell you if I do upload it, don't worry. :)
For the moment, I've just published a link.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: qazz42 on October 09, 2010, 11:13:30 am


but you did upload it ^

unless. that is not your channel?

oh, nvmd, if it is your channel, it's ok :) I reallly dont mind
Title: Re: Would an NES emulator be possible on Nspire?
Post by: critor on October 09, 2010, 11:33:06 am


but you did upload it ^

unless. that is not your channel?

oh, nvmd, if it is your channel, it's ok :) I really dont mind


Oh sorry... I thought you were mentionning the latest Super Mario Brothers animation.

Usually I just link youtube videos.
I've reuploaded yours in order to remove the emulator borders, which did "prove" it was true, but were horrible on a front page.

I didn't state anywhere that I was the "capturer"...
Sorry for having shocked you.

Do you want to be mentionned in the description/title ?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: qazz42 on October 09, 2010, 04:26:08 pm
hmm, no really, I dont mind, no need to worry

I just wanted a liiiitle notice that you would put the video on your account ;D
Title: Re: Would an NES emulator be possible on Nspire?
Post by: critor on October 11, 2010, 12:31:47 pm
I just wanted a liiiitle notice that you would put the video on your account ;D

Sorry, I had missed your post.
I've put a notice.

If it's not ok, just tell me. :)
Title: Re: Would an NES emulator be possible on Nspire?
Post by: qazz42 on October 11, 2010, 12:34:58 pm
no no no no, as I said, it is fine you have the video, in fact, it just gives my video moar audience ;)

I am just saying, I am happy you credited me. thanks for doing so critor

canz we go back to NES topic now?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on October 11, 2010, 04:54:41 pm
I wonder how is the emu progressing actually?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: qazz42 on October 11, 2010, 07:36:29 pm
me too, I second that notion
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Goplat on October 13, 2010, 12:45:56 am
I've made some improvements to the graphics code, it's now more accurate and faster too. Sprites behind the background now work, and no more glitchy status bar in SMB1.

Title: Re: Would an NES emulator be possible on Nspire?
Post by: Silver Shadow on October 13, 2010, 12:49:30 am
^ Yay!/me does the Kirby dance to celebrate!
Title: Re: Would an NES emulator be possible on Nspire?
Post by: AngelFish on October 13, 2010, 01:06:39 am
I've never said this about any program, but this is simply epic.

/me dreams about the possibilities of the Prizm *
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on October 13, 2010, 02:39:32 am
Nice update again!
/me wonders if there will be a ticalc release before December, because that could easily rival Ndless during the 2010 POTY
Title: Re: Would an NES emulator be possible on Nspire?
Post by: fb39ca4 on October 13, 2010, 03:42:20 pm
What version of ndless is this compiled for?
I don't want to upgrade until 1.7 is stable.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: apcalc on October 13, 2010, 03:45:38 pm
I believe this works with both versions of Ndless.

Thank you for the update, Goplat! :D
Title: Re: Would an NES emulator be possible on Nspire?
Post by: bwang on October 13, 2010, 04:43:28 pm
This emulator is scary...
Excellent work!
Title: Re: Would an NES emulator be possible on Nspire?
Post by: SirCmpwn on October 13, 2010, 06:16:31 pm
/me downloads in anticipation of getting an Nspire...
Title: Re: Would an NES emulator be possible on Nspire?
Post by: qazz42 on October 13, 2010, 07:00:41 pm
D: I hope that ndless is finished and stable before the potys!
Title: Re: Would an NES emulator be possible on Nspire?
Post by: SirCmpwn on October 13, 2010, 07:18:19 pm
How do I convert the bin file to a tns file?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: apcalc on October 13, 2010, 07:22:17 pm
You need to copy the .nes file to the .bin to make the .tns

Make sure the .bin and .nes file are in the same folder, open the command prompt, and use these commands:

Code: [Select]
cd <directory with the files>
copy /B nes.bin+<filename>.nes <filename>.tns
Title: Re: Would an NES emulator be possible on Nspire?
Post by: SirCmpwn on October 13, 2010, 07:33:16 pm
Thank you!
Title: Re: Would an NES emulator be possible on Nspire?
Post by: qazz42 on October 13, 2010, 09:30:09 pm
could you explain what line of code does?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: calcdude84se on October 13, 2010, 09:36:57 pm
It appends <filename>.nes to the end of nes.bin and outputs it to <filename>.tns
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Deep Toaster on October 13, 2010, 10:58:34 pm
D: I hope that ndless is finished and stable before the potys!

If so, it's gonna be a tight (read: tied) battle between this and Axe...
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on October 14, 2010, 02:26:38 am
D: I hope that ndless is finished and stable before the potys!

If so, it's gonna be a tight (read: tied) battle between this and Axe...
No, because the POTY is separated by category:

TI-81
TI-82
TI-83+/84+
68K (89/92+/v200)
TI-Nspire

There can be more categories as well, such as Windows utilities or PC utilities and TI-86.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Deep Toaster on October 14, 2010, 09:36:11 am
Oh, right, forgot about that.

Yep, goplat, you could definitely win this year! No rush, though.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: qazz42 on October 14, 2010, 03:43:30 pm
woaha! I think ndless will win though, with nes emu later, then gb emu

but thats my opinion ;)
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on October 14, 2010, 05:47:32 pm
Yeah I think Ndless stands a big chance there, especially since it allows everything else that got featured this year for the Nspire.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: qazz42 on October 14, 2010, 05:53:01 pm
pretty much, ndless is the key
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Yeong on October 15, 2010, 08:37:59 am
Can't wait until I play Lufia 2 with my calc.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Lionel Debroux on October 16, 2010, 05:47:55 am
Yeah, Ndless is the key to other programs.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Munchor on October 16, 2010, 10:08:06 am
Ndless can work 3D games, so why not N64 games?


I mean, no way at 5 fps
Title: Re: Would an NES emulator be possible on Nspire?
Post by: fb39ca4 on October 16, 2010, 10:13:26 am
n64 Fullspeed emulation will be impossible-there is only so much you can do with 150mhz and no graphics hardware.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Munchor on October 16, 2010, 10:14:26 am
n64 Fullspeed emulation will be impossible-there is only so much you can do with 150mhz and no graphics hardware.

yup, 3D animations in my Nspire already look slow... like a football turning around itself is slow... n64 would just boooom the calculator
Title: Re: Would an NES emulator be possible on Nspire?
Post by: critor on October 16, 2010, 11:03:28 am
Ndless can work 3D games, so why not N64 games?

Why not SNES emulation before that? ;)
Title: Re: Would an NES emulator be possible on Nspire?
Post by: calc84maniac on October 16, 2010, 11:16:06 am
n64 Fullspeed emulation will be impossible-there is only so much you can do with 150mhz and no graphics hardware.

yup, 3D animations in my Nspire already look slow... like a football turning around itself is slow... n64 would just boooom the calculator
Is this in TI-Nspire Basic? If so, that could explain it ;)
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Munchor on October 16, 2010, 11:40:44 am
n64 Fullspeed emulation will be impossible-there is only so much you can do with 150mhz and no graphics hardware.

yup, 3D animations in my Nspire already look slow... like a football turning around itself is slow... n64 would just boooom the calculator
Is this in TI-Nspire Basic? If so, that could explain it ;)


The thing is I have a program called PolyHedra in

 http://nelsonsousa.pt/index.php?lang=en&cat=2&subcat=3&article=40 (http://nelsonsousa.pt/index.php?lang=en&cat=2&subcat=3&article=40)

It has a 3D football and when I play the animation it is very slow.
TI N-Spire Touchpad :)
Title: Re: Would an NES emulator be possible on Nspire?
Post by: codeslicer on October 16, 2010, 12:31:24 pm
n64 Fullspeed emulation will be impossible-there is only so much you can do with 150mhz and no graphics hardware.

yup, 3D animations in my Nspire already look slow... like a football turning around itself is slow... n64 would just boooom the calculator
Is this in TI-Nspire Basic? If so, that could explain it ;)


The thing is I have a program called PolyHedra in

 http://nelsonsousa.pt/index.php?lang=en&cat=2&subcat=3&article=40 (http://nelsonsousa.pt/index.php?lang=en&cat=2&subcat=3&article=40)

It has a 3D football and when I play the animation it is very slow.
TI N-Spire Touchpad :)

Don't forget that the Nspire OS with all of its individual points moving, and lines being recalculated, means that pure C code would run much faster. (Although N64 is still pushing it).
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Munchor on October 16, 2010, 12:34:24 pm
n64 Fullspeed emulation will be impossible-there is only so much you can do with 150mhz and no graphics hardware.

yup, 3D animations in my Nspire already look slow... like a football turning around itself is slow... n64 would just boooom the calculator
Is this in TI-Nspire Basic? If so, that could explain it ;)


The thing is I have a program called PolyHedra in

 http://nelsonsousa.pt/index.php?lang=en&cat=2&subcat=3&article=40 (http://nelsonsousa.pt/index.php?lang=en&cat=2&subcat=3&article=40)

It has a 3D football and when I play the animation it is very slow.
TI N-Spire Touchpad :)

Don't forget that the Nspire OS with all of its individual points moving, and lines being recalculated, means that pure C code would run much faster. (Although N64 is still pushing it).

Yeah that's right and C is also the fastest language of all.

With some optimization, it could be possible


How dumb of me, i forgot that C is way faster in the nspire heheheheh
Title: Re: Would an NES emulator be possible on Nspire?
Post by: fb39ca4 on October 16, 2010, 01:20:27 pm
The n64 had a 90mhz processor, and 3d graphics hardware.
IMO, the most efficient emulator ever is Dolphin, (Wii/GC emulator), and it still needs like 8x the CPU power compared to the actual thing to emulate most games.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on October 16, 2010, 01:24:41 pm
Ndless can work 3D games, so why not N64 games?

Why not SNES emulation before that? ;)
I agree with that, not to mention it has a much wider variery of games. If N64 is possible it would really rule, though. But yeah we need to start small at first.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Goplat on October 16, 2010, 04:02:02 pm
SNES is probably feasible, other than the games that had additional processors inside the cartridge (http://en.wikipedia.org/wiki/List_of_Super_NES_enhancement_chips). I remember using an emulator called ZSNES on my 100MHz 486, probably roughly comparable to the Nspire in terms of CPU power. Had to turn the frameskip up but many games were still playable.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: fb39ca4 on October 16, 2010, 04:12:28 pm
So no starfox, then? :(
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Munchor on October 16, 2010, 04:28:17 pm
So no starfox, then? :(

I'm afraid so, but I don't think nobody ever tried making a N64 emulator, but how can we know without trying?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: calc84maniac on October 16, 2010, 04:51:48 pm
Starfox was a SNES game. But at any rate, an N64 emulator isn't going to run on our 150MHz ARM processor with no GPU and only 32MB of RAM. The Pandora (http://openpandora.org/) is just barely able to run an optimized N64 emulator, and it's 600MHz+ with 3d graphics hardware and 256MB RAM.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Happybobjr on October 16, 2010, 07:20:20 pm
Starfox was a SNES game. But at any rate, an N64 emulator isn't going to run on our 150MHz ARM processor with no GPU and only 32MB of RAM. The Pandora (http://openpandora.org/) is just barely able to run an optimized N64 emulator, and it's 600MHz+ with 3d graphics hardware and 256MB RAM.

exscuse me.  Can't the Pandora emulate a Nintendo ds fully?
So why cant it emulate a n64 well?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Munchor on October 16, 2010, 07:28:12 pm
Starfox was a SNES game. But at any rate, an N64 emulator isn't going to run on our 150MHz ARM processor with no GPU and only 32MB of RAM. The Pandora (http://openpandora.org/) is just barely able to run an optimized N64 emulator, and it's 600MHz+ with 3d graphics hardware and 256MB RAM.

Nspire is just slow at running 3D graphics, NES Emulator ain't that fast and it is 2D.

exscuse me.  Can't the Pandora emulate a Nintendo ds fully?
So why cant it emulate a n64 well?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: bwang on October 16, 2010, 09:40:55 pm
Starfox was a SNES game. But at any rate, an N64 emulator isn't going to run on our 150MHz ARM processor with no GPU and only 32MB of RAM. The Pandora (http://openpandora.org/) is just barely able to run an optimized N64 emulator, and it's 600MHz+ with 3d graphics hardware and 256MB RAM.

exscuse me.  Can't the Pandora emulate a Nintendo ds fully?
So why cant it emulate a n64 well?
It emulates a DS?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: fb39ca4 on October 16, 2010, 09:57:18 pm
Where did you get this? The pandora wiki says there is no emulator yet.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Happybobjr on October 16, 2010, 10:20:14 pm
I guess i watched a fake youtube vid ...  oh well.  can't find it again....
Title: Re: Would an NES emulator be possible on Nspire?
Post by: calc84maniac on October 16, 2010, 10:41:52 pm
I said that the Pandora can run N64 emulation (just barely, meaning it's at the upper limit of its specs). There is no Nintendo DS emulator for the Pandora at this point, and nobody is showing any intentions to make one.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on October 17, 2010, 12:25:43 am
If N64 can barely run on Pandora, I think the Nspire will probably have to stick to SNES or Genesis as the top emulation possible x.x
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Happybobjr on October 17, 2010, 10:42:52 am
untill we rip apart our nspires and add a graphics card :D
Title: Re: Would an NES emulator be possible on Nspire?
Post by: qazz42 on October 17, 2010, 11:19:07 am
howz about Atari?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Munchor on October 17, 2010, 11:55:07 am
untill we rip apart our nspires and add a graphics card :D

Yeah, let's do it!
Title: Re: Would an NES emulator be possible on Nspire?
Post by: fb39ca4 on October 17, 2010, 12:16:03 pm
If N64 can barely run on Pandora, I think the Nspire will probably have to stick to SNES or Genesis as the top emulation possible x.x
Don't forget GBA. It'll be hard to get it full speed on 150mhz, but it should work, especially with pre-recompilation.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Munchor on October 17, 2010, 12:16:48 pm
If N64 can barely run on Pandora, I think the Nspire will probably have to stick to SNES or Genesis as the top emulation possible x.x
Don't forget GBA. It'll be hard to get it full speed on 150mhz, but it should work, especially with pre-recompilation.

I think it's pushing things a little bit.

What's next? PS3 emulator on the nspire?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: fb39ca4 on October 17, 2010, 12:18:48 pm
Multiplayer COD with that TI navigator thing in math class would be EPIC.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Munchor on October 17, 2010, 12:23:22 pm
Multiplayer COD with that TI navigator thing in math class would be EPIC.

Yeah COD: Black Ops Online Multiplayer

Title: Re: Would an NES emulator be possible on Nspire?
Post by: SirCmpwn on October 17, 2010, 12:24:13 pm
Let's just make a 360 emulator.  Just cause it hasn't been done for the PC yet doesn't mean we can't do it on the Nspire! :P
Title: Re: Would an NES emulator be possible on Nspire?
Post by: calc84maniac on October 17, 2010, 12:24:45 pm
STARCRAFT (http://www.omnimaga.org/Games/starcraft/starcraft.swf)
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Munchor on October 17, 2010, 12:25:28 pm
http://www.youtube.com/watch?v=UMmUciXRMaI (http://www.youtube.com/watch?v=UMmUciXRMaI)
Title: Re: Would an NES emulator be possible on Nspire?
Post by: JosJuice on October 17, 2010, 12:42:53 pm
Maybe we can even emulate The Game :D
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Munchor on October 17, 2010, 12:44:43 pm
Maybe we can even emulate The Game :D

Ouch, just lost it
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on October 18, 2010, 12:37:34 am
If N64 can barely run on Pandora, I think the Nspire will probably have to stick to SNES or Genesis as the top emulation possible x.x
Don't forget GBA. It'll be hard to get it full speed on 150mhz, but it should work, especially with pre-recompilation.

I think it's pushing things a little bit.
Actually I heard it was attempted before but it would be like TI-Boy SE in the ways complex games would be glitchy and it would be slow, limited emulation.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: qazz42 on October 18, 2010, 03:51:52 pm
Actually, there are GBA libraries for the z80, just sayin
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on October 18, 2010, 06:34:34 pm
I am confused at who it is directed ???

If you mean for TI-Boy SE GBA support then considering it barely runs a GB I doubt it would do the GBA.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: calc84maniac on October 18, 2010, 06:36:50 pm
Are you talking about this (http://www.ticalc.org/archives/files/fileinfo/394/39478.html)? It has no real relation to GBA.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: qazz42 on October 18, 2010, 06:38:46 pm
aww, oh, well, at least it made my fav calc game :D
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on October 18, 2010, 07:57:17 pm
Oh wow I remember that. It seemed kinda nice to make ASM games. The author posted on the old board for a while but not too much. I have no clue why it was called GBA, though...
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Goplat on October 20, 2010, 06:51:49 pm
Minor update: fixed the "4-screen mirroring" used in Gauntlet and Rad Racer 2, added a readme.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: apcalc on October 20, 2010, 07:25:07 pm
Nice!  Great job, as always, Goplat! :D
Title: Re: Would an NES emulator be possible on Nspire?
Post by: SirCmpwn on October 20, 2010, 07:26:09 pm
This is awesome.  A round of applause for all the Ndless developers, you guys made my new Nspire amazing.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: qazz42 on October 20, 2010, 08:17:57 pm
:( castlevania 3 does not seem to work on real hardwear >.<

other than that, perfection
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on October 21, 2010, 03:16:01 am
Awesome!
Title: Re: Would an NES emulator be possible on Nspire?
Post by: BrownyTCat on November 03, 2010, 09:11:10 pm
Wow, I forget this and come back to find an active healthy emulator that I already know how to use?  :o
You guys are the best!  :D
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on November 03, 2010, 11:55:10 pm
Hey nice to see you are still around :D
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on November 07, 2010, 01:25:51 pm
Btw congrats for the feature Goplat. It took a while but at least it got featured. :)
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Deep Toaster on November 07, 2010, 02:19:20 pm
Yep, congrats! It really deserved it :D
Title: Re: Would an NES emulator be possible on Nspire?
Post by: calcdude84se on November 10, 2010, 05:23:12 pm
Congratulations on the feature :)
* calcdude recontemplates whether it is worth it to get an Nspire
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on November 11, 2010, 12:34:04 am
I would wait until you really have a lot of spare money maybe, plus wait to see if the Prizm has good programming capabilities and maybe get that one instead. :P
Title: Re: Would an NES emulator be possible on Nspire?
Post by: qazz42 on November 13, 2010, 02:55:21 pm
Cool, just checked Ticalc today, nice job with that feature :D
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Levak on November 28, 2010, 04:51:10 pm
What about sharing sources ?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Goplat on November 28, 2010, 04:53:21 pm
I still intend to release the source code after cleaning it up some, but I've been occupied by other things recently.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on November 28, 2010, 05:23:45 pm
I've been occupied by other things recently.
A Sega Genesis emulator! ;D

Just kidding, I understand that life gets in the way sometimes. X.x

If you decide to discontinue this you should share the source in case someone wants to continue it. :)
Title: Re: Would an NES emulator be possible on Nspire?
Post by: ExtendeD on November 29, 2010, 04:11:09 am
I would also be interested by the source code, I like Goplat's coding style, there's always something to learn with it.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: ase1590 on February 06, 2011, 01:21:27 pm
Source would definitely be a plus, as there hasn't been much activity with this for a bit.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on February 07, 2011, 11:44:37 pm
Yeah, although maybe he's planning to work on this again in the future. If he doesn't plan to continue this anymore, then I agree with you, though.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: dman2073 on February 28, 2011, 03:43:33 pm
Does this support the touchpad?  If not, are there updates coming to make the scrolling use numbers?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on February 28, 2011, 03:50:30 pm
I think Ndless 2.0 is made to support the Touchpad now, but I do not know if this automatically make all programs compatible with it. I think Goplat would have to recompile this program for the new beta of Ndless.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: vsilvar on March 12, 2011, 09:20:42 am
The keys need to be remapped to the touchpad :\
It starts just fine, but then we can't play because only a few keys work
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Goplat on March 12, 2011, 08:29:05 pm
Here's a new version. With touchpad support (I can finally play it on my own calculator :)) and source code included.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: momrocker on March 12, 2011, 08:30:07 pm
Sweet!

Any new features other than touchpad support?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Goplat on March 12, 2011, 08:31:09 pm
No, that's all for now.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: momrocker on March 12, 2011, 08:32:26 pm
Sounds good. ;D Also nice that I can finally play this on my calc, always been jealous of my friend with his clickpad :P
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Deep Toaster on March 13, 2011, 12:26:22 am
Here's a new version. With touchpad support (I can finally play it on my own calculator :)) and source code included.

You couldn't even play with your own program? D:

This is a great update, though! It's been a long time since I've updated, but I'll get this as soon as I get nspire_emu working :D
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on March 13, 2011, 01:09:31 am
I'M glad this is not dead Goplat. :D
Title: Re: Would an NES emulator be possible on Nspire?
Post by: ase1590 on March 15, 2011, 04:46:23 pm
and source code included.
Nice!
Title: Re: Would an NES emulator be possible on Nspire?
Post by: aeTIos on March 21, 2011, 12:09:12 pm
That is not emulating, that is a built-in 3d, a raycaster. That is even done on a 84+

welcome here, though! hope you enjoy your stay!
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Builderboy on March 21, 2011, 03:55:48 pm
That is not emulating, that is a built-in 3d, a raycaster. That is even done on a 84+

Well, its a port, so not quite emulating, more like running the same code on the nSpire (with a few modifications).  And that isn't a raycasting engine Doom uses, its a different engine that would definitely not be able to run on an 84 at full speed with textures.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on March 25, 2011, 06:52:51 pm
Heya welcome here macweirdo! And yeah emulating another processor takes a considerable amount of CPU power, so this is why 3D emulation would be hard. For example, the SNES Doom would run slower on the TI-Nspire than the TI-Nspire port.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: fb39ca4 on March 27, 2011, 03:29:38 pm
There is SNES Doom? Or are you talking about SNES Wolfenstein?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: mSuman95 on March 28, 2011, 02:15:13 am
  Nice App. This is truly amazing. :D +1 Internets to you.

  I seem to have an issue with the frame limiter, though. Games seem to be running slower than usual (50-65% speed?) with it on; whilst suppressing the "x" key to turn it off makes it way (250-300%) too fast. Is there we could change the value of this with a hex editor, or directly to the newly recovered source code?

  Once again, this app is brilliant!!! I have yet to find any bugs at all. Keep up the good work.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Goplat on March 28, 2011, 02:55:13 am
It seems to run at the correct speed for me. What OS version are you using? Does the problem still happen if you reboot and don't run any other Ndless programs before running the game?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: mSuman95 on March 28, 2011, 04:08:20 am
Hey Goplat.

I'm currently running TI-OS 2.1.0.631, the latest if memory serves me right. As per your advise, I'd rebooted the OS entirely, via a prolonged removal of battery power. Despite my supposed labeling as a TI newfag, "turning it off and on again" had solved my tedious speed problem entirely.

Although a reboot had solved this, It was after-all, only temporary. Running differing ndless applications (as you had mentioned) prior to NESpire, including mViewer and GBC4Nspire, had left NESpire subject to terrible speed problems afterwards (or at least in my current trials). Could I assume that NESpire uses a DO, LOOP function (or its C counterpart) to limit frames, as opposed to a time based one such as SLEEP; applications had most likely been running unclosed in the background, or alternatively left a large portions of data to eat away my RAM.

Thanks for the reboot suggestion, by the way. It works wonders!  :D

PS: Sorry for the late post. I've just returned from dinner.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Goplat on March 28, 2011, 12:26:48 pm
I use the 900D0000 timer, which the OS sets to 100Hz (well, actually more like 99.3Hz). Running 3 frames every 5 timer ticks gives a speed close to the NES's 60.1Hz.

I suspect some program is changing the timer speed and not putting it back.

EDIT: Yep, it's gbc4nspire. Use this program to restore the timer speed after running it.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: critor on March 28, 2011, 02:53:41 pm
Goplat, the TouchPad arrows aren't very reactive sometimes...

Could you also test for numeric key presses, letting the user choose the best keys?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Goplat on March 28, 2011, 03:24:16 pm
Goplat, the TouchPad arrows aren't very reactive sometimes...

Could you also test for numeric key presses, letting the user choose the best keys?

It seems pretty responsive on my calc. Make sure you never have two fingers in contact with the pad at the same time: it usually moves in the direction where the first finger that touched the pad is, regardless of which finger is pressing down.

Right now the number keys are already used to control the framerate...
Title: Re: Would an NES emulator be possible on Nspire?
Post by: critor on March 28, 2011, 03:28:53 pm
Goplat, the TouchPad arrows aren't very reactive sometimes...

Could you also test for numeric key presses, letting the user choose the best keys?

It seems pretty responsive on my calc. Make sure you never have two fingers in contact with the pad at the same time: it usually moves in the direction where the first finger that touched the pad is, regardless of which finger is pressing down.

Right now the number keys are already used to control the framerate...

Personnally, I don't have this problem.
It's just a problem which has been reported to me.

I'm forwarding your "TouchPad mini howto".


Thank you for clarifying all this.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: mSuman95 on April 03, 2011, 07:06:21 am
Hey, thanks Goplat  :D

The timer is definitely what had caused it, and - as expected - the frame limit has ceased its daily 20fps fall. +1 Internets to you! Now scholars everywhere can readily switch between their MissingNo. and Warp Whistle collections.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on April 28, 2011, 07:42:30 pm
Actually it's the exact same emulator as the one in this topic. It's just that Goplat uses a totally different nickname on ticalc.org (which used to be something else before too, if I remember)
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Deep Toaster on April 28, 2011, 07:44:20 pm
I am to lazy to read all 20 pages of this but I found an NES emu for the nspire at http://www.ticalc.org/archives/files/fileinfo/432/43217.html

note I found this: I DID NOT make it

vote this down if there is already an emulator mentioned in the forums

Won't rate you down, but it was originally posted here in this thread (title's a bit misleading): http://ourl.ca/7063/184284 :)

EDIT: Ninja'd.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: mSuman95 on May 28, 2011, 12:40:42 pm
It's just that Goplat uses a totally different nickname on ticalc.org (which used to be something else before too, if I remember)

Korath 3, Goplat... It may just be the extra vitalin or residue from my neural stunner, but does anyone smell a connection here?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on June 07, 2011, 04:12:54 am
Not sure. Are those names from a TV show, anime, etc? I unfortunately do not watch TV so I'm out of the loop about that stuff.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Goplat on January 19, 2012, 04:00:11 pm
Here is a CX compatible version. I also added a 'B' option to toggle the border between white and black, since many NES games use dark backgrounds, and with a backlit screen like the CX's a black border might look better in this case.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Yeong on January 19, 2012, 07:00:24 pm
Can you still not save game?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on January 19, 2012, 07:29:42 pm
I tried this for the first time earlier (playing SMB3) and this is very great. :D
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Hayleia on January 20, 2012, 12:13:11 pm
Bug report ! (yes already :P)
This Sonic game (http://tiplanet.org/forum/archives_voir.php?id=2648) doesn't work on my CX.
The non CX version causes the calc to freeze (expected)
The CX version can be launched and be quit but I am sure the game doesn't consist of a grey screen :P
Other games run well.

Other than this, great work :D
Title: Re: Would an NES emulator be possible on Nspire?
Post by: blweldon2 on January 20, 2012, 06:32:33 pm
Could someone please help me figure out how to run this on my calculator. I can't get it to work when I follow the directions in the readme. I have Mega Man 2.nes and nes.bin.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Yeong on January 20, 2012, 06:38:22 pm
did you try copy /b nes.bin+Mega Man 2.nes megaman2.tns?
If it doesn't work, try rename Mega Man 2 to megaman2 and try again?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Reo on January 20, 2012, 08:40:00 pm
I'd like to see the keymap looking a bit more like gbc4nspire. The A and B keys are closer together, and on the right side of the calc like a normal controller.

I tried doing it myself, but I can't figure out at all how to change it in assembly, even after reading up on it.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on January 21, 2012, 04:50:18 am
I personally like the current key setup, although I wish on the CX the running key was the small calc key between Esc and Tab, because when playing Super Mario Bros 3 and jumping while running, that calc key always get in my way.

Also I made a Youtube video of the emulator in action on both color and grayscale TI-Nspire models :D

Title: Re: Would an NES emulator be possible on Nspire?
Post by: annoyingcalc on January 21, 2012, 04:20:45 pm
Yes I agree with DJ playing mario is kind of hard with the run button under the scratchpad button
Title: Re: Would an NES emulator be possible on Nspire?
Post by: calc84maniac on January 21, 2012, 04:37:01 pm
Agreed. Numpad controls would be welcome as well :)
Title: Re: Would an NES emulator be possible on Nspire?
Post by: annoyingcalc on January 21, 2012, 05:41:37 pm
defenitally
Title: Re: Would an NES emulator be possible on Nspire?
Post by: annoyingcalc on January 21, 2012, 07:22:30 pm
did you try copy /b nes.bin+Mega Man 2.nes megaman2.tns?
If it doesn't work, try rename Mega Man 2 to megaman2 and try again?
I have the same error with every one I try
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Goplat on January 21, 2012, 07:24:45 pm
If a filename has spaces in it, you need to put quotes around it.

Code: [Select]
C:\nspire\nespire>copy /b nes.bin+Mega Man 2.nes megaman2.tns
The syntax of the command is incorrect.

C:\nspire\nespire>copy /b nes.bin+"Mega Man 2.nes" megaman2.tns
nes.bin
Mega Man 2.nes
        1 file(s) copied.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: annoyingcalc on January 21, 2012, 07:30:15 pm
oh thanks I didnt know you were suppossed to include copy
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Mr. Divinity on January 21, 2012, 07:38:09 pm
I did this and the calc said
"This Document format is not supported"

what am I doing wrong here?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: annoyingcalc on January 21, 2012, 07:41:00 pm
drag and drop it like you did with ndless
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Mr. Divinity on January 21, 2012, 07:44:14 pm
Yes, I did that
Title: Re: Would an NES emulator be possible on Nspire?
Post by: annoyingcalc on January 21, 2012, 07:46:40 pm
what file are you dropping?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Mr. Divinity on January 21, 2012, 07:51:05 pm
C:\nspire\nespire>copy /b nes.bin+NIN-SM.nes nin-sm.tns
nes.bin
NIN-SM.nes


" it looks exactly like this in notepad, and I saved it as a tns file"
Title: Re: Would an NES emulator be possible on Nspire?
Post by: annoyingcalc on January 21, 2012, 07:54:21 pm
ah what you need to do is open cmd by pressing start then hit run and put cmd.

after that put cd "(the path to nespire, ex C:\nspire\nespire\)"

after that put "copy /B nes.bin+NIN_SM.nes SM.tns" with out the quotes
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Mr. Divinity on January 21, 2012, 08:12:35 pm
Ok, I did this It looks like this

 C:\Users\bic>C:\NESpire_21\nes.tns\copy /B nes.bin+NIN_SM.nes NIN_SM.tns
Then I hit enter and this message came up

"The system cannot find the path specified"

Oh, and The "(C:\Users\bic>)" I cant get rid of, its there when I open the cmd
Title: Re: Would an NES emulator be possible on Nspire?
Post by: annoyingcalc on January 21, 2012, 08:20:48 pm
put "cd" then put a space and put the path
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Reo on January 21, 2012, 08:25:50 pm
Note that you have to run two separate commands: one to change the directory, and one to run the "copy" command in that directory.
The path that comes before your cursor will change to that path after the "cd" (change directory) command.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: annoyingcalc on January 21, 2012, 08:30:44 pm
here is a  .bat launcher it will promt you the game name enter it in (without a .nes extention) and it will make it for you

(special thanks to jacobly, he helped me)
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Mr. Divinity on January 21, 2012, 09:51:12 pm
Thanks Man, This really helps a whole lot
Also Thanks Jacoly
Title: Re: Would an NES emulator be possible on Nspire?
Post by: annoyingcalc on January 21, 2012, 09:55:41 pm
Glad to help
Title: Re: Would an NES emulator be possible on Nspire?
Post by: annoyingcalc on January 21, 2012, 11:20:56 pm
I made a tweak to the program I made earlier
but now you can name your output file instead of getting game.tns
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on January 21, 2012, 11:27:48 pm
Agreed. Numpad controls would be welcome as well :)
Actually touchpad controls were surpringsly great for me on my CX compared to what I expected. I'M glad in ASM/C it can be adjusted, unlike in Lua, where it's atrocious to move left/right back and forth.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: calc84maniac on January 21, 2012, 11:30:11 pm
My problem with the touchpad (which I suppose doesn't necessarily apply to some NES games) is that there is no tactile response to let you know if you slide from right to up-right or down-right, for example. It is very easy to accidentally do that.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on January 22, 2012, 03:56:43 am
Yeah that's my gripe with it. It's even worse in Lua games, making some completely unplayable or much harder. Basically in Snake Lua doing U-turns is practically impossible.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: steelfirez on January 26, 2012, 10:41:18 am
Um, What's the key for quitting the program?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: critor on January 26, 2012, 12:14:09 pm
'Q', like Quit
Title: Re: Would an NES emulator be possible on Nspire?
Post by: steelfirez on January 26, 2012, 06:20:47 pm
I feel stupid now...
Title: Re: Would an NES emulator be possible on Nspire?
Post by: blweldon2 on January 26, 2012, 07:54:07 pm
Bug report. Battletoads doesnt work. Just a bunch of nonsense on the screen, with the game sorta running behind it. Its pretty bad.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Yeong on January 26, 2012, 08:00:57 pm
Battletoads? That worked fine for me. since gbc4cx is just a bit-hex-modified version of ndless 2 one if I remember correctly, so it should be fine.
However, It can't run megaman gb series D: (except for japanese version)
Title: Re: Would an NES emulator be possible on Nspire?
Post by: annoyingcalc on January 26, 2012, 08:23:03 pm
this is NESpire and wow I was coming to report battletoads
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Goplat on January 27, 2012, 03:30:33 am
Version 0.30:
Title: Re: Would an NES emulator be possible on Nspire?
Post by: annoyingcalc on January 28, 2012, 07:29:16 pm
can you make sonic work for me it gives a blank screen
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Yeong on January 28, 2012, 07:45:02 pm
...oh. my bad.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Reo on January 28, 2012, 09:03:12 pm
I'm unable to compile this with a "stock" build environment. I'm getting all kinds of abnormal errors from the assembler as if something's not set up right, and yet, I'm able to compile the "hella" example as well as C++ examples with no problems. Any kind of obvious solution?
EDIT: Because "abnormal errors" was too vague:
(http://i.imgur.com/7Xy5h.png)
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Goplat on January 28, 2012, 09:39:55 pm
can you make sonic work for me it gives a blank screen

Sonic has anti-emulator protection (or possibly just bad programming), which is not so easy to fix. It's getting stuck in the following loop:

E4DC   AD 02 20   LDA $2002
E4DF   10 FB      BPL $E4DC


This loop waits for the high bit of address $2002 to become set. The NES sets this bit at the beginning of the vertical blanking interval of each video frame. However, the NES *also* invokes an interrupt handler at the same time, and this game's interrupt handler takes so long that by the time it returns, the vertical blanking interval is already over, so $2002's high bit is clear again - the loop can never exit. The only reason it works on real NES hardware is because eventually the vertical blanking interval will happen to start in the middle of reading the LDA instruction, so the instruction reads a value with the high bit as set, because the interrupt won't be called until the instruction is finished. I can't emulate things happening in the middle of instructions; having to check for that would be extremely slow.

It seems to work if you just patch out that offending routine - hex-edit a copy of the ROM and change the byte at 3E4EC from AD to 60 (a return instruction).

Reo: Those errors imply you're trying to use an x86 assembler, rather than the ARM assembler required.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Reo on January 28, 2012, 09:45:17 pm
But I'm using your makefile, so it should be calling arm-none-eabi-gcc.
EDIT: I changed "%.o : %.S" to "%.o : %.s", and it's working better. However, it's still saying...

Code: [Select]
main.s: Assembler messages:
main.s:75: Error: ARM register expected -- `mov cpu_a,#0'
main.s:76: Error: ARM register expected -- `mov cpu_x,#0'
main.s:77: Error: ARM register expected -- `mov cpu_y,#0'
main.s:78: Error: ARM register expected -- `mov cpu_sp,#0x100'
main.s:79: Error: ARM register expected -- `mov cpu_flags,#0'
make: *** [main.o] Error 1

...which makes me think it's not including nes.inc. Still, I don't have much to solve at this point. (I think)
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Goplat on January 28, 2012, 09:57:04 pm
But I'm using your makefile, so it should be calling arm-none-eabi-gcc.
EDIT: I changed "%.o : %.S" to "%.o : %.s", and it's working better. However, it's still saying...
It has to be a capital S; gcc won't use the preprocessor if the input file is named with a lowercase s.

...and I just realized I screwed up and named the files with a lowercase s anyway, which doesn't matter on Windows (case insensitive) but would be a problem on Unix (case sensitive). If you're using a Unix-like OS, just rename the files to have a capital S and it should fix it.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Reo on January 28, 2012, 10:16:02 pm
Aha, that worked! I'm using MinGW, so the case-sensitivity was the problem.

The reason I'm trying to build it is because I wanted a build with the controls being both on the right side and closer together. I'll attach my changes + source to this post. I've tested it with Super Mario Bros, but I doubt what I changed broke anything.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: JasonCheeseballs on February 02, 2012, 06:37:04 am
Uh I need help. I have the t-nspire cx cas ( colour screen) and I can't get nespire v0.30 working.

Ok so I have nespire v. 0.30 and SuperMarioWorld.nes.tns

I'm inside the emulator and it displays SuperMarioWorld.nes.tns

I press shift to start and nothing happens....

it then says ERROR: unimplemented mapper

What do I do? I've spent hours trying to find the answer but can't find it.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Lionel Debroux on February 02, 2012, 08:39:42 am
Looks like NESpire is signaling you that the game uses something it doesn't know how to emulate. In that case, all you can do is wait for it to be implemented some day (if possible) ;)
Title: Re: Would an NES emulator be possible on Nspire?
Post by: calc84maniac on February 02, 2012, 09:02:24 am
Plus, Super Mario World is not a NES game. (Unless you're using some sort of rom hack of a NES game, but in that case it probably sucks anyway)
Title: Re: Would an NES emulator be possible on Nspire?
Post by: AzNg0d1030 on February 02, 2012, 10:23:51 pm
Plus, Super Mario World is not a NES game. (Unless you're using some sort of rom hack of a NES game, but in that case it probably sucks anyway)
Unless he meant Super Mario Bros. :P
Title: Re: Would an NES emulator be possible on Nspire?
Post by: ralphdspam on February 02, 2012, 10:32:35 pm
Plus, Super Mario World is not a NES game. (Unless you're using some sort of rom hack of a NES game, but in that case it probably sucks anyway)
Unless he meant Super Mario Bros. :P
There is a Mario World clone for the NES.  It's not great, but it does exist.  :P
Title: Re: Would an NES emulator be possible on Nspire?
Post by: JasonCheeseballs on February 03, 2012, 01:52:16 am
I have street fighter III and starwars which are .nes.tns and those give the same error message. Plus if goplat released v0.30 isn't it supposed to work? I'm pretty sure it should just work with the colour calc.

*edit* Uh Well so far only I managed to get super mario bros 3 working so that means the other roms were fake or unrecognized.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: TIfanx1999 on February 03, 2012, 09:20:10 am
Hey, welcome here Please use the modify button if you have something to add. Double posting is not allowed unless 24 hours have passed or you are posting a project update. I combined your two posts.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Goplat on February 03, 2012, 02:58:10 pm
ERROR: unimplemented mapper
Guess I had better explain this. The NES hardware only provided 32kB of memory space for program ROM and 8kB for character ROM. This wasn't enough for most games, so to overcome these limits they would add hardware in the cartridge, called a "mapper", that the game could use to map different parts of ROM (and sometimes RAM) into memory. Some mappers would have other functions as well.

There are over 100 different kinds of mappers that have been used, and some are very complicated, so being able to emulate every one of them is a tall order. I've implemented only a few of the most common ones.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: mSuman95 on February 04, 2012, 01:24:45 am
Would there be any chance of the American Video Entertainment's (79) mapper to be supported in a future release. Support for their hearty Solitaire/Blackjack engine would be great, as well as various minor games such as Impossible Mission-II, Dudes with Attitude, etc...

The current release is amazing, If I may add. Keep up the good work, Goplat.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Goplat on February 05, 2012, 06:24:56 pm
Just added support for Ndless file associations (http://ourl.ca/15121/283229;topicseen#new). Also added a workaround for the Sonic the Hedgehog $2002 issue (turns out some other games have the problem too).

Would there be any chance of the American Video Entertainment's (79) mapper to be supported in a future release
I'd need to make it possible for mappers to hook reads/writes to 4000-7FFF addresses, right now the mapper is only called when writing to 8000-FFFF.

Title: Re: Would an NES emulator be possible on Nspire?
Post by: annoyingcalc on February 05, 2012, 10:33:21 pm
ERROR: unimplemented mapper
Guess I had better explain this. The NES hardware only provided 32kB of memory space for program ROM and 8kB for character ROM. This wasn't enough for most games, so to overcome these limits they would add hardware in the cartridge, called a "mapper", that the game could use to map different parts of ROM (and sometimes RAM) into memory. Some mappers would have other functions as well.

There are over 100 different kinds of mappers that have been used, and some are very complicated, so being able to emulate every one of them is a tall order. I've implemented only a few of the most common ones.
please implement the one in super mario bros 2 the lost levels (I love this game and want to play it on my nspire)
Title: Re: Would an NES emulator be possible on Nspire?
Post by: TIfanx1999 on February 06, 2012, 08:29:30 am
It's different from the Original SMB? ??? I kind of figured they were the exact same game, except that Lost levels had different level data (and a new effect or two (IE wind).
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Yeong on February 06, 2012, 07:02:51 pm
no. Lost Levels are made for pro players.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: TIfanx1999 on February 07, 2012, 08:16:32 am
Yea, I know. I just figured the engine would be nearly identical.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Goplat on February 07, 2012, 10:46:30 am
The Japanese Super Mario Bros. 2 (aka "Lost Levels") was for the Famicom Disk System add-on, which was a lot more than just a mapper.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: TIfanx1999 on February 07, 2012, 07:58:31 pm
Ah, wow. I did not know that. :D
Title: Re: Would an NES emulator be possible on Nspire?
Post by: mudkipman on March 06, 2012, 11:48:49 pm
I tried to get Earthbound 1 on my TI - nSpire CAS w/ Touchpad. It has ndless 3.1 and NESulator (The NES emulator). But it says "Error: not an NES file". Please someone help? Step-by-step instructions would help a bunch!
Title: Re: Would an NES emulator be possible on Nspire?
Post by: annoyingcalc on March 07, 2012, 01:52:21 am
that is a snes game
Title: Re: Would an NES emulator be possible on Nspire?
Post by: DJ Omnimaga on March 07, 2012, 02:04:03 am
Hi and welcome to the forums. Right now this emulator only supports NES games, not SNES. You could try Mother 1/Earthbound 0 though.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Yeong on April 07, 2012, 04:44:09 pm
I know it's necroposting and everything, but at least save states in NESpire will be nice to have.
iirc, save state is just the copy of the instant memory, right?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: AzNg0d1030 on April 07, 2012, 07:19:35 pm
I know it's necroposting and everything, but at least save states in NESpire will be nice to have.
iirc, save state is just the copy of the instant memory, right?
That's true. Since Super Mario 3 doesn't save (idk how a least) I always hav to start over.
Title: Re: Would an NES emulator be possible on Nspire?
Post by: AzNg0d1030 on April 24, 2012, 10:35:46 pm
Double post since it's been a long time :P

For Dragon Warrior III, I used the 'S' to save.  When I looked up the game, it is supposedly a battery-backed save game (unless I saw wrong).
How come the save can't be accessed or the game doesn't read it?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: Eiyeron on April 25, 2012, 05:13:24 pm
Move it, or delete it?
Title: Re: Would an NES emulator be possible on Nspire?
Post by: AzNg0d1030 on April 25, 2012, 05:44:00 pm
Nvm, I got it :P
Title: Re: Would an NES emulator be possible on Nspire?
Post by: annoyingcalc on December 05, 2012, 12:39:39 am
Well ,this is a necroport (kinda), but not only the title should be changed to NES emulator on ti-nspire, but

I have a request, for the game nintendo world championships (go look it up please) can Goplat or someone implement a tilemapper for it?
Title: Re: NESpire general discussion thread
Post by: TIfanx1999 on December 05, 2012, 06:12:39 am
Not a bad idea, the thread title has been changed to accurately reflect it's contents. :)
Title: Re: NESpire general discussion thread
Post by: Dapianokid on March 19, 2013, 09:20:39 pm
*NECROPOST* Is this project dead?
Title: Re: NESpire general discussion thread
Post by: TIfanx1999 on March 20, 2013, 02:27:16 am
I don't know about dead, but it hasn't been updated in quite a while. The current release is in a functioning state, but not all ganes are supported.
Title: Re: NESpire general discussion thread
Post by: Dapianokid on March 20, 2013, 06:53:21 pm
Well I wouldn't know about if it were functioning, I'm just preparing myself for when I get my nSpire.

Mario games work? :)
Title: Re: NESpire general discussion thread
Post by: TheNlightenedOne on March 20, 2013, 06:54:42 pm
Yes, the Mario games work. It wouldn't be an NES emu without 'em. ;)
Title: Re: NESpire general discussion thread
Post by: Dapianokid on March 20, 2013, 07:21:55 pm
*phew* Thats all I got an NES for! :P Is there Game Genie support or things of that nature? And for the GBC and GBA emulators for that matter? Is there a Genesis emu? :) I'm excited suddenly.
Title: Re: NESpire general discussion thread
Post by: TIfanx1999 on March 20, 2013, 07:29:17 pm
I don't know about game genie support, but I kind of doubt it. As of yet there is no Genesis emulator.
Title: Re: NESpire general discussion thread
Post by: Dapianokid on March 20, 2013, 08:30:28 pm
Well I suppose I could learn about emulators and write one. :P

Which, it seems, I am going to be the one to do.
Title: Re: NESpire general discussion thread
Post by: DJ Omnimaga on June 29, 2013, 01:02:05 pm
I'm a little late, but would Game Genie support be hard to add? Would it slow things down?