Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: calc84maniac on November 30, 2009, 02:37:13 pm

Title: TI-Nspire GB Emulator
Post by: calc84maniac on November 30, 2009, 02:37:13 pm
Since Goplat released the beta of his TI-Nspire emulator (as featured on ticalc), I decided I could start writing some code to eventually run on the TI-Nspire once it gets cracked. So, I've started a Game Boy emulator (again) :)

Not much runs at the moment - Link's Awakening in particular has some major issues (probably related to some mistake I made in the cpu emulation). Only the background tilemap is supported so far - no sprites or window.
(http://otbp.tifreakware.net/images/tetris2.png)

Probably the next thing to do would be to get sprites working.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on November 30, 2009, 02:40:36 pm
That is so awesome, I am curious if it will be easy to modify the code so it runs on future TI-Nspire OSes instead of just on emulator by replacing the Nspire emu boot code?

I can't wait to see more progress on this and possibly (calcalture animated) screenshots
Title: Re: TI-Nspire GB Emulator
Post by: JoeyBelgier on November 30, 2009, 03:40:00 pm
nooooooooooooooooooooooooooooo
D:

I want F-Zero ;.;
:P
Title: Re: TI-Nspire GB Emulator
Post by: ztrumpet on November 30, 2009, 03:43:06 pm
Looks nice. Will it be the same as on the 83/84s or will there be more features?
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on November 30, 2009, 04:05:14 pm
Looks nice. Will it be the same as on the 83/84s or will there be more features?
Hopefully it won't need as many "features" (such as zooming and sprite tracking) since it all fits in the screen. But, it will hopefully have better compatibility and full speed. Also, it could eventually support Game Boy Color, minus the color.

Edit: Oh, and I just realized that I have light-gray and dark-gray mixed up in that screenshot. I have that fixed now :)
Title: Re: TI-Nspire GB Emulator
Post by: Builderboy on November 30, 2009, 05:36:32 pm
*Builderboy explodes again*

That is constructed from pure awesomness!!!  How is it coding for the nSpire?  Like, its still with asm, but how do you compile to hex code if it isn't a z80 chip?  Or is it not asm, and some kind of C compiler?
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on November 30, 2009, 08:06:45 pm
*Builderboy explodes again*

That is constructed from pure awesomness!!!  How is it coding for the nSpire?  Like, its still with asm, but how do you compile to hex code if it isn't a z80 chip?  Or is it not asm, and some kind of C compiler?
There are C compilers for ARM, but I haven't really bothered messing with them. This was coded in ARM assembly language (which does go to hex code - each opcode happens to be four bytes large). I'm still a little new to this language though.
Title: Re: TI-Nspire GB Emulator
Post by: JoeyBelgier on November 30, 2009, 09:44:51 pm
/me wants an Nspire when this works :D
Title: Re: TI-Nspire GB Emulator
Post by: ztrumpet on November 30, 2009, 10:02:23 pm
*ztrumpet agrees with nf...*
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on November 30, 2009, 10:08:59 pm
Added sprites. It's looking quite nice :)
(http://otbp.tifreakware.net/images/kirby.png)
Still no window support, which is why the bottom of the screen doesn't have the status bar.

Edit:
CalcCapture doesn't like me. Or, at least, it doesn't like that the graphics window can't be in focus for me to press any keys. So it doesn't look like we'll be getting any gameplay animations. On the other hand, I recorded a bit of the Kirby title screen :)
(http://otbp.tifreakware.net/images/kirby.gif)
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on November 30, 2009, 10:56:43 pm
Wow that looks really awesome! You are a genius!
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 01, 2009, 01:51:38 am
Got Link's Awakening working after fixing 20 or so broken opcodes (some of these were unrelated to the problem, but hey, it all counts right?)
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 01, 2009, 01:54:01 am
Nice :D

Now let's hope TI won't shit on us with a new TI-Nspire hardware like they did with the TI-84+ in mid 2007
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 01, 2009, 07:45:16 am
Obligatory screenshot:
(http://otbp.tifreakware.net/images/zeldanspire.gif)

Note that there are some graphical glitches in the second half. These were in TI-Boy too. But hopefully I'll get them fixed this time around! :)
Title: Re: TI-Nspire GB Emulator
Post by: ztrumpet on December 01, 2009, 07:52:41 am
Nice!
Title: Re: TI-Nspire GB Emulator
Post by: jsj795 on December 01, 2009, 12:57:13 pm
How fast does the games run???
is the screenshot at the right speed or slower??
Title: Re: TI-Nspire GB Emulator
Post by: Tribal on December 01, 2009, 03:19:40 pm
Well then... I'm speechless... looks like I will just have to invest some money into getting a TI-NSpire  :P
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 01, 2009, 03:22:03 pm
How fast does the games run???
is the screenshot at the right speed or slower??
I tried to get it at around the same speed - but who knows how fast the Nspire emulator runs at this point. I'm not going to make any assumptions about speed until I see it on hardware.

Edit:
Actually, I was able to get the Nspire emulator running in translated mode now since I changed a certain part of my code, and it runs... really fast. I don't think there should be any worries :)
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 02, 2009, 02:14:35 am
Awesome! I wonder if it would be easy to make emulators for other systems, too? (Altough the lack of colors might make some graphics a lil hard to see in some games)

Of course for now I would focus on both TI-Boy SE and the TI-Nspire GB emulator, though :P
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 02, 2009, 04:23:35 pm
Well, I've added support for the window tilemap (so status bars and menus work now), and sprite/tilemap priority (so Mario's sprite goes behind the pipe rather than in front of it, for example).

And also, I've begun support for the special lcd effects, which is something that TI-Boy could not do:
(http://otbp.tifreakware.net/images/galaga.gif)
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 02, 2009, 04:43:02 pm
Wow awesome.

I am wondering, would it be possible in TI-Boy SE too? Or is it simply just beyond the hardware limitations?
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 02, 2009, 04:52:58 pm
Wow awesome.

I am wondering, would it be possible in TI-Boy SE too? Or is it simply just beyond the hardware limitations?
Hmm... I'd say no. Drawing anything more complicated than a simple tilemap would probably be too taxing. (I would have to keep looking up the same tiles over and over, and it would just get messy)
Title: Re: TI-Nspire GB Emulator
Post by: JoeyBelgier on December 02, 2009, 04:57:05 pm
Omg D:
If more programs will be made for it, Nspire is going to be the primary calc? D:
altho for non advanced programmers it's probably less hard to make something decent at a 84+
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 02, 2009, 05:10:51 pm
Wow awesome.

I am wondering, would it be possible in TI-Boy SE too? Or is it simply just beyond the hardware limitations?
Hmm... I'd say no. Drawing anything more complicated than a simple tilemap would probably be too taxing. (I would have to keep looking up the same tiles over and over, and it would just get messy)
Aah ok I see then, too bad :(. Oh well, the emu is still awesome as it is now anyway :P
Title: Re: TI-Nspire GB Emulator
Post by: jmaster797 on December 02, 2009, 05:13:14 pm
Yeah this emu looks amazing. Back in high school I was actually part of a testing team in my Statistics class. I so wish there was something like this around when we were testing it out for a month. Then again, Nspire wasn't even out then...
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 02, 2009, 05:21:30 pm
Oh, and the lcd special effects also fixed the second half of the Zelda cutscene:
(http://otbp.tifreakware.net/images/zeldanspire2.gif)
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 02, 2009, 05:27:45 pm
At school, almost nobody cared about calcs or their interest towards them was very short lived. Some people played my old games for a while and that's about it. They were done with calc gaming a few months later. Even if they had more interest, the TI-Nspire was not even out back then either, plus, even the 84+ wasn't out yet when I was still in hi school.

@Calc84maniac, cool to see you fixed them :)

Btw, on the screenshooting topic, I hope Goplat releases a workaround to make screenshots of gameplay :) (altough if you can find an AVI to GIF convertor and use CamStudio to do animated screenshots this should do the trick too)
Title: Re: TI-Nspire GB Emulator
Post by: jsj795 on December 02, 2009, 07:34:06 pm
There are 2 kids in the entire school that has n-spire. they have no idea how to work that thing, so usually they change into 84+ keypad to do their math.

Also, I wouldn't like to own n-spire since they are horrible at programming. Unless someone makes new OS that will completely change that and allows BASIC program to be awesome, with its native grayscale and huge screen
Title: Re: TI-Nspire GB Emulator
Post by: Builderboy on December 02, 2009, 08:01:15 pm
I know it is really good for math tho, my friend bwang wrote an entire symbolic manipulation engine that would do things like integrate and derive and expand indefinitely.  It was pretty cool, and all writen in basic.  Its to bad nSpire doesn't support any kind of loops :(
Title: Re: TI-Nspire GB Emulator
Post by: ztrumpet on December 02, 2009, 08:14:41 pm
No loops...
That dosn't sound like it's easy to program.
Title: Re: TI-Nspire GB Emulator
Post by: Builderboy on December 02, 2009, 08:26:06 pm
I do believe it supports full recursion though, which has got to be a plus.  But i din't think you have global variables either D: But i've just kinda ranting now as i don't actually own one, I'm just trying to remember what he told me :)
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 02, 2009, 08:33:58 pm
Plus it doesn't have Input
Title: Re: TI-Nspire GB Emulator
Post by: Builderboy on December 02, 2009, 08:35:42 pm
Right, although you can make functions, which you can pass arguments to.  This might be the same with programs too, but i don't remember

Title: Re: TI-Nspire GB Emulator
Post by: ztrumpet on December 02, 2009, 08:37:52 pm
Hmm, functions could be fun...
How easy are they to work with?
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 02, 2009, 08:40:11 pm
Well the issue with functions is how to you have the user input something before program continues running? From what I heard, when making a game, the user has to manually run sub programs himself
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 02, 2009, 08:42:21 pm
Surprise! :D

(http://otbp.tifreakware.net/images/pokemonred.gif)
Title: Re: TI-Nspire GB Emulator
Post by: ztrumpet on December 02, 2009, 08:43:24 pm
Sweet!
That looks so cool.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 02, 2009, 09:59:21 pm
wow look so great ^^

Btw did you try the camstudio trick to screenshot? You could convert to wmv file afterward and while files would be bigger you would at least have animated screenshots of gameplay :)
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 02, 2009, 10:34:23 pm
No, I haven't tried anything but CalcCapture yet.

(http://otbp.tifreakware.net/images/pokemonyellow.gif)
Title: Re: TI-Nspire GB Emulator
Post by: miotatsu on December 02, 2009, 10:48:23 pm
and so the NspireBoy is born....*starts saving up money*
:O
Title: Re: TI-Nspire GB Emulator
Post by: Builderboy on December 02, 2009, 11:48:45 pm
calc84!  There are only so many times that I am able to explode with awesomness!  I don't have that many left in me!! ;D
Title: Re: TI-Nspire GB Emulator
Post by: Eeems on December 03, 2009, 12:11:16 am
I think my circuits are about to overload from all the awesomeness!
Title: Re: TI-Nspire GB Emulator
Post by: Silver Shadow on December 03, 2009, 12:51:02 am
OMG! That's awesome!
I was just wondering, how well does it fit the N-Spire screen? Is it stretched? Or is just the right size?
And will this work on both versions of the N-Spire?

And while we wait for the N-Spire to be hacked, do you think it would be hard to make the TI-Boy work on it's 84+ emu?

EDIT: And yes, I am finally back on the forums, after successfuly adapting to my new lifestyle due to the fact that I'm now in "prépa" (I think that this corresponds to the American "college"...)!
Title: Re: TI-Nspire GB Emulator
Post by: Eeems on December 03, 2009, 01:12:52 am
Yay! Your back!
Hmm, I think it just fits the screen normally at normal resolution
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 03, 2009, 01:27:02 am
Nah, he stretches it, altough I am fairly sure he also has a original resolution mode. The GB res is smaller than the Nspire.

And glad to see you're back Zagor
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 03, 2009, 07:43:44 am
Well, the Nspire resolution is twice as wide as the GB resolution, and almost twice as tall. I don't think you'll ever want to use original res, since that could hurt your eyes. :P Currently my graphics drawing always doubles the pixels horizontally, and I don't see that changing - but the vertical scaling is very changeable.
Title: Re: TI-Nspire GB Emulator
Post by: JoeyBelgier on December 03, 2009, 07:49:10 am
didn't original GB's hurt your eyes anyways :P
EDIT:
TI Nspire resolution: 240x320 pixels
NES resolution: 256x240 pixels
so that wouldn't look to bad when there were like 2 black borders or something of about 40 pixels each under and above the screen
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 03, 2009, 08:47:37 am
True, I think the original GB res and screen size was pretty fine. The only bad thing is when the newer GB versions came out, I think it was darker and it went worse as colors were added (until they added backlight to the GBA)
Title: Re: TI-Nspire GB Emulator
Post by: JoeyBelgier on December 03, 2009, 09:42:02 am
yeah, sometimes you had to take weird positions to see anything happening on your gbc x.x
Title: Re: TI-Nspire GB Emulator
Post by: Silver Shadow on December 03, 2009, 11:05:08 am
Yeah, that was especially noticeable with the Lord of the Rings: all backgrounds were dark, as well as the characters. You hardly saw anything at all.
Title: Re: TI-Nspire GB Emulator
Post by: TIfanx1999 on December 03, 2009, 11:36:31 am
didn't original GB's hurt your eyes anyways :P
EDIT:
TI Nspire resolution: 240x320 pixels
NES resolution: 256x240 pixels
so that wouldn't look to bad when there were like 2 black borders or something of about 40 pixels each under and above the screen

You've got it bassackwords, the Nspire's resolution is 320x240 :)
and for the NES on NTSC (North American) titles only 256x224 resolution was used.
Oh, and just for comparison sake, the Nintendo DS's resolution is 256x192 per screen.

Oh, and Hiya anyone who remembers me! =)
Title: Re: TI-Nspire GB Emulator
Post by: JoeyBelgier on December 03, 2009, 11:53:12 am
didn't original GB's hurt your eyes anyways :P
EDIT:
TI Nspire resolution: 240x320 pixels
NES resolution: 256x240 pixels
so that wouldn't look to bad when there were like 2 black borders or something of about 40 pixels each under and above the screen

You've got it bassackwords, the Nspire's resolution is 320x240 :)
and for the NES on NTSC (North American) titles only 256x224 resolution was used.
Oh, and just for comparison sake, the Nintendo DS's resolution is 256x192 per screen.

Oh, and Hiya anyone who remembers me! =)
whoops, thanks, dunno where I read the nes thing but I'm pretty sure they said 240 there
if it were true that would be a nice fit D:
Title: Re: TI-Nspire GB Emulator
Post by: TravisE on December 03, 2009, 01:30:50 pm
That's odd, because I always considered the GBC as having the best, highest contrast of all non-backlit LCDs I know. To me it seemed like the old monochrome GBs had such hard-to-see, blurry screens by comparison.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 03, 2009, 06:02:55 pm
Wow haven't seen you in a while Art Of Camelot. Where did you go? :( You kinda vanished completly :(

IIRC, I looked at a GBC once and it seemed to have a good display. GB display seemed a bit hard to see indeed. GBA was by far the worst, though. I am glad they released the GBA SP afterward
Title: Re: TI-Nspire GB Emulator
Post by: Silver Shadow on December 04, 2009, 12:30:42 am
Actually, GBC display was good, it was the GBA that was hard to see.
Title: Re: TI-Nspire GB Emulator
Post by: bwang on December 04, 2009, 07:12:48 pm
I know it is really good for math tho, my friend bwang wrote an entire symbolic manipulation engine that would do things like integrate and derive and expand indefinitely.  It was pretty cool, and all writen in basic.  Its to bad nSpire doesn't support any kind of loops :(
The Nspire does have for/while/repeat loops. It just has no I/O other than Disp and no graphics commands at all.
Title: Re: TI-Nspire GB Emulator
Post by: Galandros on December 06, 2009, 12:00:34 pm
Not impressive as always because the Nspire has much better hardware. Kidding, you coded that even before there is documentation and an exploit of the Nspire, impressive!

What about change the code later to work as a 3rd party emulator of z80 calculators? :P
Title: Re: TI-Nspire GB Emulator
Post by: TravisE on December 06, 2009, 10:16:08 pm
IIRC, I looked at a GBC once and it seemed to have a good display. GB display seemed a bit hard to see indeed. GBA was by far the worst, though. I am glad they released the GBA SP afterward
Actually, GBC display was good, it was the GBA that was hard to see.

Ah, okay. I don't remember the old GBA that clearly (my brother had one, but I never got into it), but it did seem to have somewhat poorer contrast than GBC. And it did seem that some GBA games had excessively dark backgrounds sometimes.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 06, 2009, 10:18:25 pm
yeah it was really incredibly mega dark. Unless you were directly under sun light, it was near impossible to see.
Title: Re: TI-Nspire GB Emulator
Post by: Galandros on December 07, 2009, 03:59:01 am
This brings me good memories.

GBC was hard to see outside with sun light.
About my GB pocket it was just when it is too dark but that is normal. :P
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 07, 2009, 04:04:55 am
The first GB seemed lighter than the GB Pocket.

