Omnimaga

General Discussion => Technology and Development => Gaming Discussion => Topic started by: Dudeman313 on January 05, 2016, 09:04:34 pm

Title: Game Boy Emulator Games for TI-84+ (Non-Silver Edition)?
Post by: Dudeman313 on January 05, 2016, 09:04:34 pm
Help! I'm looking for any good TI Boy Games that will fit in a TI 84+, the version that was created last year. Do they exist, or is there some other way to increase my RAM so I can at least play Gemini or Robot Wars?
Title: Re: Game Boy Emulator Games for TI-84+ (Non-Silver Edition)?
Post by: Runer112 on January 06, 2016, 06:48:54 pm
Unfortunately, many of the "best" Game Boy games (ex. Pokemon, Link's Awakening) are too large to fit on a TI-84+. You'd really just have to use trial and error, finding ROMs for games that interest you and checking that they're 256KB or smaller. Metroid II and Super Mario Land are possibilities.

As for freeing up RAM: archive all the things, and use a shell such as DoorsCS or zStart to run archived programs. If everything is archived and you don't have any random stuff hanging around in RAM (might want to RAM clear after archiving everything you want to save), you should have enough RAM for just about any game.
Title: Re: Game Boy Emulator Games for TI-84+ (Non-Silver Edition)?
Post by: Dudeman313 on January 07, 2016, 05:24:55 am
Well, I tried backing up my calc and using Doors CS to run Gemini, but I still got a memory error. All of my data had been cleared but these.
Title: Re: Game Boy Emulator Games for TI-84+ (Non-Silver Edition)?
Post by: Sorunome on January 09, 2016, 05:05:37 am
If you are very tight on ram you might have to delete some archived programs too, as they use up a few bytes of ram.
Title: Re: Game Boy Emulator Games for TI-84+ (Non-Silver Edition)?
Post by: Dudeman313 on January 09, 2016, 06:58:15 pm
All of my data was completely deleted, ROM & RAM, except for DCS7 & Gemini.
Title: Re: Game Boy Emulator Games for TI-84+ (Non-Silver Edition)?
Post by: Eeems on January 10, 2016, 01:54:37 pm
All of my data was completely deleted, ROM & RAM, except for DCS7 & Gemini.
Did you also do a ram reset?
Title: Re: Game Boy Emulator Games for TI-84+ (Non-Silver Edition)?
Post by: Dudeman313 on January 10, 2016, 02:41:54 pm
Yup.
Several times.
Title: Re: Game Boy Emulator Games for TI-84+ (Non-Silver Edition)?
Post by: Eeems on January 10, 2016, 05:00:55 pm
Yup.
Several times.
You could try removing DCS and using Mirage instead.
Title: Re: Game Boy Emulator Games for TI-84+ (Non-Silver Edition)?
Post by: Sorunome on January 10, 2016, 05:02:13 pm
or remove all the apps as the games themselves don't need a shell to launch iirc?
Title: Re: Game Boy Emulator Games for TI-84+ (Non-Silver Edition)?
Post by: Runer112 on January 10, 2016, 06:44:16 pm
The problem he's having is that Gemini is ridiculously large. On a completely wiped calc, there's only a few hundred bytes of wiggle room of RAM. If you have just a few dozen archived variables, their VAT entries consume these few hundred bytes and you can no longer run Gemini. I remember that I had this problem too, back when I was in school. So, now that I know how, I decided to do something about it.

I dove into the source of Gemini and made a couple of optimizations. Namely, I reduced two trig tables from five quadrants each to just one quadrant each and wrote code to implement the mirroring. But this slowed the program down a bit, so I also took some time to optimize the speed of some core routines until it ran as fast as it used to.

Hopefully I didn't introduce any bugs. I barely tested it, so it's entirely possible. But since you're eager to play the game, you can test it for me! ;)
Title: Re: Game Boy Emulator Games for TI-84+ (Non-Silver Edition)?
Post by: Dudeman313 on January 10, 2016, 07:40:11 pm
Thanks Runer112! Will do!


[Edited 8:03 PM]

Works Perfectly! Thanks!
Title: Re: Game Boy Emulator Games for TI-84+ (Non-Silver Edition)?
Post by: Dudeman313 on January 10, 2016, 08:05:33 pm
You should post that on ticalc.org - for those without SE calculators!
Title: Re: Game Boy Emulator Games for TI-84+ (Non-Silver Edition)?
Post by: TIfanx1999 on January 10, 2016, 08:20:27 pm
The problem he's having is that Gemini is ridiculously large. On a completely wiped calc, there's only a few hundred bytes of wiggle room of RAM. If you have just a few dozen archived variables, their VAT entries consume these few hundred bytes and you can no longer run Gemini. I remember that I had this problem too, back when I was in school. So, now that I know how, I decided to do something about it.

I dove into the source of Gemini and made a couple of optimizations. Namely, I reduced two trig tables from five quadrants each to just one quadrant each and wrote code to implement the mirroring. But this slowed the program down a bit, so I also took some time to optimize the speed of some core routines until it ran as fast as it used to.

Hopefully I didn't introduce any bugs. I barely tested it, so it's entirely possible. But since you're eager to play the game, you can test it for me! ;)

Haha, that's our Runer. :D I'd second posting it on ticalc, (after a bit of testing) licence permitting.
Title: Re: Game Boy Emulator Games for TI-84+ (Non-Silver Edition)?
Post by: Yeong on January 10, 2016, 08:47:17 pm
Haha, that's our Runer. :D
Truly a god of optimization.
Title: Re: Game Boy Emulator Games for TI-84+ (Non-Silver Edition)?
Post by: Dudeman313 on January 10, 2016, 09:14:35 pm
BTW, Runer112, do you think you have time to work your magic on Robot Wars?
Title: Re: Game Boy Emulator Games for TI-84+ (Non-Silver Edition)?
Post by: Runer112 on January 10, 2016, 09:18:27 pm
BTW, Runer112, do you think you have time to work your magic on Robot Wars?

What's Robot Wars? Searching ticalc.org, I could only find a TI-86 game, and a TI-82 game named Robot War.
Title: Re: Game Boy Emulator Games for TI-84+ (Non-Silver Edition)?
Post by: Dudeman313 on January 10, 2016, 09:45:09 pm
Check Cemetech. The 82 game(Project Darkstar) was ported to the 83/84+ and then a sequel was made.

Here's a link to the 1st game in a discussion for the second: https://www.cemetech.net/forum/viewtopic.php?t=10512&start=80

This link will give you the game info: https://www.cemetech.net/forum/viewtopic.php?t=10512

While pasting the last link, I suddenly realized how huge this game is. I understand if you don't have time.
Title: Re: Game Boy Emulator Games for TI-84+ (Non-Silver Edition)?
Post by: Runer112 on January 10, 2016, 09:51:23 pm
Considering the developer is still active, he definitely seems like the person to approach with ideas, not me. :P
Title: Re: Game Boy Emulator Games for TI-84+ (Non-Silver Edition)?
Post by: Dudeman313 on January 10, 2016, 10:07:47 pm
K

Runer112! If you want something to do, see if you can optimize Castlevania: Prelude to Chaos! It's on ticalc.org and also tiwizard.com! It looks awesome, but's about 400 bytes larger than my RAM chip. That'd be great. :)

Edit (Eeems): Merged double post
Title: Re: Game Boy Emulator Games for TI-84+ (Non-Silver Edition)?
Post by: Eeems on January 11, 2016, 06:48:28 pm
Please use the edit button on posts to avoid double posting.
Also, please make the content of your posts more then one character in length.
Title: Re: Game Boy Emulator Games for TI-84+ (Non-Silver Edition)?
Post by: Dudeman313 on January 11, 2016, 08:04:16 pm
Sorry.... :3
Title: Re: Game Boy Emulator Games for TI-84+ (Non-Silver Edition)?
Post by: chickendude on March 03, 2016, 08:11:47 am
I was the one who ported Robot Wars over to the 83+, i've been meaning to optimize it further/possibly just convert it over to an app. If i can get some time this weekend i'll look into it. I may have even started the app port, the code's still sitting on my computer.
Title: Re: Game Boy Emulator Games for TI-84+ (Non-Silver Edition)?
Post by: Dudeman313 on March 03, 2016, 05:13:01 pm
I was the one who ported Robot Wars over to the 83+, i've been meaning to optimize it further/possibly just convert it over to an app. If i can get some time this weekend i'll look into it. I may have even started the app port, the code's still sitting on my computer.
Maybe if you find time(and have the skills :P), you could port Robot Wars to the CE? :3