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 > Are there DS emulators that run under Linux?

#74430 - Chris Holmes - Sun Mar 05, 2006 4:01 am

I've been rummaging around the different emualtors for the DS, and at the moment, it seems that all the emulators are built only for Windows.

Some of the emulators post their source code (DSEmu), and it seems that some don't (Ideas as far as I could find). Ideally, there would be a DS emulator that runs under Linux, but if there isn't, are there any emulators that would not be difficult to modify to use SDL or OpenGL so as to port them over to Linux?

Thanks,
Chris

#74432 - tepples - Sun Mar 05, 2006 4:18 am

Have you tried wine?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#74479 - TJ - Sun Mar 05, 2006 11:26 am

iDeaS runs pretty well under WINE, but it is no substitute for a legitimate Linux port.

#74480 - doublec - Sun Mar 05, 2006 11:26 am

Hi Chris, there has been some interest in getting things going under Linux but no one has really looked into it yet. Two major stumbling blocks:

1) Inline assembly. This would need to be converted to C or a format suitable for gcc.
2) Windows GUI. This would need to be converted to an open source framework.

dsemu-ng, by Imran, was a start a redeveloping dsemu to be cross platform. It currently builds and runs under Windows, OS X and Linux and I'd like to one day merge this into the dsemu tree to get cross platform support. The source to dsemu-ng is available from:

http://www.dsemu.org

In the meantime, dsemu runs under wine. As does dualis I believe.

#74526 - derula - Sun Mar 05, 2006 5:34 pm

Lol, as I read parts of this thread, it suddenly appeared to me what about running iDeaS through wine on DSLinux? I leave that philosophical question open for you to discuss about :]

#74535 - Mr. Picklesworth - Sun Mar 05, 2006 7:27 pm

Quote:
I leave that philosophical question open for you to discuss about :]


EEEEWW!!!!!
Discussion closed.
_________________
Thanks!
MKDS Friend Code: 511165-679586
MP:H Friend Code: 2105 2377 6896

#74663 - HyperHacker - Mon Mar 06, 2006 9:57 pm

First you would have to get Wine running on DSLinux. Then you'd have to somehow have enough RAM to run iDeaS in it. Then if it did work it'd be ridiculously slow.

Any more ideas? ;-)

#74669 - JaJa - Mon Mar 06, 2006 10:25 pm

Not sure whether anyone has noticed but X86 DLL's that Windows and Wine use won't run on an ARM processor.

Remember Wine Is Not an Emulator!
It is an API style thing.

#74722 - snowsquirrel - Tue Mar 07, 2006 3:33 am

I downloaded the linux version from here: http://www.ndsemulator.com/nintendo-ds/ideas-download.htm.

But when I fire it up, I get no output, no screen, nothing. I don't even get a crash. I am not sure what is wrong. If anyone has this working, I would love to here it.

I have tried ./ideas, and ./ideas myrom.nds and I get the same results with both... nothing.

I was kind of hoping to get further into my project, before actually buying a DS...

~S

#74788 - derula - Tue Mar 07, 2006 6:38 pm

JaJa wrote:
Not sure whether anyone has noticed but X86 DLL's that Windows and Wine use won't run on an ARM processor.

Remember Wine Is Not an Emulator!
It is an API style thing.


What about reverse engeneering the DLLs to let them compile for ARM architecture?

...

Okay, I'm already shutting up.

...

No I just have to: what if you would run windows under ds linux through a real emulator (is there one running under linux? if not, someone would have to code it) and then let it run iDeaS? >.<

No, I don't think that this is possible somehow... it would just be so absolutely paradox that I just had to follow that nerdy thought ;)

#74927 - tepples - Wed Mar 08, 2006 10:33 pm

You'd have to use an external RAM pack (such as the one built into SuperCard or M3) to hold the state of the emulated system, and then you wouldn't be able to run programs that use GBFS or EXFS, and it would be unusably slow.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.