Personally it's not an issue for me since I have the Gameboy Player for the Nintendo Gamecube, so I can play GB games on my GC on the big TV screen, like Metroid II  :D
Title: Re: TI-Nspire GB Emulator
Post by: Galandros on December 07, 2009, 04:08:44 am
I just use emulators to play all consoles I want in my laptop. ;D
But GB and GBC on a Nspire would be great too.

I can advice you the emulators for GB,GBC,GBA, NDS, Atari and Mega Drive aka Genesis.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 07, 2009, 04:12:51 am
I know some, actually, except for DS. For DS I know No$GBA but it doesn't work, it just break my windows install and I have to reformat my PC a few weeks later.
Title: Re: TI-Nspire GB Emulator
Post by: Galandros on December 07, 2009, 04:25:59 am
I know some, actually, except for DS. For DS I know No$GBA but it doesn't work, it just break my windows install and I have to reformat my PC a few weeks later.
Desmume has already passed NO$GBA in many graphics bugs and is getting close to its speed. (play around with max frame skip to 1 or 2 and limit or not frame rate, it depends on the game)
Also it is better for gaming because of save games, save states, allow to play zipped games (NDS games are huge!) and overall configuration is easier to get used.
It can also film your games and print screens are easier than NO$GBA. ^^

Some say strange damages of NO$GBA on pc like problems with graphics card but on mine, hopefully there wasn't any problem that seems related to NO$GBA. I don't know any weirdness about Desmume.
PS: now you can even import No$gba savegames and others save formats. Other emulator is ideas but it doesn't seem a great emulator but some use it in certain games.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 07, 2009, 04:37:05 am
Nice, I guess I will give it a try
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 07, 2009, 02:07:11 pm
I've begun Game Boy Color support - however, there are still a ton of glitches. But at least this scene looks nice:
(http://otbp.tifreakware.net/images/oracles.png)
Title: Re: TI-Nspire GB Emulator
Post by: Silver Shadow on December 07, 2009, 02:46:19 pm
Wow! What game is that?
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 07, 2009, 02:48:41 pm
Wow! What game is that?
Legend of Zelda: Oracle of Ages
Title: Re: TI-Nspire GB Emulator
Post by: ztrumpet on December 07, 2009, 03:41:42 pm
Wow! GBC games! Calc84, you are truly awesome!

That screenshot looks really nice too.
Title: Re: TI-Nspire GB Emulator
Post by: Galandros on December 07, 2009, 03:45:16 pm
That looks awesome. :o

Colors into 16-level gray fits quite well.
Title: Re: TI-Nspire GB Emulator
Post by: ztrumpet on December 07, 2009, 04:11:26 pm
Colors into 16-level gray fits quite well.
Does the Nspire already have 16 level grayscale, or will he have to make it?
Title: Re: TI-Nspire GB Emulator
Post by: Galandros on December 07, 2009, 04:12:48 pm
Colors into 16-level gray fits quite well.
Does the Nspire already have 16 level grayscale, or will he have to make it?
The lcd comes with 16-levels of gray. Do you think TI would implement itself grayscale in software?
Title: Re: TI-Nspire GB Emulator
Post by: ztrumpet on December 07, 2009, 04:16:37 pm
Colors into 16-level gray fits quite well.
Does the Nspire already have 16 level grayscale, or will he have to make it?
The lcd comes with 16-levels of gray. Do you think TI would implement itself grayscale in software?
So he must control the lcd just right?  That sounds easier than 8 level on and 83. :0
Title: Re: TI-Nspire GB Emulator
Post by: Galandros on December 07, 2009, 04:20:58 pm
Colors into 16-level gray fits quite well.
Does the Nspire already have 16 level grayscale, or will he have to make it?
The lcd comes with 16-levels of gray. Do you think TI would implement itself grayscale in software?
So he must control the lcd just right?  That sounds easier than 8 level on and 83. :0
The lcd takes care of doing good grayscale.

It should be much easier than 83. (and 16 level in 83 is pure craziness)
Title: Re: TI-Nspire GB Emulator
Post by: JoeyBelgier on December 07, 2009, 04:59:45 pm
NICE WORK! D:
Really, good job calc84 O:
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 07, 2009, 05:25:45 pm
Animated shot here (http://otbp.tifreakware.net/images/zelda-ooa.gif) (linked because it's about 5MB)
Firefox recommended for fullspeed, since I actually got it over 10fps this time using camstudio
Title: Re: TI-Nspire GB Emulator
Post by: Builderboy on December 07, 2009, 07:29:53 pm
(http://i199.photobucket.com/albums/aa72/builderboy2005/Image0.png?t=1260232145)
I warned you Calc84, but you didn't listen, now see what you did to my brain?!
Title: Re: TI-Nspire GB Emulator
Post by: TIfanx1999 on December 07, 2009, 09:18:29 pm
Looks nice! How is the color pallet being handled?
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 07, 2009, 09:34:30 pm
Well, the current method (which is certainly subject to change) is this: Each of the red, green, and blue components have a value from 0-31. So I take int( 1/8*R + 3/16*G + 3/16*B ) and use that as the grayscale value.

Edit:
Super Mario Bros Deluxe (http://otbp.tifreakware.net/images/smbdeluxe.gif)
Title: Re: TI-Nspire GB Emulator
Post by: Builderboy on December 07, 2009, 10:00:11 pm
Any reason you are using 16ths and 8ths instead of just 1/6th for all?
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 07, 2009, 10:02:20 pm
Any reason you are using 16ths and 8ths instead of just 1/6th for all?
Because that would require division. Eww.
Title: Re: TI-Nspire GB Emulator
Post by: Builderboy on December 07, 2009, 10:08:12 pm
:P Or you could just multiply by .1666 and call it good XD.  I assume you are doing somthing similar to that with 3/16 = .1875?
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 07, 2009, 10:21:29 pm
:P Or you could just multiply by .1666 and call it good XD.  I assume you are doing somthing similar to that with 3/16 = .1875?
Nah, I can divide by 8 or 16 by shifting right 3 or 4 bits.
Title: Re: TI-Nspire GB Emulator
Post by: Builderboy on December 07, 2009, 10:23:08 pm
Ohhhhh i see now.  Well, it seems to work pretty good!!  I think i may have to stop reading this thread for a while for the better of my health :P
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 08, 2009, 12:00:49 am
darn that's fucking awesome. Some still screenshots (and links to your own but hosted on Omni) will make front page soon in their own news
Title: Re: TI-Nspire GB Emulator
Post by: Goplat on December 08, 2009, 07:49:44 am
Nice work!

Edit:
Actually, I was able to get the Nspire emulator running in translated mode now since I changed a certain part of my code, and it runs... really fast. I don't think there should be any worries :)
The translator should work with anything, unless you either repeatedly store to memory that was previously used as code (which will slow it way down, since it wipes all translations on this kind of store - this could be improved), or store to memory that is ahead in the current basic block of code (very perverse thing to do in my opinion, I've seen it fail on real CPUs before :)). If anything else broke it, I would like to hear about it...

Any reason you are using 16ths and 8ths instead of just 1/6th for all?
Because that would require division. Eww.

The truly correct way to do grayscaling is more complicated even than that:

Some people forget the gamma operations, which results in saturated colors ending up too dark.
Title: Re: TI-Nspire GB Emulator
Post by: JoeyBelgier on December 08, 2009, 07:51:30 am
/me Loves Calc84Maniac for that SMB:D screenie
/me Hugs Calc84Maniac
Dx

I always cheat in level 1-2 and go to 4-1 :P
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 08, 2009, 09:22:08 am
Nice work!

Edit:
Actually, I was able to get the Nspire emulator running in translated mode now since I changed a certain part of my code, and it runs... really fast. I don't think there should be any worries :)
The translator should work with anything, unless you either repeatedly store to memory that was previously used as code (which will slow it way down, since it wipes all translations on this kind of store - this could be improved), or store to memory that is ahead in the current basic block of code (very perverse thing to do in my opinion, I've seen it fail on real CPUs before :)). If anything else broke it, I would like to hear about it...

Any reason you are using 16ths and 8ths instead of just 1/6th for all?
Because that would require division. Eww.

The truly correct way to do grayscaling is more complicated even than that:
  • Perform gamma expansion on all three channels. Gamma expansion is the non-linear relationship from video input signals (R', G', B') to the amount of energy emitted by the display (R, G, B). On a typical CRT monitor, this can be approximated with the power law x = x' ^ 2.2. (The Game Boy Color uses an LCD instead, so I don't know what the equation for it is.)
  • Calculate the luminance. This is a weighted average of all three channels, which takes into account that the human eye is more sensitive to green light than red, and more sensitive to red than blue. The traditional formula is Y = 0.299R + 0.587G + 0.114B, but it really depends on the color space used on that particular display. (Not everyone agrees on just what "red", "green", and "blue" are.)
  • Perform gamma compression, the inverse of gamma expansion.

Some people forget the gamma operations, which results in saturated colors ending up too dark.
Yeah, my color conversion is pretty much just a placeholder for now. By the way, is the emulator's speed accurate? I mean, I added a delay loop of "loop subs r8,r8,#1 \ bne loop" when r8 contained 400,000, and that was for each of 60 frames. That loop should be 4 cycles per iteration, right? That adds up to delays of more than 90MHz, which doesn't add up.

Edit:
Oh, and I did use self-modifying code for a bit, but it was pretty unnecessary (hence why I didn't get it in translated mode sooner)
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 08, 2009, 11:17:18 am
Hi Goplat and welcome here. Very nice job on that TI-Nspire emu. :)
Title: Re: TI-Nspire GB Emulator
Post by: Goplat on December 08, 2009, 12:12:59 pm
By the way, is the emulator's speed accurate? I mean, I added a delay loop of "loop subs r8,r8,#1 \ bne loop" when r8 contained 400,000, and that was for each of 60 frames. That loop should be 4 cycles per iteration, right? That adds up to delays of more than 90MHz, which doesn't add up.
It's not accurate. Right now, it just assumes all instructions are one cycle, or 1/90 microseconds. If your computer is not fast, it can lag, however. A tight loop like that is very likely to lag; I would recommend adding a few dozen repetitions of a simple instruction like "mov r0,r0" which nspire_emu can execute very fast.

This kind of "busy-wait" loop is a bad way to do timing in general (wastes energy, doesn't take into account time taken up by other code) but I can certainly understand if you're not willing to write code to deal with timer interrupts yet, considering that future updates to nspire_emu would almost surely break it.

Quote
Edit:
Oh, and I did use self-modifying code for a bit, but it was pretty unnecessary (hence why I didn't get it in translated mode sooner)
I checked the ARM manual; it says self-modifying code "cannot be relied on without the use instructions to ensure synchronization".

EDIT: I've released a new version that puts graphics and keys in the same window, so it should be possible for you to record gameplay with CalcCapture now.
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 08, 2009, 03:09:54 pm
By the way, is the emulator's speed accurate? I mean, I added a delay loop of "loop subs r8,r8,#1 \ bne loop" when r8 contained 400,000, and that was for each of 60 frames. That loop should be 4 cycles per iteration, right? That adds up to delays of more than 90MHz, which doesn't add up.
It's not accurate. Right now, it just assumes all instructions are one cycle, or 1/90 microseconds. If your computer is not fast, it can lag, however. A tight loop like that is very likely to lag; I would recommend adding a few dozen repetitions of a simple instruction like "mov r0,r0" which nspire_emu can execute very fast.
Well, there wasn't an issue with lag, it was more an issue of the emulator running faster than expected.

Edit: Would more accurate cycle counting slow down the emulation significantly? (Aside from the fact that instructions would take longer)
Title: Re: TI-Nspire GB Emulator
Post by: ztrumpet on December 08, 2009, 03:57:34 pm
That Super Mario Bros. secrrnie was the coolest thing I've sceen all day.
You're doing an awesome job with this calc84!
Title: Re: TI-Nspire GB Emulator
Post by: Goplat on December 08, 2009, 04:17:14 pm
Edit: Would more accurate cycle counting slow down the emulation significantly? (Aside from the fact that instructions would take longer)
That depends on what version of ARM the Nspire uses. The newer versions have longer pipelines, and the longer a CPU's pipeline is the more complicated it gets to predict how long something will take. Let's just hope it's not an ARM11 model.
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 08, 2009, 04:31:18 pm
Edit: Would more accurate cycle counting slow down the emulation significantly? (Aside from the fact that instructions would take longer)
That depends on what version of ARM the Nspire uses. The newer versions have longer pipelines, and the longer a CPU's pipeline is the more complicated it gets to predict how long something will take. Let's just hope it's not an ARM11 model.
Hackspire says it has one of these (http://www.arm.com/products/CPUs/ARM926EJ-S.html)

Edit: Found the cycle counts here (http://infocenter.arm.com/help/topic/com.arm.doc.ddi0222b/I1028171.html). And my "load byte, look up address in table and branch" routine looks like it will take 9 clock cycles instead of the 2 the emulator currently does...
Title: Re: TI-Nspire GB Emulator
Post by: miotatsu on December 08, 2009, 08:25:18 pm
so does this mean it will run slower on the actual calc then?
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 08, 2009, 08:31:55 pm
so does this mean it will run slower on the actual calc then?
Definitely slower than it has been running. No way to tell yet whether it will still run games fullspeed though.
Title: Re: TI-Nspire GB Emulator
Post by: Silver Shadow on December 09, 2009, 12:56:58 am
so does this mean it will run slower on the actual calc then?
Definitely slower than it has been running. No way to tell yet whether it will still run games fullspeed though.
Even without delay loops?
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 09, 2009, 03:05:42 am
I hope it runs at least faster than TI-Boy SE O.o, else it would mean the Nspire isn't that fast after all (altough I wonder if it couldn't just be because of the larger screen)
Title: Re: TI-Nspire GB Emulator
Post by: Goplat on December 09, 2009, 01:14:41 pm
Edit: Found the cycle counts here (http://infocenter.arm.com/help/topic/com.arm.doc.ddi0222b/I1028171.html).
Just as I feared, it has interlocks, so you can't just look at an instruction in isolation and say "this takes X cycles". The two-cycle interlock on ldrb/ldrh/ldrsh is particularly noxious. Consider this instruction sequence:

0: ldrcsb   r1,[r2]
4: muleq   r3,r4,r5
8: mov   r0,r1

If we enter at offset 8, this takes 1 cycle, of course.
If we enter at offset 4: If Z is set (mul executed), this takes 2 additional cycles, else 1. So, the translator must insert code along with the multiply to add an extra cycle. Not a big problem yet...
If we enter at offset 0: If C is clear (ldrb not executed), just 1 additional cycle, not a problem. But if C is set (ldrb executed), then the interlock adds a second additional cycle only if the mul is not executed! The number of cycles we have to attribute to the ldrcsb depends on both the C and Z flags even though the instruction itself has nothing to do with Z.

Thankfully interlocks never last through a taken branch instruction, so at least it's not necessary to keep any state between different code blocks. I think implementing those cycle timings is possible, but it would not be easy. I would rather wait until we're completely sure this is the kind of CPU the Nspire uses, before implementing it.
Title: Re: TI-Nspire GB Emulator
Post by: jsj795 on December 09, 2009, 01:32:46 pm
I have no idea what you guys are talking about, but keep up the good work o.o
You guys are too advanced for me. I understand this is a hard work and appreciate it a lot ^^
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 09, 2009, 02:46:59 pm
Maybe you can do something different with the register accesses on the couple of instructions afterward - basically on the load from memory you could do "interlockcount = cyclecount + 2" and upon register accesses, "if reg == loadedreg and interlockcount > cyclecount: cyclecount = interlockcount"
Title: Re: TI-Nspire GB Emulator
Post by: Goplat on December 09, 2009, 03:33:09 pm
Maybe you can do something different with the register accesses on the couple of instructions afterward - basically on the load from memory you could do "interlockcount = cyclecount + 2" and upon register accesses, "if reg == loadedreg and interlockcount > cyclecount: cyclecount = interlockcount"
If I made the translator actually emit code to do that I think it would slow emulation way down, with several real instructions added per emulated instruction. It needs to precompute cycle counts as much as possible.
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 09, 2009, 04:01:02 pm
Maybe you can do something different with the register accesses on the couple of instructions afterward - basically on the load from memory you could do "interlockcount = cyclecount + 2" and upon register accesses, "if reg == loadedreg and interlockcount > cyclecount: cyclecount = interlockcount"
If I made the translator actually emit code to do that I think it would slow emulation way down, with several real instructions added per emulated instruction. It needs to precompute cycle counts as much as possible.
Well actually, the "reg == loadedreg" part could be purely done in the translator - and if false, you don't even need to add any extra instructions. Also, since the interlocking will add extra cycles to the ARM instruction, I don't think the speed difference would be too costly...

And keep in mind that this solution only applies to the ldrb/ldrh opcodes, not ldr. In the ldr case, you can simply add an extra cycle to the following instruction if it accesses the loaded register.
Title: Re: TI-Nspire GB Emulator
Post by: Goplat on December 09, 2009, 04:14:41 pm
And keep in mind that this solution only applies to the ldrb/ldrh opcodes, not ldr. In the ldr case, you can simply add an extra cycle to the following instruction if it accesses the loaded register.
The extra cycle(s) on a pair of instructions affected by an interlock must be associated with the earlier instruction, not the later. Otherwise, they would erroneously be counted in the case that we branch directly to the later instruction, bypassing the earlier one.
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 09, 2009, 04:22:20 pm
Okay, new idea. For ldrb/ldrh:
Set a flag during the load instruction.
For the second instruction, if it uses the loaded register and the flag is set, add an interlocking delay and reset the flag.
Otherwise, if it takes more than one cycle, reset the flag.
For the last instruction, if it uses the loaded register and the flag is set, add an interlocking delay.
Reset the flag.

Same idea for ldr except remove the case of the second instruction.
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 28, 2009, 07:24:29 pm
Okay, Eeems has convinced me to make a release. Download here. (http://otbp.tifreakware.net/files/gb4nspire_alpha1.zip)

The zip file contains everything you need to run the emulator, except the roms of course. It's a simple drag/drop system much like TI-Boy.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 28, 2009, 07:31:43 pm
w00t nice! I'll try to get a rom dump done and download this to try ^^
Title: Re: TI-Nspire GB Emulator
Post by: Eeems on December 28, 2009, 07:52:03 pm
sweet! can't wait to try it out!
Title: Re: TI-Nspire GB Emulator
Post by: Builderboy on December 29, 2009, 01:19:04 am
Wow, now i wish i had an nSpire so i could try it out! :( maybe i can borrow my friends for a day.
Title: Re: TI-Nspire GB Emulator
Post by: Eeems on December 29, 2009, 01:21:11 am
You can't actually use an nspire yet, you have to use the emulator, and in this case, all the files needed (except the ROM's) areincluded. It's just a download, get rom, and play.
Title: Re: TI-Nspire GB Emulator
Post by: Builderboy on December 29, 2009, 01:26:19 am
well yeah, but i need the calculator to get the rom :)
Title: Re: TI-Nspire GB Emulator
Post by: Eeems on December 29, 2009, 01:38:13 am
Actually I just remembered. It doesn't need the calc ROM, just game ROMs
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 29, 2009, 03:58:59 am
Actually I just remembered. It doesn't need the calc ROM, just game ROMs
Oh yeah, I guess I was kind of ambiguous there. You're right, you only need game ROMs.
Title: Re: TI-Nspire GB Emulator
Post by: Silver Shadow on December 29, 2009, 05:25:08 am
Yepeeee!
*Starts jumping around*
Title: Re: TI-Nspire GB Emulator
Post by: Builderboy on December 29, 2009, 11:13:00 am
Oh boy! I will try this right away after i get home from band practice ^^
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 29, 2009, 01:40:10 pm
oh wow that makes my job easier :P
Title: Re: TI-Nspire GB Emulator
Post by: ztrumpet on December 29, 2009, 02:10:32 pm
Wow, I'll try it as soon as I can get a ROM.  *With rent's rules, I'm going to guess it will take me a week to get a ROM...*  :P
Title: Re: TI-Nspire GB Emulator
Post by: Galandros on December 29, 2009, 02:57:40 pm
It seems it is time to play GBC and GB games. ;D
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 29, 2009, 11:44:58 pm
http://www.unitedti.org/forum/index.php?s=&showtopic=8191&view=findpost&p=139534

Yay!

Title: Re: TI-Nspire GB Emulator
Post by: Galandros on December 30, 2009, 03:37:18 am
It seems it is time to play GBC and GB games. ;D

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

Yay!


Just in time...
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 30, 2009, 03:46:22 am
Yup. Now I guess the hardest part will most likely to find the appropriate OS ourselves. I wouldn't be surprised if it ended up on warez sites pretty soon, though.
Title: Re: TI-Nspire GB Emulator
Post by: Galandros on December 30, 2009, 03:48:10 am
Yup. Now I guess the hardest part will most likely to find the appropriate OS ourselves. I wouldn't be surprised if it ended up on warez sites pretty soon, though.
If it isn't there already.

I never bothered to search warez sites, torrents, p2p, etc.. But it is not hard to find some stuff...
Title: Re: TI-Nspire GB Emulator
Post by: TIfanx1999 on December 30, 2009, 07:56:34 am
Guess we'll get to see what actual speed is like fairly soon on both this and the TI-89 emulator!
Title: Re: TI-Nspire GB Emulator
Post by: Hot_Dog on December 30, 2009, 10:46:32 am
I took a look at ARM assembly and noticed it can do some things that Z80 assembly can't do.  Does this make your work on the Nspire easier?
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 30, 2009, 10:49:27 am
I took a look at ARM assembly and noticed it can do some things that Z80 assembly can't do.  Does this make your work on the Nspire easier?
Definitely. :)
Title: Re: TI-Nspire GB Emulator
Post by: Builderboy on December 30, 2009, 11:19:31 am
...can do some things that Z80 assembly can't do.
Like native grayscale! <(^.^<)
Title: Re: TI-Nspire GB Emulator
Post by: simplethinker on December 30, 2009, 11:31:40 am
Yup. Now I guess the hardest part will most likely to find the appropriate OS ourselves. I wouldn't be surprised if it ended up on warez sites pretty soon, though.
Near the bottom of page 17 of the "Mission: Hack the TI Nspire" thread at UTI has some links to a site that links to them (I hope this is indirect enough to not count as distributing them...)
Title: Re: TI-Nspire GB Emulator
Post by: JCW on December 30, 2009, 12:30:21 pm
Wow never thought I'd see this happening.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 30, 2009, 12:48:11 pm
I took a look at ARM assembly and noticed it can do some things that Z80 assembly can't do.  Does this make your work on the Nspire easier?
One other thing is that ARM processor is like 32 bits while z80 is only 8 or 16 bits. On z80 you need to perform some stuff in quite hackish ways and on the 82-84 series dealing with grayscale is even harder because they don't have a memory-mapped LCD.
Title: Re: TI-Nspire GB Emulator
Post by: ztrumpet on December 30, 2009, 12:53:56 pm
How does the memory mapped display make it easier?
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 30, 2009, 12:56:34 pm
How does the memory mapped display make it easier?
Because you only have to write to memory to update the LCD contents. On the older z80 calculators, you had to interface with the LCD driver manually.
Title: Re: TI-Nspire GB Emulator
Post by: ztrumpet on December 30, 2009, 12:58:49 pm
Oh, so that's why the 86 is easier to make grayscale for.  Thank's for the info. :)
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 30, 2009, 01:58:02 pm
Grayscale also looks better on memory mapped calcs
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on February 12, 2010, 09:32:46 pm
I'm currently working on adding some OS interfacing, like using malloc to request RAM and hopefully saving/loading save games using actual Nspire files
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on February 12, 2010, 11:38:42 pm
Malloc?

nice to see some progress tho ^^
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on February 13, 2010, 03:11:23 am
Malloc?

nice to see some progress tho ^^
Malloc stands for Memory Allocate. It's used a lot in C.

Also, I have gotten it working. :) The save game is automagically saved to a pre-defined file upon quitting. Also, I added support for save states (also saved to a predefined file, for now). Seems to work, though I may run into something I forgot later
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on February 13, 2010, 03:12:29 am
AAh ok :D and glad savestates were added ^^
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on February 25, 2010, 07:51:37 pm
Now the save files are the correct size: They can be 0KB (meaning not created), 2KB, 8KB, or 32KB :D rather than 32KB all the time
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on February 25, 2010, 07:53:24 pm
nice ^^ should leave much more space especially since a lot of it wasn't even used x.x
Title: Re: TI-Nspire GB Emulator
Post by: ztrumpet on February 25, 2010, 08:56:04 pm
Nice! :D

Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on February 26, 2010, 03:22:18 pm
Now I have added a ROM selection menu. Seems to work just fine :)

I should probably eventually try to support menus taller than the screen, though. Currently only 14 roms can fit onscreen.

Edit:
Also, I fixed a glitch with vertical tile flipping in GBC mode
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on February 26, 2010, 04:47:15 pm
Nice, so that means the emu is no more integrated inside ROMs like TI-Boy SE? Now we can have more games at once ^^

Btw shouldn't the emu be called gbc4nspire instead of gb4nspire? People might think your emu only does regular GB, but again there will be some people who think it only does GBC, even thought GBC had backwards compatibility with GB games back then
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on February 26, 2010, 05:09:36 pm
Yeah, that's a good idea.
Title: Re: TI-Nspire GB Emulator
Post by: Builderboy on February 26, 2010, 05:44:30 pm
This is so epic ^^ Its nice that now we can have more than one game without having multiple interpreters :)
Title: Re: TI-Nspire GB Emulator
Post by: Galandros on February 27, 2010, 01:25:29 pm
Ndless has been shown to the world.

When are you going to release the GBC/GB emulator?
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on February 27, 2010, 01:53:37 pm
YES! I also posted a news with some old screenshots. Can't wait for beta of GBC4TI ^^
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on February 27, 2010, 11:11:18 pm
First release, v0.8! :D

http://www.ticalc.org/archives/files/fileinfo/426/42630.html (http://www.ticalc.org/archives/files/fileinfo/426/42630.html)
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on February 27, 2010, 11:44:55 pm
YAY! I added it to the archives as forwarded link (in case it receives too many updates to keep up). I included a mirror link too. :)
Title: Re: TI-Nspire GB Emulator
Post by: bwang on February 28, 2010, 12:07:36 am
I think I found a bug.
After running gbc4nspire, my calculator will no longer turn on without first pulling a battery.
Also, Super Mario Land won't run.
EDIT: On second thought, the turning on thing might be a power management bug.
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on February 28, 2010, 12:11:38 am
I think I found a bug.
After running gbc4nspire, my calculator will no longer turn on without first pulling a battery.
Also, Super Mario Land won't run.
EDIT: On second thought, the turning on thing might be a power management bug.
I have this problem too. It occurs only in OS 1.1. 1.2 and up are fine.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on February 28, 2010, 12:14:10 am
The exploit works on any OS above 1.1? I was sure we had to downgrade?
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on February 28, 2010, 12:32:35 am
The exploit works on any OS above 1.1? I was sure we had to downgrade?
No, I'm talking about without the exploit. I have this glitch on my calculator with 1.1 installed even without Ndless installed. In fact, it happened before I even got my first copy of Ndless.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on February 28, 2010, 12:47:56 am
OOoh ok I see, thanks for clarifying
Title: Re: TI-Nspire GB Emulator
Post by: bwang on February 28, 2010, 01:28:52 am
Any workaround for this bug?
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on February 28, 2010, 01:46:41 am
I hope there is, as it might be annoying after a while x.x

Maybe someone could write a patch to fix it...
Title: Re: TI-Nspire GB Emulator
Post by: bwang on February 28, 2010, 02:33:34 am
Yes, a patch would be nice. I fear removing the keyboard too much will kill the contacts.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on February 28, 2010, 03:04:33 am
I think this happened to someone. After a while it can get loose I think x.x
Title: Re: TI-Nspire GB Emulator
Post by: ztrumpet on February 28, 2010, 09:43:43 am
Awesome job calc84!  Keep up the great work! :D
Title: Re: TI-Nspire GB Emulator
Post by: wesley on March 03, 2010, 12:25:38 pm
Oh, could I make a small suggestion?

The "*" key speeds up the games to maximum speed, but only while you're pressing it. It would be great not to have to hold it down. Could you change it or use another button to toggle the speed?
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on March 03, 2010, 08:06:23 pm
hmmm good idea actually, it somketimes got annoying indeed, especially that the key is too far from others x.x

EDIT: Welcome here btw
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on March 04, 2010, 07:56:10 am
Well, I figured the main use for it would be to skip long cutscenes and text dialogs and stuff. But I guess I'll add the toggle.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on March 04, 2010, 09:45:07 am
off topic note about these text dialogs: don't try Azure Dreams RPG for GBC. The amount of convos in it is just ridiculous. I spent 15 minutes playing on an emulator then I gave up because game would never kick in, I was stuck into an endless convo with NPCs
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on March 05, 2010, 04:13:47 am
This was moved in its own sub-forum
Title: Re: TI-Nspire GB Emulator
Post by: Maizesmagikarp on March 07, 2010, 04:30:31 pm
Omnomnom!
Downloaded and looking excellent!
The blur is a problem, though.
Any way to change the frameskip?
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on March 07, 2010, 05:11:05 pm
He's omnomning us :(

But yeah glad you like it ^^

Unfortunately the blur is a Nspire related problem :(, thanks Texas Instruments for their crappy LCD x.x

I wonder if frameskip will be changeable in the future, though. That might be an idea for those who want slower fps in more blurry games (usually those with gray background) and faster fps in less blurry games
Title: Re: TI-Nspire GB Emulator
Post by: bwang on March 07, 2010, 07:05:04 pm
I think the readme says changeable frameskip is a planned feature.
Title: Re: TI-Nspire GB Emulator
Post by: Snake X on March 17, 2010, 08:54:33 pm
Ugh.. ok ok I know I left the community for a while mainly because calculator's are not my thing. I only joined here to look at the gbc4nspire project, and I must say it is VERY nice and it makes me want to get a Nspire now. So, is there any updates to this project?

@omnimaga: just don't ban me.. I won't spam I promise. I am a more mature person than I was before..
Title: Re: TI-Nspire GB Emulator
Post by: brianbdm on March 17, 2010, 11:29:04 pm
I've never thought that time could be so well wasted ;) How much time do you think you've spent making this, anyways, if you include all the time on the 84 version that you've used in making the newer version?
I wrote another review for your new emulator. I still think this is one of the coolest calc things ever made. I'd say it's the very best, except for the fact that it's useless without Ndless, of course.
You mentioned that it works better on 1.2 OS rather than 1.1, but will it also work well with 2.0? I heard from somewhere online that it's incompatible with Ndless.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on March 18, 2010, 12:40:35 am
Ugh.. ok ok I know I left the community for a while mainly because calculator's are not my thing. I only joined here to look at the gbc4nspire project, and I must say it is VERY nice and it makes me want to get a Nspire now. So, is there any updates to this project?

@omnimaga: just don't ban me.. I won't spam I promise. I am a more mature person than I was before..
Hi and welcome here actually ^^

Don't worry I do not really have anything against you, sorry if it sounded this way (because of the Revsoft incidents) x.x, plus I was pretty pissed at DarksunDS (which is who I had trouble with). Also, we tend to be a bit more lax on randomness  in overall, as long as it won't go overboard. Moderation has better taste anyway ^^.

I don't think DarksunDS would last very long on Omnimaga, though.

@Brian Ndless is being done for 2.0. Eventually it will come out, altough it will probably be executed in a different way than 1.1, since it uses a different TI-Nspire OS exploit.

That said I hope the TI-Nspire stuff and the new innovations on the z80 side renew your interest towards the calculator world.
Title: Re: TI-Nspire GB Emulator
Post by: Snake X on March 18, 2010, 07:08:15 am
Thanks omnimaga :D
I really want a Nspire now lol because of this.. I mean this really would save me from my math class :)

by the way.. do you think that the Nspire could handle a NES/SNES emulator? More so the SNES because I have some SMW (super mario world) hacks to beat  :P
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on March 18, 2010, 12:33:16 pm
I am certain NES could be handled. For SNES, I have doubts about these games filled with chips, though. I think it would most likely support SNES games that doesn't use stuff like Super FX (Star Fox, Dirt Trax FX, PilotWings, Doom) or compression routines (Star Ocean). I think the speed may also not be too bad, noticing how fast the GBC emulation runs in hi-speed mode (6 times faster). SNES would rule, though, because a bunch of the Omnimaga users has previously done ROM hacking, meaning their work could be played on a calculator, finally. Geno and TsukasaZX, for instance, are currently working on their respective Super Mario World ROM hacks.

Also if you search the forums, there is a TI-89 emulator in the works for the TI-Nspire, which might come in handy for those who don't have a TI-Nspire CAS or if in for any reasons Ndless never came out for OS 2.0 and people had to continue to use the more limited 1.1 OS to use Ndless. I am sure Ndless for 2.0 will come out, though.
Title: Re: TI-Nspire GB Emulator
Post by: Snake X on March 18, 2010, 03:52:52 pm
that is so ironic, because I am working on a super mario world ROM hack at the moment. I would like to see it on my calc though  :P
but with many SMW rom hacks comes with ExGFX (aka super FX I think) and it has special effects to it.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on March 18, 2010, 04:02:39 pm
Well, we actually even have a ROM hacking sub-forum here on Omni forums, it's hidden in the non-calc projects section here:

http://www.omnimaga.org/index.php?board=81.0

Sadly, because most of our ROM hackers are either only active on IRC chats (they don't like forums as much as chats) and because some are retired or more active into calc dev, this section is still rather empty :(

I might eventually give GBC ROM hacking a try, though, with easy to modify ROMs. I still hope eventually there's a NES or partial SNES emulator for Nspire, though.

Another alternative for now is Project M, a new Mario clone for the 83+, which will have a level editor. It has more features and better physics than the old one on ticalc.org (altough this one was still cool). There are no demos yet, though.

As for Super FX, It's actually that chips that allows polygonal 3D in SNES games, normally impossible to render with the SNES hardware
Title: Re: TI-Nspire GB Emulator
Post by: ztrumpet on March 18, 2010, 05:30:25 pm
Welcome here Snake X.

I think a NES emulator would be really cool!  Calc84, are you working on one yet... ? ;D
Title: Re: TI-Nspire GB Emulator
Post by: Snake X on March 18, 2010, 07:00:39 pm
hehe.. one amazing project at a time! :D
Title: Re: TI-Nspire GB Emulator
Post by: brianbdm on March 18, 2010, 07:24:20 pm
So, now that you've got the GBC, you're going for the DS next, right? ;)
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on March 18, 2010, 08:12:22 pm
lol, let's stay realistic, though ;)

I think right now he's focussing on Project M for the 83+ serie (Super Mario clone)
Title: Re: TI-Nspire GB Emulator
Post by: mattoparke on March 19, 2010, 02:06:58 pm
hi everyone
i'm new here
first off thx so much calc84 for making such a cool emulator!
i have a problem tho...
i absolutely have no idea how to get the emulator on my cas
i have a cas w/ 1.6 os..
but i found the 1.1 os
so..
how do i delete my 1.6, install 1.1, then install ndless + the emulator?
sorry this is such a bad question but if anyone can help me, or direct me to a place that i can get help, please do.
(sorry for my bad english.. its my second language)
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on March 19, 2010, 02:28:44 pm
Hi and welcome here,

To install 1.1 and Ndless, first you need to make sure you have TI-Nspire Computer Link Software version 1.3, not 1.4. There is a build of Ndless that is compatible with 1.4 but it is not publicly avaliable and was not tested extensively. Hopefully it should come out soon.

You also need Java installed on your computer.

Now if you got Link software 1.3 and an OS and assuming you have Ndless in a folder on your computer, put the OS in a folder called userfiles, then run install-ndless.bat. All you should need to do is follow the instructions on the computer screen. The OS 1.1 will be installed by install-ndless.bat, prior Ndless itself.
Title: Re: TI-Nspire GB Emulator
Post by: mattoparke on March 19, 2010, 04:24:15 pm
ahhh thank you very much
you said the 1.1 os will be installed by the ndless.bat?
i have the 1.1 os in a folder on my computer, so can i just ignore and/or delete that if install-ndless.bat will install it for me?
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on March 19, 2010, 05:03:38 pm
No you must create a new directory in the Ndless one that is called userfiles and put a copy of OS 1.1 there. ndless.bat will check this folder for it.
Title: Re: TI-Nspire GB Emulator
Post by: brianbdm on March 20, 2010, 01:35:36 pm
The 1.1 OS is needed BEFORE you insteall Ndless. ndless.bat does not install the OS, it just installs Ndless.
You'll need the 1.1 OS on your calculator, and 1.3 link software on your computer before you run ndless.bat
I'm not the real expert here, but I'm 95% sure that's how it works. I want to make sure to leave myself room for error. That's what I had to do, at least.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on March 20, 2010, 01:45:01 pm
brianbdm, correction, Ndless does install OS 1.1. It did for me, I loaded it in the specified folder, then ran ndless.bat, and both OS 1.1 then Ndless were installed. I'm speaking the truth here, as it is from experience, and if you don't believe me, I'll go test again and do a video cam recording of it as proof.
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on March 20, 2010, 02:23:14 pm
It will actually download the OS for you automatically if you don't already have a copy :)
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on March 20, 2010, 02:41:51 pm
Wait, really? I didn't knew that and I spent effort trying to find one online x.x

That's good to know at least. I think it should be made a bit more clear in the readme, though x.x
Title: Re: TI-Nspire GB Emulator
Post by: brianbdm on March 21, 2010, 07:43:07 pm
Well, I'm glad that I left myself room to mess up, but I don't feel as bad if an admin with respect in the hundreds also made the same mistake. ;)
--------
Say, why did you make the shirt key the start button instead of the control button? It would be symmetrical to the clear key for Select if you did. I always have to remind myself that it's one key lower than I think. Is there any reason you made it the shift key? I thought it may be to make contrast changes in-game, but I found out that you can do that just by hitting the + and - buttons. Will the calculator not allow you to use it?
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on March 21, 2010, 07:47:25 pm
Well, I'm glad that I left myself room to mess up, but I don't feel as bad if an admin with respect in the hundreds also made the same mistake. ;)
--------
Say, why did you make the shirt key the start button instead of the control button? It would be symmetrical to the clear key for Select if you did. I always have to remind myself that it's one key lower than I think. Is there any reason you made it the shift key? I thought it may be to make contrast changes in-game, but I found out that you can do that just by hitting the + and - buttons. Will the calculator not allow you to use it?
As I stated in the readme, it was because of issues with multiple keypresses. It so happens that if I used ctrl, pressing certain combinations of other keys would make a false keypress.
Title: Re: TI-Nspire GB Emulator
Post by: brianbdm on March 21, 2010, 07:50:51 pm
Oh, I must have skimmed over the parenthesis. Another mistake on my part.
My computer keyboard is like that. There are some key combinations that I can't do that can throw me off when I play games. I should get a gamepad instead.
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on March 21, 2010, 07:58:44 pm
In this case it wouldn't be a problem, except under the arrow wheel there are actually 8 detectable directions, each of which acts like a key. So most of the time when you press an arrow direction, you are really pressing 3 keys at once. So pressing an arrow direction while pressing another key will sometimes cause two false keypresses. :(
Title: Re: TI-Nspire GB Emulator
Post by: brianbdm on March 21, 2010, 08:12:53 pm
That could also present another problem. If you're pushing a directional key, and you skip in one direction or another, it would pick up the diagonal instead. I assume that they don't do anything in the emulator. If there were twelve buttons, three on each side, it would allow a bit of grace instead of having dead spots in the middle. It also makes it tough to switch directions quickly if you need to. Maybe you could add optional keys for people who would prefer them over the d-pad?Like you could have 4 be left, 8 be up, 6 be right, and both 5 and 2 would be down (for people who prefer arrow keys or the number pad). They might make more key combo problems, but at least you would still have the same number of keys being pressed at the same time.
...Although, being separate keys, it would be possible to press more than one of them at once, unlike the d-pad. Hm... What do you think?
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on March 21, 2010, 08:30:32 pm
Nah, there are no problems with that because typically you are pressing three buttons at a time (like up, up-right, and right) so checking only up and right suffices for diagonal detection.
Title: Re: TI-Nspire GB Emulator
Post by: brianbdm on March 26, 2010, 10:23:00 pm
The problem is that there are no diagonal keys on the gameboy, so if you do press the diagonal, even if you're also pressing the two buttons next to it, the calculator wouldn't be able to determine which way you meant to go because you're pressing a button half way between the two directions. It's like... is the x=y line closer to the x-axis or the y-axis? Well, neither.
(I finally changed my little picture to something else. ^^)
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on March 27, 2010, 03:26:37 pm
Here's the thing. I don't even check the "diagonal" keys at all. Checking up/down/left/right is enough.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on March 27, 2010, 11:00:52 pm
mhmm does it means there are no diagonal movements in gbc4nspire at all? I didn't really check when playing zelda
Title: Re: TI-Nspire GB Emulator
Post by: brianbdm on March 28, 2010, 10:46:20 pm
Oh, I see. Yeah, I think there are a few games that use diagonal movements, but not very many.
Title: Re: TI-Nspire GB Emulator
Post by: Silver Shadow on April 03, 2010, 08:49:19 am
There are diagonal movements in the emu. They are just considered as being 2 keys pressed at the same time, if I understand calc84 correctly.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on April 03, 2010, 01:00:17 pm
aaah ok, I guess I definitively didn't notice when moving around x.x
Title: Re: TI-Nspire GB Emulator
Post by: brianbdm on April 05, 2010, 08:29:40 pm
Is there any possibility of adding a clock? I'd expect that might be difficult...
come to think of it... Does the Nspire even /have/ a clock like the 84? I don't actually remember ^^ I'd check, but I left it at school.
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on April 05, 2010, 08:30:47 pm
Is there any possibility of adding a clock? I'd expect that might be difficult...
come to think of it... Does the Nspire even /have/ a clock like the 84? I don't actually remember ^^ I'd check, but I left it at school.
I believe it does, but there are some even more challenging aspects to including this feature.
Title: Re: TI-Nspire GB Emulator
Post by: phj on April 07, 2010, 02:29:52 pm
A clock on the nspire would be very useful.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on April 07, 2010, 02:50:25 pm
I never really checked if the Nspire even had a clock function. If it does, I wonder if it's easy to access it to display the hour/min/sec in an ARM ASM program.

There are still a lot of discoveries to be done about the TI-Nspire :D

Also welcome here phj
Title: Re: TI-Nspire GB Emulator
Post by: Silver Shadow on April 07, 2010, 03:11:18 pm
From what I know, the Nspire does have a clock function. But it's sort of complicated to access it...
Title: Re: TI-Nspire GB Emulator
Post by: brianbdm on April 15, 2010, 12:37:35 am
I just checked-
The Legend of Zelda: Oracle of Seasons uses diagonal movement, so all the other games must potentially be able to use them, too.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on April 15, 2010, 05:47:51 pm
Aaah ok thanks for the info.
Title: Re: TI-Nspire GB Emulator
Post by: bwang on April 22, 2010, 08:07:55 pm
I wonder whether Gameshark code support will ever appear on this emulator. Maybe there's a way to write something to hack the save states and put codes in?
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on April 22, 2010, 08:48:40 pm
I wouldn't be surprised if this was possible. He would probably need to check the Game Genie/Action Replay/Game Shark source and stuff, then people would just need to insert codes they know or find online.
Title: Re: TI-Nspire GB Emulator
Post by: miotatsu on April 22, 2010, 09:41:37 pm
The gameshark for gbc had a gametrainer thing (where you could tell it to search for a value and then do something and repeat the search in order to find codes easily), this would be a very nice feature for the emulator if gameshark code support was added IMO
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on April 22, 2010, 09:43:25 pm
Mhmm I didn't know about that one. I wonder if it would be very complicated?
Title: Re: TI-Nspire GB Emulator
Post by: miotatsu on April 22, 2010, 09:46:08 pm
yeah i suppose that would be fairly complex to implement, but I don't know much about asm so i can't really say. It would be a very nice feature though
Title: Re: TI-Nspire GB Emulator
Post by: Builderboy on April 22, 2010, 11:23:20 pm
The gameshark for gbc had a gametrainer thing (where you could tell it to search for a value and then do something and repeat the search in order to find codes easily), this would be a very nice feature for the emulator if gameshark code support was added IMO

What do you mean by searching for a value?  And are gameshark ROMs (or whatever they are) available for download?
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on April 22, 2010, 11:27:17 pm
I think most emulators now include game shark support without the need of the ROM. Most of the time they write the support themselves.
Title: Re: TI-Nspire GB Emulator
Post by: brianbdm on April 22, 2010, 11:34:19 pm
How does a regular gameshark use its codes in the games, anyways? If you don't want to explain it all to me, could you point me in the right direction?
I don't really understand how it can go from a code to a game function without it already being programmed into the game.
Title: Re: TI-Nspire GB Emulator
Post by: bwang on April 22, 2010, 11:44:33 pm
The Gameboy  Gameshark codes simply wrote a specific byte to a specific memory location.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on April 23, 2010, 12:37:27 am
basically, I think it alters game variables stored in the console RAM or some modifiers that can change variables. Let says your HP is 80 at game start and you want it to be 255, a part of the hex code you'll enter for that address will most likely contain FF as the last letters. Maybe something different, but I think it may be how it works. And yeah notice how all game genie codes are hexadecimal codes
Title: Re: TI-Nspire GB Emulator
Post by: bwang on April 23, 2010, 12:43:09 am
This page (http://web.archive.org/web/20040409085237/www.gscentral.com/view.pl?HackingText/hackv500c) explains it well.
Title: Re: TI-Nspire GB Emulator
Post by: brianbdm on April 28, 2010, 12:43:08 am
Thanks. I get it now. It's not quite as confusing as it seems.
That guide is REALLY detailed.
Title: Re: TI-Nspire GB Emulator
Post by: CMTony on May 26, 2010, 03:46:04 am
any updates for GBC4tinspire coming out at all soon? or even any info on one?...
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on May 26, 2010, 03:56:54 am
It has been out for quite a while already. ;) It was released 3 months ago (and made front page) on ticalc.org shortly after Ndless 1.0 came out:

http://www.ticalc.org/archives/files/fileinfo/426/42630.html
http://www.ticalc.org/archives/news/articles/14/146/146064.html
Title: Re: TI-Nspire GB Emulator
Post by: CMTony on May 26, 2010, 08:39:31 am
yeah i know 0.8 was out. i'm enjoying it. but in the readme it says that theres still stuff to add like cable to cable compatability and i'm really looking forward to that. Pokemon battles at school ftw.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on May 26, 2010, 12:59:14 pm
Oh ok" Then I'm not sure. Seeing as TI-Boy SE got no update for a year, I doubt gbc4nspire will be updated anytime soon, though, especially that people have yet to figure out how to use linking on the TI-Nspire for third party programs (if it's even possible at all).
Title: Re: TI-Nspire GB Emulator
Post by: brianbdm on May 26, 2010, 09:13:17 pm
Has TI-Boy SE /really/ been out for a whole year? It seems like I just got it. ^^
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on May 26, 2010, 09:16:06 pm
yeah it did. I guess time flows fast ^^
Title: Re: TI-Nspire GB Emulator
Post by: bwang on May 27, 2010, 01:24:33 am
calc84: can you describe the format of the .state files? I'm trying to write a Gameshark program.
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on May 27, 2010, 06:15:17 am
I thought that the Gameshark for the Gameboy modified the actual ROM (in which case I don't have to try to recall exactly what I've been doing with the .state files :P)
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on May 27, 2010, 01:22:13 pm
ROMs can be modified?
Title: Re: TI-Nspire GB Emulator
Post by: bwang on May 27, 2010, 03:57:18 pm
The Gameboy gameshark doesn't touch the ROM. It only has one cheat type, which writes a number into a specified memory location.
Title: Re: TI-Nspire GB Emulator
Post by: bwang on June 03, 2010, 02:20:13 am
Hmmm...its been a week since I posted that. Anyone?
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on June 03, 2010, 03:11:23 am
I don't think it is currently in the works. Calc84maniac had two camping vacations in a row and is currently working a bit on F-Zero I think
Title: Re: TI-Nspire GB Emulator
Post by: Ancient Power on June 03, 2010, 11:34:56 am
Gamesharks only change values in the RAM(or Flash, if that's how the game is saved), that is correct.
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on June 03, 2010, 12:15:14 pm
Ah, I guess I misread that guide.
Title: Re: TI-Nspire GB Emulator
Post by: gkaee on July 27, 2010, 05:31:56 am
Lookin sweet cant wait for nedless on 2.0 so i can try it out.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on July 29, 2010, 04:16:19 am
Unfortunately, I think the project may have died, since Calc84maniac lost the source code in a craptop hard drive failure, but I think the current version emulate games pretty well. I do not recall hearing much issues and I did not get any myself except maybe sometimes with Dragon Warrior I & II Bundle. I can't wait for Ndless 2 as well.
Title: Re: TI-Nspire GB Emulator
Post by: fb39ca4 on July 29, 2010, 04:33:59 am
I had issues w/ resident evil, other than that, it emulates perfectly.
Title: Re: TI-Nspire GB Emulator
Post by: Silver Shadow on July 29, 2010, 05:58:30 am
I had issues with Zelda, where the calc froze completely, but I think it's probably the ROM's fault.
Title: Re: TI-Nspire GB Emulator
Post by: gkaee on July 29, 2010, 06:54:27 am
This looks awsome. ndless 2 needs to drop already so i can try some of this stuff out in my math class.
Title: Re: TI-Nspire GB Emulator
Post by: qazz42 on July 29, 2010, 09:50:08 am
Hmm, the reason this is possible is that, well, the gameboy had a z80 processor, thus, the calc must be able to emulate it. The nspire can emulate it too, because an ARM processor is much more advanced than the z80 processor

These are my thoughts, if I am wrong, tell me
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on July 29, 2010, 06:25:38 pm
Well, it still needs to translate things to ARM format, though. Had the Nspire used a z80, there would be much less translation to be done, since both processors would be similar. This is why a GB emulator was possible on the 84+SE, even if those calcs are only 15 MHz. I could be wrong as well, though. Not that it matters much, though, because the Nspire is fast enough to emulate the GBC, anyway.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on November 16, 2010, 07:14:56 pm
If you ever revive this, are you planning to add support for more than 1 page of ROMs in the game menu?
Title: Re: TI-Nspire GB Emulator
Post by: fb39ca4 on November 16, 2010, 08:48:53 pm
Even better - an OS hook to run ROMs directly from the my documents screen.
Title: Re: TI-Nspire GB Emulator
Post by: zzCoRRoDe on November 16, 2010, 08:56:31 pm
I have a gameboy advanced somewhere in my house. I'm sure that you could make an emulator for that, on later calculators. Very interesting work.
Title: Re: TI-Nspire GB Emulator
Post by: fb39ca4 on November 16, 2010, 09:06:31 pm
It would be hard to get it fullspeed, though. The GBA runs at 16mhz, and the nspire at 150mhz. A rule of thumb is you need 10-15x the power to emulate something. And then, the GBA has graphics hardware, which the nspire lacks. Then again, they both have ARM CPUs, which makes matters easier.
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on November 16, 2010, 09:35:27 pm
Well, he did say "on later calculators". Though, knowing TI, it might take a long time before they get even close to putting recent hardware in one of their calcs.
Title: Re: TI-Nspire GB Emulator
Post by: fb39ca4 on November 16, 2010, 09:57:15 pm
By that time, people will be asking for DS and N64 emulation on their calc.
EDIT: Autocorrect on my iPod switched calc to calf!
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on November 16, 2010, 09:59:08 pm
Indeed ;D

Plus I don't even know if the Casio Prizm will even have a processor faster than the Nspire, not to mention it may be a different architecture that is not documented well. It would be cool if Casio switched to ARM.

In other words, before we get a calc powerful enough to run a GBA emu at full speed, emulating all effects, it may take years...
Title: Re: TI-Nspire GB Emulator
Post by: fb39ca4 on November 16, 2010, 10:03:26 pm
Prerecompilation may work-a computer program that changes a gBA rom into an nspire binary.

EDIT: 400th post!
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on November 16, 2010, 10:05:24 pm
Hmm... although this would no longer be an actual emulator, it would be cool if we could convert console/handheld games to Nspire ASM code instead of emulating them. It may not sound as cool but maybe they would be faster? I am not sure about their file size, though.
Title: Re: TI-Nspire GB Emulator
Post by: fb39ca4 on November 16, 2010, 10:13:33 pm
There would be extra code to substitute for the BIOS and graphics routines, but the actual graphics, as in tiles and sprites, can be converted into 4lvl grayscale, cutting down their size fourfold. (GBA has 32,768 colors, so I'm assuming 16bpp

That stupid autocorrect tried to change sprites to spruces, but this time I caught it. :)
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on November 16, 2010, 10:28:00 pm
What you are describing is static recompilation. Unfortunately, this is almost always infeasible:
Quote from: http://stackoverflow.com/questions/448673/how-do-emulators-work-and-how-are-they-written
   With static recompilation, you do the same as in dynamic recompilation, but you follow branches. You end up building a chunk of code that represents all of the code in the program, which can then be executed with no further interference. This would be a great mechanism if it weren't for the following problems:

    * Code that isn't in the program to begin with (e.g. compressed, encrypted, generated/modified at runtime, etc) won't be recompiled, so it won't run
    * It's been proven that finding all the code in a given binary is equivalent to the Halting problem

These combine to make static recompilation completely infeasible in 99% of cases. For more information, Michael Steil has done some great research into static recompilation -- the best I've seen.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on November 16, 2010, 10:28:07 pm
Yeah that too, the lower color depth would cut size down considerably. Btw are you on an iPhone/android or something? I think they got auto-correct and sometimes Eeems posts become weird when he doesn't check carefully. :P I have a spell-checker, but it doesn't auto-correct
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on November 16, 2010, 10:32:15 pm
There would be extra code to substitute for the BIOS and graphics routines, but the actual graphics, as in tiles and sprites, can be converted into 4lvl grayscale, cutting down their size fourfold. (GBA has 32,768 colors, so I'm assuming 16bpp

That stupid autocorrect tried to change sprites to spruces, but this time I caught it. :)
Most GBA graphics are already 4-bit. The actual colors are looked up from a palette. And I'm not sure how exactly you would locate the graphics data in a ROM automatically, anyway. Also, there are not "graphics routines", there is graphics hardware.
Title: Re: TI-Nspire GB Emulator
Post by: ExtendeD on November 17, 2010, 04:43:41 am
Even better - an OS hook to run ROMs directly from the my documents screen.

This could be a feature request for Ndless. Ndless already puts an hook on the documents opening.
Ndless could manage a map of file extensions (.gb/.gbc in the case of gbc4nspire) to programs, updated by the programs when run from the first time, and pass the file name as an argument to the main() function of the program.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on November 17, 2010, 02:13:27 pm
Hmm that would be cool actually, like on computers. It would be much faster to run stuff. :)
Title: Re: TI-Nspire GB Emulator
Post by: calcforth on November 17, 2010, 06:29:09 pm
Most GBA graphics are already 4-bit. The actual colors are looked up from a palette. And I'm not sure how exactly you would locate the graphics data in a ROM automatically, anyway. Also, there are not "graphics routines", there is graphics hardware.
You don't need to locate graphics data in a ROM, you only need to block access to HW and emulate it in signal handler. Should be simple to do if Nspire's CPU includes proper MMU. The only question is if it'll be fast enough: context switch is slow business and Nspire is only 10 times faster then GBA...

In other words, before we get a calc powerful enough to run a GBA emu at full speed, emulating all effects, it may take years...
It's not a question of power: Nspire is more then capable enough. It's question of doing the actual work. Compare XBox (original, not XBox360) emulation with PS2 emulation. It's actually harder to emulate PS2 - but people want it so it works (not perfectly, but compatibility was over 50% two years ago, by now I think it's about 80-90%) while XBox... well, you can run one or two games - and that's all.

So ironically enough while I agree that "it may take years" I don't agree that we need new hardware: it'll take years, but the end result will probably be GBA emulator for Nspire, not for some exotic new platform.
Title: Re: TI-Nspire GB Emulator
Post by: fb39ca4 on November 17, 2010, 09:15:00 pm
Yeah, I wanted to play some xbox games on my computer, but emulation for that is well, pathetic, compared to GC, PS2, and even Wii.

This time autocorrect tried to change xbox into shod. ???
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on November 18, 2010, 07:24:38 pm
Most GBA graphics are already 4-bit. The actual colors are looked up from a palette. And I'm not sure how exactly you would locate the graphics data in a ROM automatically, anyway. Also, there are not "graphics routines", there is graphics hardware.
You don't need to locate graphics data in a ROM, you only need to block access to HW and emulate it in signal handler. Should be simple to do if Nspire's CPU includes proper MMU. The only question is if it'll be fast enough: context switch is slow business and Nspire is only 10 times faster then GBA...

In other words, before we get a calc powerful enough to run a GBA emu at full speed, emulating all effects, it may take years...
It's not a question of power: Nspire is more then capable enough. It's question of doing the actual work. Compare XBox (original, not XBox360) emulation with PS2 emulation. It's actually harder to emulate PS2 - but people want it so it works (not perfectly, but compatibility was over 50% two years ago, by now I think it's about 80-90%) while XBox... well, you can run one or two games - and that's all.

So ironically enough while I agree that "it may take years" I don't agree that we need new hardware: it'll take years, but the end result will probably be GBA emulator for Nspire, not for some exotic new platform.

So I'll be able to play PS3 games on my computer soon! ;D

Just kidding, but yeah GBA emulation was attempted on the Nspire before. The person who worked on it for a while told me a bit about it. It was about twice slower than the original GBA and most special effects did not work. That said, with the time, new tricks will be discovered to find faster ways to do stuff. After all, it took 8 years before a GB emu arrives on the 84+ and now a faster one is being written.
Title: Re: TI-Nspire GB Emulator
Post by: fb39ca4 on November 18, 2010, 07:53:01 pm
Who was working on GBA emulation?
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on November 18, 2010, 07:55:47 pm
I'm not sure if I am supposed to tell. All I will say is that the GBA emu was to the TI-Nspire what TI-Boy SE was to the 84+, in terms of performances, speed and games compatibility.
Title: Re: TI-Nspire GB Emulator
Post by: qazz42 on November 21, 2010, 10:20:52 am
Yeah, it is way too hard to emulate it ATM. Hopefully we *might* *possibly* get Atari emulation, but even that is hard
Title: Re: TI-Nspire GB Emulator
Post by: fb39ca4 on November 21, 2010, 10:25:01 am
There, the challenge is actually getting it to emulate properly, which can be way harder than trying to improve the speed.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on November 21, 2010, 03:47:50 pm
Usually it takes a few years before emulation of something is perfect and at fastest speed possible. Today, some emulators can still not run MTV Music Generator/Music 2000 PS1 and Mystical Ninja Starring Goemon for N64 properly.
Title: Re: TI-Nspire GB Emulator
Post by: Silver Shadow on January 04, 2011, 01:31:27 pm
Dunno if calc84 is planning to resume this in the near future, but here's a bug report nontheless:

I have tried different versions (and languages) of Zelda, Link's Awakening, but the emu crashes or freezes when I enter the Moblin cave. I doubt that this is the ROM's fault, I think it is rather pointing to an error in the emu itself...
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on January 04, 2011, 04:28:23 pm
I don't think he plans to continue it unfortunately, since he lost the source and would either need to disassemble it or restart from scratch, but it would be cool if he resumed it. I heard some people got issues with LA, but I don't remember if that happens with LA DX as well.
Title: Re: TI-Nspire GB Emulator
Post by: willrandship on January 04, 2011, 07:23:57 pm
Didn't DX just replace the sprite set? If it's an emulation problem that might not fix it.

I suppose you could load your save into a PC emu, and get past and resume from there :P
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on January 05, 2011, 01:41:38 am
I'm not sure, I remember LA DX worked better, but I could be wrong. Also DX is a GBC game, not GB, so could the format be a bit different?
Title: Re: TI-Nspire GB Emulator
Post by: TIfanx1999 on January 05, 2011, 07:22:14 am
@Silver shadow: I don't recall where, but someone else mentioned having the same issue in another topic. It was also mentioned (As DJ said) that Link's Awakening DX seemed to work fine.
Title: Re: TI-Nspire GB Emulator
Post by: Silver Shadow on January 05, 2011, 02:21:41 pm
Oh, OK. But in the DX version, there is a new dungeon that is based on colors, and since the screen is B&W...
Title: Re: TI-Nspire GB Emulator
Post by: fb39ca4 on January 06, 2011, 05:37:46 am
I got those same crashes with the gb emu on my itouch, so it seems like a common problem.
Title: Re: TI-Nspire GB Emulator
Post by: TIfanx1999 on January 06, 2011, 08:23:59 am
@Silver Shadow: Yea, I've never played the extra dungeon and I dunno, but the grays may be mapped well enough that you'll be able to figure it out. It is worth mentioning that the extra dungeon is entirely optional anyways, so it isn't a necessity to beat it.
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on January 06, 2011, 08:30:50 am
I got those same crashes with the gb emu on my itouch, so it seems like a common problem.
Wow, really? I thought it was just gbc4nspire that had this problem. I wonder what causes it....
Title: Re: TI-Nspire GB Emulator
Post by: fb39ca4 on January 06, 2011, 06:47:32 pm
I would do some research, see if an emu like vba ever had those problems, and find out what was done to fix it.
Title: Re: TI-Nspire GB Emulator
Post by: qazz42 on January 08, 2011, 10:36:20 am
some games that are supposed to be classic NES games for the Gameboy color just give me a game pak error :(
Title: Re: TI-Nspire GB Emulator
Post by: SirCmpwn on January 08, 2011, 10:51:50 am
Yeah, I had the same Zelda problem, so I just got past that part on a computer based emulator and put the save file back.
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on January 08, 2011, 10:54:41 am
some games that are supposed to be classic NES games for the Gameboy color just give me a game pak error :(
Excuse me if I'm wrong, but weren't those classic NES games released for the GBA? (The one exception I know of is Super Mario Bros Deluxe, and even that was not just a copy of the original)
Title: Re: TI-Nspire GB Emulator
Post by: FinaleTI on January 08, 2011, 11:12:31 am
Does SMB Deluxe work with gbc4nspire? I don't have an nSpire yet, but I hope to buy one, and that was one of my favorite GBC games.
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on January 08, 2011, 12:14:20 pm
Does SMB Deluxe work with gbc4nspire? I don't have an nSpire yet, but I hope to buy one, and that was one of my favorite GBC games.
It does work, but the blurry screen makes it sort of hard to play. I actually think the original SMB on NESpire might be a better option so you get the full 256x240 resolution (unless you really need the extra features from SMB Deluxe)
Title: Re: TI-Nspire GB Emulator
Post by: TIfanx1999 on January 08, 2011, 11:02:36 pm
some games that are supposed to be classic NES games for the Gameboy color just give me a game pak error :(
Excuse me if I'm wrong, but weren't those classic NES games released for the GBA? (The one exception I know of is Super Mario Bros Deluxe, and even that was not just a copy of the original)
This is correct. They are all Gameboy Advance releases(Aside from Super Mario Bros. Deluxe).
Title: Re: TI-Nspire GB Emulator
Post by: TIfanx1999 on January 08, 2011, 11:19:25 pm
Sir's post was in response to the discussion on the previous page about "The Legend of Zelda, Link's awakening" freezing at a certain point in gameplay. It was not a response to your question. The titles you mentioned will not play on The Gameboy emulator because they are not Gameboy or Gameboy color games. They are Gameboy Advance titles.
Title: Re: TI-Nspire GB Emulator
Post by: qazz42 on January 08, 2011, 11:46:51 pm
some games that are supposed to be classic NES games for the Gameboy color just give me a game pak error :(
Excuse me if I'm wrong, but weren't those classic NES games released for the GBA? (The one exception I know of is Super Mario Bros Deluxe, and even that was not just a copy of the original)

hm, nvm then, I could have sworn that the original Zelda was remade for the GB Color
Title: Re: TI-Nspire GB Emulator
Post by: Mrakoplaz on January 22, 2011, 01:37:48 pm
Since I don't have a Clickpad, I've hacked around a bit in assembly to make this great program work with the Touchpad - it's a really really ugly hack, and the ROM selection screen is still broken (always selects the first ROM in the list), but hey, it's better than nothing!
During testing, it used to crash quite a bit due to some memory overwriting, but I think I fixed it all... tell me if there are any crashes or things like that.

Edit: Oops, forgot to mention what keys I've remapped the controls too :-[ :
A - Tab
B - Ctrl
Start - Menu
Select - Del/Clear
Direction - 8/4/5/6
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on January 24, 2011, 07:09:04 pm
Cool, is it for Ndless 1.7 or 2.0?
Title: Re: TI-Nspire GB Emulator
Post by: apcalc on January 24, 2011, 07:15:44 pm
Cool, is it for Ndless 1.7 or 2.0?

If I am not mistaken, all files built for Ndless 1.7 will work on Ndless 2.0, and all built for 2.0 will work on 1.7.  The only reason this would not work with Ndless 1.7 is the fact that OS 1.7 does not support the clickpad. :)
Title: Re: TI-Nspire GB Emulator
Post by: Silver Shadow on January 25, 2011, 08:47:28 am
^You mean the Touchpad... ;D
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on January 26, 2011, 03:00:41 am
I think on the CAS Touchpad calc, no keypad will work with OS 1.7 at all, though, not even the Clickpad.
Title: Re: TI-Nspire GB Emulator
Post by: Silver Shadow on January 26, 2011, 02:11:38 pm
Yeah, I think so too.
Title: Re: TI-Nspire GB Emulator
Post by: critor on January 26, 2011, 03:11:04 pm
I think on the CAS Touchpad calc, no keypad will work with OS 1.7 at all, though, not even the Clickpad.

Yes.
But there is a way: just install OS 1.4 & Ndless 1.4.
Programs built for Ndless 1.7 should also work on Ndless 1.3/1.4/2.0.

Some explanations here:
http://ti.bank.free.fr/index.php?mod=news&ac=commentaires&id=910 (in french)
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on January 29, 2011, 02:57:18 am
Yeah that works too.
Title: Re: TI-Nspire GB Emulator
Post by: Sloshylucas on February 28, 2011, 05:01:01 am
.
Title: Re: TI-Nspire GB Emulator
Post by: Stefan Bauwens on February 28, 2011, 05:42:24 am
Hi. Sorry for my noobiness, but how do you put the roms on the calculator? Iv'e tried sending them through the TI linking program but it doesn't work.

i have the touchpad 2.01 with ndless installed and touchpad gbc4nspire. thnx in advance.
Did you read the readme?
Title: Re: TI-Nspire GB Emulator
Post by: shrear on February 28, 2011, 01:10:51 pm
you have to change the .gb | .gbc extension in .gb.tns |.gbc.tns
you may have to change your Windows settings to display extensions, to be able to do so.
Title: Re: TI-Nspire GB Emulator
Post by: Sloshylucas on February 28, 2011, 02:17:46 pm
.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on February 28, 2011, 02:19:18 pm
Welcome on the forums, by the way. Also I don't think you need to turn on extensions, since adding one will add it, just not show it, but I recommend enabling them anyway because it's much easier to work that way.
Title: Re: TI-Nspire GB Emulator
Post by: shrear on February 28, 2011, 02:25:18 pm
Welcome on the forums, by the way. Also I don't think you need to turn on extensions, since adding one will add it, just not show it, but I recommend enabling them anyway because it's much easier to work that way.
Sorry to prove you wrong Dj, but if you would add an extension without them being "seen" you would end up having a *.tns.gb | *.tns.gbc or even something like *.gb.tns.gb etc.
Title: Re: TI-Nspire GB Emulator
Post by: Stefan Bauwens on February 28, 2011, 03:13:21 pm
Stefan Bauwens: The Touchpad version here: http://www.omnimaga.org/index.php?action=topicattach;topic=1243 didn't come with a Readme.
Ah ok, I didn't know that.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on February 28, 2011, 03:17:27 pm
Welcome on the forums, by the way. Also I don't think you need to turn on extensions, since adding one will add it, just not show it, but I recommend enabling them anyway because it's much easier to work that way.
Sorry to prove you wrong Dj, but if you would add an extension without them being "seen" you would end up having a *.tns.gb | *.tns.gbc or even something like *.gb.tns.gb etc.
Really? I thought if you had a .gb file and changed it to .gb.tns, it would simply show .gb and hide .tns? Does it really re-append another .gb afterward? ???
Title: Re: TI-Nspire GB Emulator
Post by: shrear on February 28, 2011, 03:24:24 pm
yes I did check before my post

and yes Windows is silly...
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on February 28, 2011, 03:25:17 pm
Wow O.O

I agree with you.
Title: Re: TI-Nspire GB Emulator
Post by: coolrudski on March 04, 2011, 04:01:19 pm
question when i open the ti nspire cas touchpad version of gbc4nspire it runs only the most downloaded rom... it flashes the menu then load instantly... and it doesnt give me the option to choose... i have os 2.1.0
Title: Re: TI-Nspire GB Emulator
Post by: shrear on March 04, 2011, 04:06:47 pm
this is sadly "normal" behavior
but the touchpad version is hex edited since the original source is lost.
and as the hex editing process is quit difficult, I think we should be glad that there is a touchpad compatible version(even if it has bugs)
a workaround is to simply make for every game a directory in which you do always a copy of gbc4nspire and the rom of the respektive game.
Title: Re: TI-Nspire GB Emulator
Post by: coolrudski on March 04, 2011, 04:08:03 pm
ok thank you!

it worked perfectly. annoying but doable.
Title: Re: TI-Nspire GB Emulator
Post by: TIfanx1999 on March 06, 2011, 09:52:29 am
@coolrudski: If you have a small addition or amendment to make to your post, please use the "quick modify" button in the lower right hand corner.
Title: Re: TI-Nspire GB Emulator
Post by: Tuxpp on March 06, 2011, 11:07:05 am
Ndless now supports the Touchpad : is it possible to build a version supporting the Touchpad ?
Title: Re: TI-Nspire GB Emulator
Post by: apcalc on March 06, 2011, 11:09:38 am
Ndless now supports the Touchpad : is it possible to build a version supporting the Touchpad ?

gbc4nspire cannot just be "built", as the source code has been lost.  The only way to adapt it to work on newer versions of Ndless would be to hex-edit it, which is a very tedious task.
Title: Re: TI-Nspire GB Emulator
Post by: Tuxpp on March 06, 2011, 11:10:47 am
And there is no other GB emulator for the Nspire ?
Title: Re: TI-Nspire GB Emulator
Post by: apcalc on March 06, 2011, 11:54:30 am
And there is no other GB emulator for the Nspire ?

Nope, gbc4nspire is the only one.
Title: Re: TI-Nspire GB Emulator
Post by: coolrudski on March 07, 2011, 08:03:31 pm
Speaking of emulators who was the creator of the NESpire? I was thinking to continue the work and work onto getting a true NES emulator on top of the GBC emulator, since NESpire hasnt been worked on for a while...
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on March 07, 2011, 10:20:27 pm
Goplat was the author of NESpire, but I don't know his future plans for it. You would need to PM or e-mail him to ask.
Title: Re: TI-Nspire GB Emulator
Post by: vsilvar on March 12, 2011, 10:08:52 am
This is awesome. It's a shame that the touchpad version doesn't have the controls to save/load state to file :\
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on March 13, 2011, 01:05:49 am
Heya and welcome on the forums. As for TOuchpad controls I think a version was uploaded somewhere but I forgot the link. I'm not sure if it had touchpad controls, though.
Title: Re: TI-Nspire GB Emulator
Post by: momrocker on March 13, 2011, 01:06:58 am
Mrakoplaz re-did the controls so they work with the touchpad layout. They replace the arrow key controls with numpad keys for the directions and such... I'll find a link

EDIT: http://ourl.ca/3840/166688
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on March 13, 2011, 01:08:57 am
Actually this project is by Calc84maniac and Goplat ported it to Ndless 1.7. Do you mean Mraklopaz actually ported it to the Touchpad?
Title: Re: TI-Nspire GB Emulator
Post by: momrocker on March 13, 2011, 01:16:04 am
Yeah, he did some assembly work and changed the layout to work with the touchpad.

BTW, his name is spelled Mrakoplaz :P I have seen you spell it wrong before and just wanted to tell you ;D
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on March 13, 2011, 01:20:48 am
Ah ok :D. And yeah his nick is a bit hard to spell to be fair XD. It reminds me Kllrnohj nickname on Cemetech, it took me 2 years to get it right. XD
Title: Re: TI-Nspire GB Emulator
Post by: momrocker on March 13, 2011, 01:21:30 am
No worries, bro, just telling you :P
Title: Re: TI-Nspire GB Emulator
Post by: vsilvar on March 13, 2011, 03:16:41 pm
Thank you for the link momrocker :P
Title: Re: TI-Nspire GB Emulator
Post by: critor on April 10, 2011, 05:41:53 pm
Since I don't have a Clickpad, I've hacked around a bit in assembly to make this great program work with the Touchpad - it's a really really ugly hack, and the ROM selection screen is still broken (always selects the first ROM in the list), but hey, it's better than nothing!

Why is the ROM selection screen broken on the gbc4nspire TouchPad hack?
Title: Re: TI-Nspire GB Emulator
Post by: Munchor on May 01, 2011, 05:46:40 am
This is a bit of a necropost, but I had to tell calc84maniac that gbc4nspire is freaking amazing! It just rocks so much.

Thanks a lot, thanks thanks thanks, AWESOME program, nice job!!!!! ;D
Title: Re: TI-Nspire GB Emulator
Post by: runeazn on August 15, 2011, 09:54:30 am
so the nspire touchpad works like half as you can play only 1 game?
Title: Re: TI-Nspire GB Emulator
Post by: fb39ca4 on August 15, 2011, 01:35:26 pm
Yes, but you can make a directory for each game and put a copy of the emulator in each one.
Title: Re: TI-Nspire GB Emulator
Post by: SirCmpwn on August 15, 2011, 02:15:29 pm
Yes, but you can make a directory for each game and put a copy of the emulator in each one.
This is one of the reasons why I'm always shouting "GBCFOURNSPIRE" at calc84maniac.
Title: Re: TI-Nspire GB Emulator
Post by: runeazn on August 15, 2011, 02:33:57 pm
Yes, but you can make a directory for each game and put a copy of the emulator in each one.

woudlt that take up ver ymuch space anf be full very soon?
They should make a micro sd expansion slot lol

btw how do i go out of it after turning gbc4nspire on?
Title: Re: TI-Nspire GB Emulator
Post by: SirCmpwn on August 15, 2011, 03:16:19 pm
If you don't mind me asking, is English your first language?  We have several subforums in more familiar languages if you wish.  You exit gbc4nspire with the ON key, if I recall correctly.
It would take up more space, but that's something you have to live with.  It doesn't even compare to the space taken up by the ROMs themselves, anyway.
Title: Re: TI-Nspire GB Emulator
Post by: runeazn on August 15, 2011, 03:46:30 pm
If you don't mind me asking, is English your first language?  We have several subforums in more familiar languages if you wish.  You exit gbc4nspire with the ON key, if I recall correctly.
It would take up more space, but that's something you have to live with.  It doesn't even compare to the space taken up by the ROMs themselves, anyway.
yeah true,
sorry that was typing like 3 seconds, as high as possible wpm with a lot of errors..

english isnt no its my third, first is dutch.
Title: Re: TI-Nspire GB Emulator
Post by: fb39ca4 on August 15, 2011, 04:10:30 pm
That sucks, the dutch board got closed recently due to no one using it x.x
Title: Re: TI-Nspire GB Emulator
Post by: SirCmpwn on August 15, 2011, 04:42:58 pm
I suggest Google Translate (http://translate.google.com/) to make your posts more understandable and to avoid appearing immature.
Title: Re: TI-Nspire GB Emulator
Post by: runeazn on August 16, 2011, 06:37:34 pm
I suggest Google Translate (http://translate.google.com/) to make your posts more understandable and to avoid appearing immature.
lol you got minus one from somebody, not me, no seriously.
Anyway I am better than google translate -.-
Title: Re: TI-Nspire GB Emulator
Post by: Eiyeron on August 17, 2011, 05:11:20 am
It's just fantastic, but i don't want  to pay 130€ for a gameboy...
Title: Re: TI-Nspire GB Emulator
Post by: TIfanx1999 on August 17, 2011, 05:59:17 am
I suggest Google Translate (http://translate.google.com/) to make your posts more understandable and to avoid appearing immature.
lol you got minus one from somebody, not me, no seriously.
Anyway I am better than google translate -.-
@runeazn:
This is true, google translate is pretty poor. Your sentences are a bit odd sometimes, but for it being your third language, I'd say you don't do too badly. =)

@Eiyeron: True, I'd imagine most people own them because they were required to get it for a specific math course. The emulator is just a plus for those that do own one. ;)
Title: Re: TI-Nspire GB Emulator
Post by: runeazn on August 17, 2011, 07:19:54 am
http://www.ticalc.org/archives/files/fileinfo/426/42630.html
when i play mario it looks different than that,
my screen get white/vague every time i move very fast so it is unplayable why does the screenshot not do the same?
Title: Re: TI-Nspire GB Emulator
Post by: Levak on August 17, 2011, 07:27:16 am
Thanks to the emulator.

As we said : the problem is the screen, not the program.
Title: Re: TI-Nspire GB Emulator
Post by: runeazn on August 17, 2011, 07:45:59 am
i know the the screen is the problem btu why is the screenshot so good i wondered
Title: Re: TI-Nspire GB Emulator
Post by: Levak on August 17, 2011, 08:24:02 am
i know the the screen is the problem btu why is the screenshot so good i wondered

Animated screenshoots are always made with an emulator. You can't make the same by clicking "unit screen shoot" 10 times a second :p
Title: Re: TI-Nspire GB Emulator
Post by: runeazn on August 17, 2011, 08:58:59 am
oh yeah lol XD
Title: Re: TI-Nspire GB Emulator
Post by: fb39ca4 on August 17, 2011, 01:02:46 pm
Because computer screens (at least the ones that everybody uses nowadays) have very fast response times, usually less than a hundredth of a second. The exact same thing is being sent to the screen on both the calc and the emulator, it is the physical characteristics of the nspire's screen that causes the blurriness. There's nothing we can do about it short of opening up the calc and replacing the screen with a better one.
Title: Re: TI-Nspire GB Emulator
Post by: Darl181 on August 17, 2011, 02:41:16 pm
i know the the screen is the problem btu why is the screenshot so good i wondered
It was played on the computer.  The blur is not emulated, it's just played frame for frame.
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on August 17, 2011, 06:22:28 pm
Hey guys, I just did some hex editing on top of Mrakoplaz's touchpad hack, and I got all the controls to function properly again! :D

ROM select menu:
ESC is quit
8,5 are up,down
ENTER is start rom

Game controls:
4,5,6,8 are arrows
TAB is A
CTRL is B
MENU is START
DEL is SELECT

Emulator controls are the same as clickpad:
ON is exit
+/- is change contrast
Hold x (multiplication) to speed up emulation
ex is save state
10x is load state
Title: Re: TI-Nspire GB Emulator
Post by: SirCmpwn on August 17, 2011, 08:52:02 pm
Well done :)
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on August 18, 2011, 12:46:28 am
Okay, I redact that last version. I started a hex edit from scratch (meaning the clickpad version), and I successfully got full touchpad support! I remapped the keys accordingly:

ROM select menu:
up/down: select rom
click/enter: start rom

Game controls:
touchpad: arrows
doc: A
menu: B
var: START
del: SELECT

Emulator controls:
esc: quit
+/-: change contrast
x (multiplication): hold to remove speed limit
ex: save state
10x: load state
Title: Re: TI-Nspire GB Emulator
Post by: TIfanx1999 on August 18, 2011, 10:02:30 am
Nice work! I saw about this in the IRC logs. Surely you are a wizard of some sort, with all this magical codification and whatnot. ;D
Title: Re: TI-Nspire GB Emulator
Post by: ztrumpet on August 18, 2011, 10:14:00 am
Great job, calc84. ;D  How hard was it to hex edit the mess?
Title: Re: TI-Nspire GB Emulator
Post by: ExtendeD on August 22, 2011, 12:52:13 pm
Great!
Could you edit the first post of the topic (or create a new topic) so that any new user can find this version easily?
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on August 22, 2011, 12:57:48 pm
Great!
Could you edit the first post of the topic (or create a new topic) so that any new user can find this version easily?
Actually, I've found that the way I currently handle the touchpad->dpad conversion is unsatisfactory, so I'll try to improve it (and also add numpad support back in for those who prefer that)
Title: Re: TI-Nspire GB Emulator
Post by: myuusmeow on October 15, 2011, 08:23:40 pm
Hey, sorry to bump this, but has anyone had any luck getting either Mario's Picross or Mario's Picross 2 (Japan only)? I get to the menu but as soon as I try to start a puzzle the whole calculator freezes and I have to pull a battery.

Thanks!
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 04, 2011, 01:05:16 pm
I hex edited a TI-Nspire CX version, check it out! :D

(http://otbp.tifreakware.net/images/HNI_0032.JPG)

(http://otbp.tifreakware.net/images/HNI_0033.JPG)

(http://otbp.tifreakware.net/images/HNI_0034.JPG)

(http://otbp.tifreakware.net/images/HNI_0035.JPG)

(http://otbp.tifreakware.net/images/HNI_0036.JPG)

(http://otbp.tifreakware.net/images/HNI_0037.JPG)

(http://otbp.tifreakware.net/images/HNI_0038.JPG)
Title: Re: TI-Nspire GB Emulator
Post by: Yeong on December 04, 2011, 01:06:07 pm
omfg!
It looks awesome! XD
Title: Re: TI-Nspire GB Emulator
Post by: Hayleia on December 04, 2011, 01:07:20 pm
Oh my god !!!!
nonono, let me rephrase it.
Oh my calc84maniac !!!!
:P jk

This is <no word to explain it>
Title: Re: TI-Nspire GB Emulator
Post by: annoyingcalc on December 04, 2011, 01:08:52 pm
HOLY CRAP I cant wait to play that!
Title: Re: TI-Nspire GB Emulator
Post by: Yeong on December 04, 2011, 01:09:37 pm
now all we need is sound! XD
Title: Re: TI-Nspire GB Emulator
Post by: epic7 on December 04, 2011, 01:10:21 pm
This is for CX ndless?
Title: Re: TI-Nspire GB Emulator
Post by: Xeda112358 on December 04, 2011, 01:10:59 pm
Oh wow O.O Now I want to get one of these things O.O I prefer emulators on hand held devices and this will mean I get to play my Pokémon Yellow version again :3
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 04, 2011, 01:15:27 pm
This is for CX ndless?
Yep, though it's still internal alpha so it's not extremely stable.

Also, the Nspire CX screen makes even the black-and-white games look great since it doesn't blur! Because of that, the CX version of gbc4nspire updates the screen at ~60Hz instead of ~12Hz, so it's a lot smoother too.
Title: Re: TI-Nspire GB Emulator
Post by: Yeong on December 04, 2011, 01:16:14 pm
:O
Now I want the official release of ndless 3. Now.
Title: Re: TI-Nspire GB Emulator
Post by: Mic on December 04, 2011, 01:40:27 pm
Very nice !
Title: Re: TI-Nspire GB Emulator
Post by: ExtendeD on December 04, 2011, 01:59:49 pm
I hex edited a TI-Nspire CX version, check it out! :D
Well done! This mustn't have been easy.
Title: Re: TI-Nspire GB Emulator
Post by: Adriweb on December 04, 2011, 02:01:16 pm
Awesome, congratulations :)
Title: Re: TI-Nspire GB Emulator
Post by: Lionel Debroux on December 04, 2011, 02:07:37 pm
Congratulations :)

How about a brand-new 84+ emulator - or even greater, a 89T emulator ? ;)
Title: Re: TI-Nspire GB Emulator
Post by: apcalc on December 04, 2011, 02:17:30 pm
Beautiful! :)
Title: Re: TI-Nspire GB Emulator
Post by: renatose on December 04, 2011, 02:41:03 pm
Congratulations :)

How about a brand-new 84+ emulator - or even greater, a 89T emulator ? ;)
That would also be great!
Title: Re: TI-Nspire GB Emulator
Post by: Adriweb on December 04, 2011, 02:44:47 pm
Here's a Youtube Video :

Title: Re: TI-Nspire GB Emulator
Post by: renatose on December 04, 2011, 02:50:15 pm
You just made me a torticollis in less than 3 minutes, congratz... joking

Anyways it seems to be working quite nicely!
I wish I had a CX instead of my touchpad... Colours is the future!
Title: Re: TI-Nspire GB Emulator
Post by: alberthrocks on December 04, 2011, 02:51:20 pm
This is some really amazing stuff! Great job, calc84maniac! :D

By the way, we should really hold off on the requests for emulators here... calc84maniac, although he hacked this thing really, really fast, is likely busy with plenty of stuff, and may or may not have the motivation/time to pick up another project. ;) These things are hard to write, so give him some space and time, and don't pester him. :P
Title: Re: TI-Nspire GB Emulator
Post by: Lionel Debroux on December 04, 2011, 02:55:26 pm
Sure, alberthro ;)
Title: Re: TI-Nspire GB Emulator
Post by: Chockosta on December 04, 2011, 02:56:15 pm
So amazing !
Congrats :)
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 04, 2011, 03:14:21 pm
Here's a Youtube Video :



O.O

I would post what I think about this but I would get banned for flooding in all caps with psychedelic smileys.

Anyway question: Will the CX version of the emulator use a higher framerate? I remember the framerate on the old version was lowered only because the old Nspire screen was so blurry that any higher framerate made games unplayable, but the CX barely has any blur at all (I only ever saw it in CubeField and even then it's barely even noticeable). The lack of blur on the CX means you could use the full framerate, right?
Title: Re: TI-Nspire GB Emulator
Post by: Pedreda on December 04, 2011, 04:26:31 pm
guys, i'm new here, and i don't know much about calc programming, can some1 explain to me if this works on the ti-nspire CX (colors) , and what do i need to do to make it work there?
Cuz ndless was made for an os lower than the one on this one, and i thinks it is impossible to downgrade.
Guys, awesome work, making us really like math classes. Thx, really.
Title: Re: TI-Nspire GB Emulator
Post by: renatose on December 04, 2011, 04:29:22 pm
Hi Pedreda, welcome here!

You should read this (http://ourl.ca/143390), ndless for the CX was not yet released.
Title: Re: TI-Nspire GB Emulator
Post by: Pedreda on December 04, 2011, 04:30:33 pm
are there any plans to release it?

i thought it was for the CX, cuz i saw colors in the screenshots...
Title: Re: TI-Nspire GB Emulator
Post by: annoyingcalc on December 04, 2011, 04:31:08 pm
It s for the cx but just not released yet :D
Title: Re: TI-Nspire GB Emulator
Post by: Pedreda on December 04, 2011, 04:33:15 pm
oh, i get it, and that alpha release i think on page 9 or 10, it is for...
Title: Re: TI-Nspire GB Emulator
Post by: Nick on December 04, 2011, 04:36:49 pm
what?? everything goes like suuuuper fast now, i'm quite shocked, but positive xp really nice everyone, keep on going this way! it's amazing, when will it be realeased? or isn't it stable yet (i know you had that question over a billion time but i wanna know :) )
Title: Re: TI-Nspire GB Emulator
Post by: annoyingcalc on December 04, 2011, 04:38:34 pm
I know I want this :P
Title: Re: TI-Nspire GB Emulator
Post by: AzNg0d1030 on December 04, 2011, 09:05:36 pm
Holy moly  :o
This is amazing...  :crazy:
My head just exploded  :banghead:

How long do you estimate before this comes out?
Is it going to be months like I was told about the older Ndlesses...
Title: Re: TI-Nspire GB Emulator
Post by: ztrumpet on December 04, 2011, 09:15:01 pm
Wow, calc84, this is incredible.  Excellent work!
Title: Re: TI-Nspire GB Emulator
Post by: TIfanx1999 on December 04, 2011, 09:16:16 pm
I hex edited a TI-Nspire CX version, check it out! :D

(http://otbp.tifreakware.net/images/HNI_0032.JPG)

(http://otbp.tifreakware.net/images/HNI_0033.JPG)

(http://otbp.tifreakware.net/images/HNI_0034.JPG)

(http://otbp.tifreakware.net/images/HNI_0035.JPG)

(http://otbp.tifreakware.net/images/HNI_0036.JPG)

(http://otbp.tifreakware.net/images/HNI_0037.JPG)

(http://otbp.tifreakware.net/images/HNI_0038.JPG)

O.O

Quoting myself:

Nice work! Surely you are a wizard of some sort, with all this magical codification and whatnot. ;D

O.O

I would post what I think about this but I would get banned for flooding in all caps with psychedelic smileys.

Anyway question: Will the CX version of the emulator use a higher framerate? I remember the framerate on the old version was lowered only because the old Nspire screen was so blurry that any higher framerate made games unplayable, but the CX barely has any blur at all (I only ever saw it in CubeField and even then it's barely even noticeable). The lack of blur on the CX means you could use the full framerate, right?

This is for CX ndless?
Yep, though it's still internal alpha so it's not extremely stable.

Also, the Nspire CX screen makes even the black-and-white games look great since it doesn't blur! Because of that, the CX version of gbc4nspire updates the screen at ~60Hz instead of ~12Hz, so it's a lot smoother too.

This almost makes me want to get a Nspire CX.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 04, 2011, 09:17:05 pm
You should! It's only $194.99 in Canada :D

Seriously though, try checking for cheap ones on Ebay or something. X.x
Title: Re: TI-Nspire GB Emulator
Post by: AzNg0d1030 on December 04, 2011, 09:18:45 pm
You should! It's only $194.99 in Canada :D

Seriously though, try checking for cheap ones on Ebay or something. X.x
Do you want me to put a site where I got mine for 127$?  They ship too.
I don't know if it's allowed to be "advertising" (i guess you could call it that)
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 04, 2011, 09:21:12 pm
It depends. Is that site legit? If so, then I guess it's fine, since many people might want one too.

I know I got my Nspire Clickpad for $90 on ebay plus $40 shipping fees brand new, while in stores over here it was like $169.99 without taxes, but sometimes on Ebay you gotta be careful with damaged screens and stuff.
Title: Re: TI-Nspire GB Emulator
Post by: AzNg0d1030 on December 04, 2011, 09:23:49 pm
For the normal CX $124.50:
http://www.bachcompany.com/product.aspx?ProductID=476

For the CX CAS $127:
http://www.bachcompany.com/product.aspx?ProductID=479

For Terms and Conditions (that has shipping details):
http://www.bachcompany.com/TermsAndConditions.aspx

The site also has other TI and brand calcs as well as overhead projectors, teacher bundles, etc.

I'm only putting this up to help, not to advertise (though it kinda is advertising...)

edit: And for DJ_O: YES it does have Voyage 200s under $200:
http://www.bachcompany.com/product.aspx?ProductID=104  ($166.49)

edit: I got mine here!  I'm a satisfied customer :D
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 04, 2011, 09:26:14 pm
Ok, and you really got no issues with your item, right? Just asking, since I tend to not trust online stores very easily.
Title: Re: TI-Nspire GB Emulator
Post by: AzNg0d1030 on December 06, 2011, 06:20:04 pm
Ok, and you really got no issues with your item, right? Just asking, since I tend to not trust online stores very easily.
Nope, none.
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 06, 2011, 07:34:22 pm
I just tried limiting the GBC's speed to the Nspire CX's screen refresh rate, which seemed to fix all tearing problems. The only issue is that it reduces the gameplay to about 97% speed since the GBC and the CX have slightly differing refresh rates. I think this difference is really quite unnoticeable unless you put the calculator next to another GBC or emulator. Does anybody have objections to this?
Title: Re: TI-Nspire GB Emulator
Post by: annoyingcalc on December 06, 2011, 07:36:08 pm
Not me! Anyways 97% O.O AMAZING
Title: Re: TI-Nspire GB Emulator
Post by: Runer112 on December 06, 2011, 07:49:33 pm
(http://images4.wikia.nocookie.net/__cb20110729174159/marvelvscapcom/images/9/98/Phoenix-wright-objection.jpg)


I believe that a frameskip would be better. The game would run at 100% speed, but every 30th frame or so would be skipped. I believe this is a better solution for a few reasons:

Title: Re: TI-Nspire GB Emulator
Post by: Juju on December 07, 2011, 01:12:44 am
Yeah, pretty much every good emulator out there have configurable frameskipping.
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 07, 2011, 01:42:54 am
Yeah, pretty much every good emulator out there have configurable frameskipping.
Most emulators are designed to run on multiple PC platforms, which all have different specs. Considering gbc4nspire runs at full speed on the TI-Nspire CX, frameskip settings should not be necessary.
Title: Re: TI-Nspire GB Emulator
Post by: Pedreda on December 08, 2011, 06:41:30 pm
don't let this post die, i wanna hear the news!
Title: Re: TI-Nspire GB Emulator
Post by: njaddison on December 08, 2011, 07:54:53 pm
Hey guys, do gbc roms take up alot of space on your nspire?
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 08, 2011, 09:49:29 pm
Game Boy games usually range from 32KB to 1MB, while Game Boy Color games are usually in the 1MB to 4MB range (with some exceptions, of course). The Nspire CX has 100MB of storage space, so you'll be able to fit quite a lot of ROMs on it.
Title: Re: TI-Nspire GB Emulator
Post by: AzNg0d1030 on December 08, 2011, 10:46:31 pm
Game Boy games usually range from 32KB to 1MB, while Game Boy Color games are usually in the 1MB to 4MB range (with some exceptions, of course). The Nspire CX has 100MB of storage space, so you'll be able to fit quite a lot of ROMs on it.
Ohhhhh yesss.... I expect for myself to be taking up all that space >:D
Title: Re: TI-Nspire GB Emulator
Post by: willrandship on December 08, 2011, 11:13:57 pm
I have no objection to the GBCnspire speed management as it currently is. If you need all sorts of fanciful frameskipping and slowdown features, a PC would be a much better option. Also, I feel a slight slowdown is favorable on the nspire, due to its blurry screen. My only complaints are due to the nspire hardware, aside from the extremely minimalistic GUI and not having buttons vs touchpad as an internal option, rather than a recompile.
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 08, 2011, 11:35:58 pm
I have no objection to the GBCnspire speed management as it currently is. If you need all sorts of fanciful frameskipping and slowdown features, a PC would be a much better option. Also, I feel a slight slowdown is favorable on the nspire, due to its blurry screen. My only complaints are due to the nspire hardware, aside from the extremely minimalistic GUI and not having buttons vs touchpad as an internal option, rather than a recompile.
Oh yeah, I could definitely make two button arrangements active at the same time, since there are so many buttons. Therefore, no option needed :D

Also, the Nspire CX screen is not blurry, which is why the new gbc4nspire has no frameskip and I have to worry about tearing. The black-and-white version still has frameskip of 4 to combat the blurriness.
Title: Re: TI-Nspire GB Emulator
Post by: willrandship on December 08, 2011, 11:38:32 pm
it does? I never noticed! (although I can see it now in retrospect :P) Is the frameskip just on rendering or does it also cause input lag?
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 08, 2011, 11:43:36 pm
it does? I never noticed! (although I can see it now in retrospect :P) Is the frameskip just on rendering or does it also cause input lag?
Just rendering. It processes everything internal to the gameboy normally, but only displays every 5th frame.
Title: Re: TI-Nspire GB Emulator
Post by: willrandship on December 08, 2011, 11:57:29 pm
So I can't blame you for my suckage at Link's Awakening then? :( j/k
Title: Re: TI-Nspire GB Emulator
Post by: ExtendeD on December 09, 2011, 07:53:26 am
Is there a specific build for CX? If not are you using Ndless's hwtype() or a custom detection method?
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 09, 2011, 10:37:29 am
It's a specific build. There are already different builds for clickpad and touchpad, and I'm making a separate one for CX, too. It's kind of necessary since I overwrote the GBC rendering code.
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 10, 2011, 02:44:19 pm
I just made a video of my own, featuring Oracle of Ages. :)

Title: Re: TI-Nspire GB Emulator
Post by: Adriweb on December 10, 2011, 02:50:19 pm
Very nice !

Indeed in my video, I didn't about its orientation(portrait)... >.>


(the screen brightness and contrast are so good in the video we can think it's fake lol)
Title: Re: TI-Nspire GB Emulator
Post by: Loulou 54 on December 10, 2011, 02:53:59 pm
OMG GREAT ! Colors are amazing ! :D

You can even play with the touchpad ! :)
Title: Re: TI-Nspire GB Emulator
Post by: AzNg0d1030 on December 10, 2011, 06:07:11 pm
hoohoohooh I see the future!
Title: Re: TI-Nspire GB Emulator
Post by: ExtendeD on December 10, 2011, 08:10:11 pm
Nice :) The CX's screen looks great.
Title: Re: TI-Nspire GB Emulator
Post by: annoyingcalc on December 10, 2011, 08:48:07 pm
/me dies of awe
Title: Re: TI-Nspire GB Emulator
Post by: AzNg0d1030 on December 10, 2011, 08:50:52 pm
/me dies of awe
/me dies from annoyingcalc's annoyingness and from the GB emulator... And CaptainSparklez's skyblock survival vids...
Title: Re: TI-Nspire GB Emulator
Post by: Reo on December 10, 2011, 09:27:14 pm
Not sure if this would be too hard to hex edit, but could we have a keymap that uses BHIJ to move, M as B, and N as A? I feel like it'd be easier to play while holding the calculator in my hand.
Title: Re: TI-Nspire GB Emulator
Post by: annoyingcalc on December 10, 2011, 10:10:29 pm
/me dies of awe
/me CaptainSparklez's skyblock survival vids...
Hey, I sometimes watch his vids, and I Cant wait calc84
Title: Re: TI-Nspire GB Emulator
Post by: AzNg0d1030 on December 10, 2011, 10:13:58 pm
Gogogo Calc84!  If you slow... WE WILL NINJA LOBSTER YOU IN YOUR SLEEP  :ninja:
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 10, 2011, 10:57:59 pm
Oh, and for those who didn't see earlier on IRC, I finally fixed the glitch that caused Link's Awakening DX to crash. It turns out that it was disabling the LCD during scanline rendering, which I thought was utter taboo, but apparently that applies only to the original gameboy. It's perfectly legal on the Game Boy Color. So, when the LCD was enabled again, it would draw the entire gameboy screen starting at the line where the LCD was disabled, overflowing the buffer. So, now I make sure to reset the line pointer to the top of the buffer when the LCD is disabled.
Title: Re: TI-Nspire GB Emulator
Post by: annoyingcalc on December 10, 2011, 11:04:02 pm
Great!
Title: Re: TI-Nspire GB Emulator
Post by: Lionel Debroux on December 11, 2011, 02:54:40 am
Good ;)
Title: Re: TI-Nspire GB Emulator
Post by: njaddison on December 12, 2011, 03:57:12 pm
Guys, has ndless 3.0 been released yet, or is this a dumb question that will get me laughed at?
Title: Re: TI-Nspire GB Emulator
Post by: Lionel Debroux on December 12, 2011, 03:58:56 pm
Ndless 3 hasn't been released yet, and nobody, not even the programmers and testers, knows when it will be released :)
Title: Re: TI-Nspire GB Emulator
Post by: Yeong on December 12, 2011, 07:35:36 pm
actually, I kinda want memory viewer/editor in gbc4nspire for "some" reason. :P
Title: Re: TI-Nspire GB Emulator
Post by: Pedreda on December 15, 2011, 07:00:59 pm
what's new calcul84?
Title: Re: TI-Nspire GB Emulator
Post by: Deep Toaster on December 19, 2011, 05:18:50 pm
Color? How... O.O (Yeah, this is late.)
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 25, 2011, 11:45:58 pm
I really can't wait to try this on my calc lol, especially Zelda Oracle of Ages. I'm glad you could edit the file despite having lost the source code. Is there any blur by the way? I noticed in CubeField there is (although it isn't as bad as on the old grayscale Nspire models).
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 25, 2011, 11:54:26 pm
The LCD response time is very good. There is a small amount of ghosting when tilemaps are scrolling quickly, but it's not too noticeable unless you're looking for it. I didn't notice it until I checked after your post :P
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 26, 2011, 12:00:04 am
Lol ok. I personally only noticed it in Chockosta's Cubefield, for some reasons.
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 29, 2011, 12:58:46 pm
Well, I seem to have solved the framerate issue in the best way possible. I increased the framerate of the TI-Nspire CX LCD to approximately the same speed as the GBC framerate :D

How I went about this was by changing the horizontal update timings. Displaying a scanline consists of back porch, active data, and front porch. TI set the back porch to 38 cycles, and I didn't mess with that because I assume the LCD controller needs time to read in pixels before entering active data. On the other hand, TI set the front porch to 50 cycles, and that period is just waiting around. So I set the front porch to 27 cycles and then the screen updates at about the same rate as the GBC :)
Title: Re: TI-Nspire GB Emulator
Post by: willrandship on December 29, 2011, 01:02:54 pm
Nice job! There really isn't a better solution than running at exactly the right speed, now is there? :P
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 30, 2011, 06:34:54 pm
Good job calc84maniac. :)

By the way will old Nspire models support be maintained? (such as the lower framerate requirement due to blurry screen?)
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on December 30, 2011, 11:46:47 pm
Good job calc84maniac. :)

By the way will old Nspire models support be maintained? (such as the lower framerate requirement due to blurry screen?)
Yes, any emulation fixes I applied to the CX version, I also applied to the clickpad and touchpad versions. The monochrome versions also now use the smoother scaling, as well.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on December 31, 2011, 03:23:07 pm
That's good. :) Also will it be possible to use 2, 4, 6 and 8 for moving around as option? Otherwise it would be great if you could fix the abomination from TI that is touchpad controls, so we are not forced to stop touching the touchpad prior changing directions, making it impossible to play games that requires very quick U-turns and such things like Snake.
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on January 01, 2012, 12:44:37 am
That's good. :) Also will it be possible to use 2, 4, 6 and 8 for moving around as option? Otherwise it would be great if you could fix the abomination from TI that is touchpad controls, so we are not forced to stop touching the touchpad prior changing directions, making it impossible to play games that requires very quick U-turns and such things like Snake.
Actually, I have it as 4, 5, 6, and 8 (since those are positioned more like arrow keys). Also 7 and 9 are diagonal-up, to make it easier to play with just a thumb. As for the touchpad, I directly translate the current position of your finger to a d-pad direction, which works as long as you aren't touching it with multiple fingers. It's still kind of tough to use due to the odd rectangular shape of it, though.
Title: Re: TI-Nspire GB Emulator
Post by: willrandship on January 01, 2012, 03:25:07 am
It's the resistive pad that's really the problem. Is there even a separate button for the section in the middle?

I've been thinking that it really looks like it would do well with a hex dpad using the buttons on the sides, and using the middle as a giant button. Not for gbcnspire, since it's emulating a 4-direction system, but for other games I think that would work well. The clickpads could approximate it since they have diagonals.
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on January 01, 2012, 05:57:34 pm
It's the resistive pad that's really the problem. Is there even a separate button for the section in the middle?

I've been thinking that it really looks like it would do well with a hex dpad using the buttons on the sides, and using the middle as a giant button. Not for gbcnspire, since it's emulating a 4-direction system, but for other games I think that would work well. The clickpads could approximate it since they have diagonals.
The whole thing is one big button, which is really stupid. You get no feedback whatsoever on what direction you're actually pressing (which makes it easy to slip between directions accidentally)
Title: Re: TI-Nspire GB Emulator
Post by: willrandship on January 01, 2012, 07:53:00 pm
Yeah. The clickpad was much better, and the alpha keys were better placed too. Typing on the touchpad is much harder, since the alpha keys on the clickpad were raised and a decent distance apart.
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on January 01, 2012, 08:54:53 pm
Yeah. The clickpad was much better, and the alpha keys were better placed too. Typing on the touchpad is much harder, since the alpha keys on the clickpad were raised and a decent distance apart.
The alpha keys on the clickpad kind of get in the way of everything else, in my opinion.
Title: Re: TI-Nspire GB Emulator
Post by: willrandship on January 01, 2012, 11:29:21 pm
not for me. They felt just the right size. I have narrow fingers tho.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on January 01, 2012, 11:31:40 pm
I personally dislike how both the click and touchpads are in the middle too. it makes it so hard to play games  since we're used to having directional controls to the left or the right x.x
Title: Re: TI-Nspire GB Emulator
Post by: willrandship on January 01, 2012, 11:32:36 pm
I think we can all agree that all of them are inferior to the 83+ keypad. Luckily for us they made that for the nspire too!
Title: Re: TI-Nspire GB Emulator
Post by: Lionel Debroux on January 02, 2012, 01:00:53 am
Yes, in the community, most of the people used to the TI-Z80 and TI-68k keyboards find them superior to either Clickpad or Touchpad keyboards, which both suck for typing a mix of text and numbers :)
Title: Re: TI-Nspire GB Emulator
Post by: willrandship on January 02, 2012, 01:12:16 am
92's keyboard is far away the best one, IMO. Perfect dpad placement, extremely roomy, qwerty keyboard, etc.

It was begging for games.
Title: Re: TI-Nspire GB Emulator
Post by: Lionel Debroux on January 02, 2012, 01:30:53 am
Indeed, it was begging for games. But the 92 / 92 II / 92+ never got as much success in the marketplace as the 89, due to at least the large form factor, and the QWERTY keyboard which forbade its usage in a number of standardized tests around the world.
Title: Re: TI-Nspire GB Emulator
Post by: Jim Bauwens on January 02, 2012, 04:28:53 am
I agree, the 92's formfactor and keylayout was (and still is) perfect.
I would wish for a Nspire with that formfactor, but I know it will not come :P
Title: Re: TI-Nspire GB Emulator
Post by: willrandship on January 02, 2012, 10:40:43 am
Actually, with some hackery I was thinking about making that happen. The way I count it, the clickpad has 79 keys, not including the dpad. The 92 has 76. I can live with 3 keys being missing, considering that one of them is log( and another is x^2, both of which are easily replaced, by either typing log or doing the ^ manually.

This will require either some intense soldering or some awesome cross-calc-communication.
Title: Re: TI-Nspire GB Emulator
Post by: TIfanx1999 on January 02, 2012, 10:43:13 am
That would be really sweet to see something like that come together, but I'd imagine it would be a ton of work. O.O
Title: Re: TI-Nspire GB Emulator
Post by: willrandship on January 02, 2012, 11:14:05 am
It would, in either circumstance :P One requires hours of soldering, while the other requires complicated assembly programming on two separate platforms, neither of which I have programmed on. Plus, I lost my silverlink, so programming the 92 is kind of a lost cause.
Title: Re: TI-Nspire GB Emulator
Post by: annoyingcalc on January 19, 2012, 08:29:54 pm
BUG: Mortal Kombat 4 crashes after about 30 seconds
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on January 19, 2012, 08:31:47 pm
Btw in future versions of gbc4nspire I wonder if you will add color support for old gb games like maybe the GameBoy Player on the Game Cube, or even the Super Game Boy? For example when I load my 1991 cartridge of Metroid II in my Gamecube's GB Player, samus is yellow, walls are blue, etc. I think that device had colors for every game pre-programmed into it, though, because it seemed weird that it could assign colors so well for that game considering the game didn't support colors.

Also bug report: When entering gbc4nspire ROM selection screen for the second time, it selects my ROM automatically without letting me choose. ???
Title: Re: TI-Nspire GB Emulator
Post by: annoyingcalc on January 19, 2012, 08:32:36 pm
Btw in future versions of gbc4nspire I wonder if you will add color support for old gb games like maybe the GameBoy Player on the Game Cube, or even the Super Game Boy? For example when I load my 1991 cartridge of Metroid II in my Gamecube's GB Player, samus is yellow, walls are blue, etc. I think that device had colors for every game pre-programmed into it, though, because it seemed weird that it could assign colors so well for that game considering the game didn't support colors.
the gameboy color interpreted the grayscale
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on January 19, 2012, 09:58:43 pm
Btw in future versions of gbc4nspire I wonder if you will add color support for old gb games like maybe the GameBoy Player on the Game Cube, or even the Super Game Boy? For example when I load my 1991 cartridge of Metroid II in my Gamecube's GB Player, samus is yellow, walls are blue, etc. I think that device had colors for every game pre-programmed into it, though, because it seemed weird that it could assign colors so well for that game considering the game didn't support colors.

Also bug report: When entering gbc4nspire ROM selection screen for the second time, it selects my ROM automatically without letting me choose. ???
Color support for those games won't be very easy because I don't differentiate between sprites and tilemaps when outputting my 4-bit grayscale values. Also, the smooth scaling wouldn't work if I don't map the color values from 0-15 to the corresponding grayscale.

As for the ROM starting glitch, that's because Ndless doesn't make sure you let go of ENTER when starting a program (I suggested this to ExtendeD but he hasn't done so yet). For now, just hit the click button to start gbc4snpire instead of pressing ENTER.
Title: Re: TI-Nspire GB Emulator
Post by: willrandship on January 19, 2012, 10:44:10 pm
couldn't that be avoided by putting such a check in gbc4nspire? in some circumstances it may not be desirable to have such a check in ndless's own loader. Example: I could do a keypad check by checking the activated keycode, since the click and enter buttons are unique on the clickpad and the touchpad.
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on January 19, 2012, 10:47:31 pm
couldn't that be avoided by putting such a check in gbc4nspire? in some circumstances it may not be desirable to have such a check in ndless's own loader. Example: I could do a keypad check by checking the activated keycode, since the click and enter buttons are unique on the clickpad and the touchpad.
The OS already waits until you let go of the click key to open a document (which is why using it prevents this issue in the first place)

Edit: Also, that's an awful way to do keypad detection.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on January 19, 2012, 11:00:27 pm
Weird, I thought there could have been a way like in TI-83+ BASIC, where you just do 0getkey prior the main loop. And I see about the color addition. D:
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on January 19, 2012, 11:03:03 pm
Weird, I thought there could have been a way like in TI-83+ BASIC, where you just do 0getkey prior the main loop. And I see about the color addition. D:
It is certainly possible, but I really don't want to try hex editing that mess again :P
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on January 22, 2012, 02:34:33 am
Suggestion for controls of the new CX version, because the current setup is a bit problematic for people used to TI-84+ gaming:

To exit gbc4nspire, I think you should need to hold down Esc for at least half a second instead of just pressing it to exit instantly. If that is problematic for people who don't read readmes properly, then have it as an option that is saved in the Nspire memory.

This is because on the TI-84 Plus, in most games, shooting, confirm and the main action key is 2nd. On the TI-Nspire keypad, the Esc key is placed exactly where 2nd is on the 84+, if we base ourselves on the d-pad. As a result, when I try shooting in nDoom or confirming in gbc4nspire, I always have the reflex to press the Esc key, accidentally exiting the software by mistake and losing progress.
Title: Re: TI-Nspire GB Emulator
Post by: annoyingcalc on January 22, 2012, 02:39:26 am
I do that way to much because I get confused with nespire's controls
Title: Re: TI-Nspire GB Emulator
Post by: Yeong on January 22, 2012, 02:12:39 pm
Suggestion for controls of the new CX version, because the current setup is a bit problematic for people used to TI-84+ gaming:

To exit gbc4nspire, I think you should need to hold down Esc for at least half a second instead of just pressing it to exit instantly. If that is problematic for people who don't read readmes properly, then have it as an option that is saved in the Nspire memory.

This is because on the TI-84 Plus, in most games, shooting, confirm and the main action key is 2nd. On the TI-Nspire keypad, the Esc key is placed exactly where 2nd is on the 84+, if we base ourselves on the d-pad. As a result, when I try shooting in nDoom or confirming in gbc4nspire, I always have the reflex to press the Esc key, accidentally exiting the software by mistake and losing progress.
That happens to me quite a lot, too. D:
Also, maybe can you change that easter egg color little bit darker?
Title: Re: TI-Nspire GB Emulator
Post by: bisam on January 27, 2012, 02:30:12 pm
Hi, everyone reading this.

I'm here to report a supposed bug of gbc4nspire.

I had a problem while playing "Zelda - Link' awakening". After finishing level 1, you have to save "Bow-wow" from the Moblins. I could do it once and even continue up to half of the level 2. But then, the save seems to have failed since I had to restart from the last save and from now on, each time I try to get to the Moblins lair, the game and the calc freeze just after I beat the first Moblin. Grey and white stripes appear on all screen and only a reset can save you.

Don't know if it is known or even if Gbc4nspire is the cause... but I think it was to be said.

Apart from that, great job from calc84maniac.
Title: Re: TI-Nspire GB Emulator
Post by: AzNg0d1030 on January 27, 2012, 06:16:24 pm
It might be the rom's problem. I have already have had two problems with roms.  One was a mario tennis freeze where the screen botched up and the other is a Super Mario Deluxe where (as i know of so far) world 1-1 when racing boo and world 8-1 (normal world), at the end, random sprites like blocks, goombas, springs, flags, appear littering the screen and you can't get past so it is impossible to beat the level.

Either way, it is possibly a rom issue.  Try finding another rom. 

Sorry if this is against rules, I'm not sure.

Try getting Link's Awakening by searching on Google and search "dope" (i guess)

If this is a violation of rules in any kind, tell me and I'll edit the post or you can edit it.

edit: Is this still a violation?
Title: Re: TI-Nspire GB Emulator
Post by: Darl181 on January 27, 2012, 06:21:15 pm
Indeed, posting links to Rom sites is against the rules.  What you can do, though, is Google ;)

(edited btw)
Title: Re: TI-Nspire GB Emulator
Post by: AzNg0d1030 on January 27, 2012, 10:31:05 pm
Sorry, I'll edit it too.

I edited the where to find.  tell me if it is still a violation
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on January 27, 2012, 11:41:38 pm
Yeah avoid posting ROM links directly or sites exclusively related to console roms or stuff like that. But yeah it's probably a ROM issue. Does the ROM need an header in particular by the way to run in gbc4nspire? I remember some emulators did that.
Title: Re: TI-Nspire GB Emulator
Post by: annoyingcalc on January 28, 2012, 06:32:23 pm
It might be the rom's problem. I have already have had two problems with roms.  One was a mario tennis freeze where the screen botched up and the other is a Super Mario Deluxe where (as i know of so far) world 1-1 when racing boo and world 8-1 (normal world), at the end, random sprites like blocks, goombas, springs, flags, appear littering the screen and you can't get past so it is impossible to beat the level.

Either way, it is possibly a rom issue.  Try finding another rom. 

Sorry if this is against rules, I'm not sure.

Try getting Link's Awakening by searching on Google and search "dope" (i guess)

If this is a violation of rules in any kind, tell me and I'll edit the post or you can edit it.

edit: Is this still a violation?
like my links awakening has unlimited health >_>
Title: Re: TI-Nspire GB Emulator
Post by: Yeong on January 28, 2012, 06:42:06 pm
speaking of ROM issue, Megaman 5 freezes. D:
Title: Re: TI-Nspire GB Emulator
Post by: myuusmeow on January 29, 2012, 03:56:30 pm
Hey, sorry to bump this, but has anyone had any luck getting either Mario's Picross or Mario's Picross 2 (Japan only)? I get to the menu but as soon as I try to start a puzzle the whole calculator freezes and I have to pull a battery.

Thanks!

The new version works with Mario's Picross! I can see my math grade falling now <3
Title: Re: TI-Nspire GB Emulator
Post by: calc84maniac on February 14, 2012, 01:25:30 pm
Have a new version with file associations! http://www.ticalc.org/archives/files/fileinfo/426/42630.html (http://www.ticalc.org/archives/files/fileinfo/426/42630.html)
Title: Re: TI-Nspire GB Emulator
Post by: ExtendeD on February 14, 2012, 01:26:01 pm
Great!
Title: Re: TI-Nspire GB Emulator
Post by: apcalc on February 14, 2012, 03:00:14 pm
Great update calc84! ;)
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on February 14, 2012, 03:04:44 pm
awesome calc84maniac. Is it in sync with the Omnimaga upload? (I think it links to ticalc.org but I forgot)
Title: Re: TI-Nspire GB Emulator
Post by: Hayleia on February 14, 2012, 03:21:31 pm
Yay :D
Great job on hex editing this again !
Just at the time I was going to get Celebi :P

(D: no longer 768 posts)
Title: Re: TI-Nspire GB Emulator
Post by: Torio on September 15, 2013, 06:44:47 am
Hello,
I'm playing Pokemon Crystal with the emulator but the game time doesn't move : even when I'm playing the time is stuck to 8:44AM.
Is that normal ? Is there a way to change the time, because I can't catch night Pokemons ?

Thank you in advance !
Title: Re: TI-Nspire GB Emulator
Post by: ElementCoder on September 15, 2013, 10:08:11 am
Yay necropost :P
I have had the same problem and after some searcing I think I found the cause:
"The energy left in the battery - the time you set in the game when you start= the time in your game, but since this is a rom, it doesn't have the battery, so no subtraction." So unless you can patch the ROM in some way, I don't think you can get time to work.
Title: Re: TI-Nspire GB Emulator
Post by: Xeda112358 on September 15, 2013, 11:26:15 am
I played Pokémon Gold and occasionally, the time actually went backwards. I found that if I corrupted the file a little (exiting in the middle of a save), the data would be fine, but there would be an option to reset the time (so I set it to 6:01 PM and that is how I figured out that time travels backwards). As well, opening certain menus or doing some other events appears to change the day. For example, opening the Pokégear and using left or right to go to the other options will move the day forward by 2 days (it is actually more like 9 days or more, but the net effect is two days and the week changes so you can do the lotto thing). It feels kind of like cheating to do this, but since there is no other way to actually change the time, it is needed for some parts of the game.
Title: Re: TI-Nspire GB Emulator
Post by: DJ Omnimaga on September 15, 2013, 02:36:21 pm
Does this happen in every emulator too by the way or are there some that have exceptions that emulates cartridge battery features as well?
Title: Re: TI-Nspire GB Emulator
Post by: TIfanx1999 on September 15, 2013, 02:46:58 pm
@Torio: The pokemon game lets you manually change the time IIRC. I think there is a button sequence you use at the title screen. Since the emulator doesn't support the battery, you'd have to change it manually every time you want a different time of day. *edit* it's hold the down arrow, b button, and select for pokemon gold and silver. It appears to have changed or been removed for Crystal. I don't remember. You can try looking it up.
Title: Re: TI-Nspire GB Emulator
Post by: Streetwalrus on September 15, 2013, 02:50:52 pm
A lot of emulators have battery emulation. I guess it's just a limitation if this one.
Title: Re: TI-Nspire GB Emulator
Post by: TIfanx1999 on September 15, 2013, 02:59:30 pm
It could be added, but I think the source was lost on this project. That makes it a pretty big PITA to edit it unfortunately. :/