gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > TI-92 Emu for the DS?

#170783 - cornaljoe - Tue Oct 20, 2009 5:56 pm

I've always wondered if one was possible, but figured it wasn't since no one released one. Jim e the creator of WabbitDS has made the most impressive calc emu for the DS to date. ZX-81 the creator of the TI-92 emu for varies systems including the PSP, GP2X, and A320. I'm in the process of contacting both of these programmers to get their insight on such a project. Hopefully they will be of great help in the development. I have some coding experience and would love to learn more. Anyone interested in helping?

#170789 - hacker013 - Tue Oct 20, 2009 10:08 pm

I don't think the nds is powerfull enough for that
_________________
Website / Blog

Let the nds be with you.

#170793 - Dwedit - Wed Oct 21, 2009 12:41 am

Dare to compare:

Sega Genesis: 7.67 MHz Motorola 68000
Neo Geo: 12 MHz Motorola 68000
TI-92: 10 MHz Motorola 68000

And the Sega Genesis and Neo Geo are emulated on the NDS already.
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."

#170800 - cornaljoe - Wed Oct 21, 2009 3:51 am

Well, I've spoken with ZX-81 and he would be glad to help. He explained it's possible but will probably run slow compared to the other systems he ported it to.

#170925 - Exophase - Mon Oct 26, 2009 9:07 pm

cornaljoe, tell Zx-81 that he should try using Cyclone to emulate 68k. For that matter, the modified version included with NeoDS:

http://neods.googlegroups.com/web/NeoDs020.zip?gda=MGmu6j4AAADV7xNj8GgeLjJoZ7tK6ncBPTI_gP5BtZuhpqrAVmbdB82AbyHzYVrTW7imGHbd75PjsKXVs-X7bdXZc5buSfmx

That should be pretty fast.

#170929 - Dwedit - Mon Oct 26, 2009 11:35 pm

Does JenesisDS have an ASM 68K core? Any way to get at that?
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."

#170949 - Exophase - Tue Oct 27, 2009 4:12 pm

Dwedit wrote:
Does JenesisDS have an ASM 68K core? Any way to get at that?


It does have an ARM 68k core. It will not be possible to obtain it.

While it's faster than Cyclone it contains more Genesis specific integration so it would be more work to adapt anyway. jEnesisDS does a lot more than just 68k on the ARM9 alone, including z80 emulation and graphics conversion involving HIRQs. The cost of emulating non-68k components on the TI-92 should be a lot less, and besides, if it falls outside of real time speed when it's busy doing heavy processing you probably would barely even notice.

I think Cyclone will be pretty sufficient for this project. Some additional work can be done to inline the memory handlers or whatever. The TI-92 memory map is pretty simple and most non-instruction accesses probably go to RAM so a quick upper bounds check can determine if an access is in range. The only slightly more costly thing would be emulating the stack overflow protection, but I doubt that's even necessary.

#170989 - cornaljoe - Wed Oct 28, 2009 5:43 am

I don't think ZX-81 can port it himself. He just said he can help as he is busy porting his apps to the A320. I guess regarding any question on his code. I'll run this by him or just give him the link to this thread so he can drop by. Thanks guys for the help. I may give it a go myself but it won't be for awhile as I have alot to learn.

#170994 - zx-81 - Wed Oct 28, 2009 8:58 am

cornaljoe wrote:
I don't think ZX-81 can port it himself. He just said he can help as he is busy porting his apps to the A320. I guess regarding any question on his code. I'll run this by him or just give him the link to this thread so he can drop by. Thanks guys for the help. I may give it a go myself but it won't be for awhile as I have alot to learn.


Yep, i won't port it myself :). I'm too busy with Dingoo, Gp2X-F100 and Wiz for the moment. About the TI-92 emu, you just need to rewrite the UI to match NDS geometry etc ... The 68k emulation part would be slow of course on a DS, but it's a calculator emulator so no need to have 60 fps :D. It would be a bit slow for sure, but it should be usable.

You can also take the original source project (Xtiger) and apply the fix i've done in the 68k part (it was buggy for several instructions of the 68k).