PDA

View Full Version : DGen Sega Genesis Emulator


ArnimS
2007-09-19, 23:06
There are a few casual/slow games (RPGs, Puzzles) for Genesis, so why not build an emulator?

There are plenty to choose from, but only one is portable enough to build in maemo out-of-box, and that's...

http://pupnik.de/dgen_n770_pstar2.jpg

http://pupnik.de/dgen.html

It's fully open-source. Give it a shot and post results here. Install from file with app-manager (it2006) or dpkg -i (it2007/bora).

Start it from the terminal with dgen <romname> or create a shortcut with load-applet run or osso-statusbar-cpu applets.

To preempt the obvious questions, no, "gens" isn't going to be ported by me - it uses x86 assembly instructions. "Generator" might work someday, but it's barfing-up make-errors of a strange and mysterious kind.

If it's too slow for you, you're not drinking enough beer.

Cheers!

DynaMight
2007-09-19, 23:31
Someone needs to port PicoDrive, I used to run a port on my 100Mhz Nokia 6600, ran more than quickly enough. It's designed for ARM. GP2X version is perfect in almost every way, inc MegaCD.

iball
2007-09-20, 02:57
ArnimS, when are you going to get around to running your own repository already!?!?!?!?

yabbas
2007-09-20, 03:29
Great work arnims. Not yet tried it though, but it's installed and ready to run *cough* "backups" when I get hold of a few.

ArnimS
2007-09-21, 00:33
Someone needs to port PicoDrive, I used to run a port on my 100Mhz Nokia 6600, ran more than quickly enough. It's designed for ARM. GP2X version is perfect in almost every way, inc MegaCD.

Yeah that'd probably be the best genesis emu for the 770. I spent about 33 hours hacking at it back in May, 2007 and didn't get a buildable version. So i'm pretty burned out.

Got generator compiled, thanks to a patched version discovered by unique311, but it just yields black screen and there is a build error that might become critical. If anyone is interested, i can put sources up.

And of course i can put the partially-ported picodrive sources up too, if someone is serious about working on it.

The genesis just isn't so high on my list because the fast games would require better dpad and RHS keys. The RPGs for it are not comparable in quality to the SNES imo, so ... anyway...

yabbas
2007-09-22, 09:28
Stick the picodrive sources up and I'll see if I ave the time to sort things out.

DynaMight
2007-09-22, 11:30
Source to the original is here: http://www.finalburn.com/mobile/source.html

Modified GP2X version is here: http://notaz.gp2x.de/pico.php

It's been ported to many other platforms too.

ArnimS
2007-09-28, 01:19
Stick the picodrive sources up and I'll see if I ave the time to sort things out.

http://pupnik.de/PicoDriveBroken.tgz

(edit) I think this would be more worthwhile though...

http://pupnik.de/DrPocketSnes_Nokia_The_Horror.tgz

osmiley99
2009-08-27, 01:24
There are a few casual/slow games (RPGs, Puzzles) for Genesis, so why not build an emulator?

There are plenty to choose from, but only one is portable enough to build in maemo out-of-box, and that's...

http://pupnik.de/dgen_n770_pstar2.jpg

http://pupnik.de/dgen.html

It's fully open-source. Give it a shot and post results here. Install from file with app-manager (it2006) or dpkg -i (it2007/bora).

Start it from the terminal with dgen <romname> or create a shortcut with load-applet run or osso-statusbar-cpu applets.

To preempt the obvious questions, no, "gens" isn't going to be ported by me - it uses x86 assembly instructions. "Generator" might work someday, but it's barfing-up make-errors of a strange and mysterious kind.

If it's too slow for you, you're not drinking enough beer.

Cheers!

i started it on xterminal but it says error, any advice?

JayOnThaBeat
2009-08-27, 01:32
i started it on xterminal but it says error, any advice?

And the Vagueness Award goes to...............








(nothing personal, just in a sour mood)

You should probably clarify as much as you can.

osmiley99
2009-08-29, 23:50
I downloaded the dgen application for my n800, After that I open it in xterminal by typing dgen, the xterminal does recgonize the dgen application, which causes it to pop up on the xterminal. But the thing is I cant do nothing with the dgen, i cant open up files to play the sega roms, its just a black screen that says dgen 1.23. do you know how i can get the dgen application to function like the vgb, ines, and mg emulators on n800?

JayOnThaBeat
2009-08-30, 00:11
I downloaded the dgen application for my n800, After that I open it in xterminal by typing dgen, the xterminal does recgonize the dgen application, which causes it to pop up on the xterminal. But the thing is I cant do nothing with the dgen, i cant open up files to play the sega roms, its just a black screen that says dgen 1.23. do you know how i can get the dgen application to function like the vgb, ines, and mg emulators on n800?

This emulator is barely functional.

Eventually, perhaps, someone will optimize it, but right now 5fps won't run anything worthwhile.

All of this was explained in this thread and in the links provided.

samipower
2009-10-15, 23:13
ArnimS hello i have a emulator nintendo 64, you could improve it here is the link http://rapidshare.com/files/293487705/nintendo_64.rar

DarkAlexander
2010-01-02, 13:01
Mmh... I think I'm doing something wrong... :)
I download the "boogerman" rom, and put it in a folder called "prova". Then i installed DGEN and write on X Terminal:

dgen boogerman.smd

But the answer was "Couldn't load ROM file boogerman.smd!"

So i try with

dgen boogerman
dgen prova/boogerman.smd
dgen prova/boogerman

But... Nothing. Always the same answer...!
So i thinked the rom wasn't good, and download another rom. This time the rom was a .bin file (i don't know why) and i try with it but... Always nothing.

What can u say me?
I wait for your wisdom answers!! ;)

Ps
Please, forgive my bad english, i'm only a stupid italian guy. :)

mas5acre
2010-01-02, 21:53
Mmh... I think I'm doing something wrong... :)
I download the "boogerman" rom, and put it in a folder called "prova". Then i installed DGEN and write on X Terminal:

dgen boogerman.smd

But the answer was "Couldn't load ROM file boogerman.smd!"

So i try with

dgen boogerman
dgen prova/boogerman.smd
dgen prova/boogerman

But... Nothing. Always the same answer...!
So i thinked the rom wasn't good, and download another rom. This time the rom was a .bin file (i don't know why) and i try with it but... Always nothing.

What can u say me?
I wait for your wisdom answers!! ;)

Ps
Please, forgive my bad english, i'm only a stupid italian guy. :)

try renaming the file from ROMNAME.smd to ROMNAME.gen.

DarkAlexander
2010-01-03, 01:57
try renaming the file from ROMNAME.smd to ROMNAME.gen.

Nothing... Always the same problem... What can i do?

mas5acre
2010-01-03, 02:21
just checked my psp files, try ROMNAME.bin

DarkAlexander
2010-01-03, 17:59
i already try with a .bin extension... But nothing. :(
Always "Couldn't load ROM file boogerman.bin!"
I try with different rom, but nothing...!! What can i do?
I really want to try this emulator! :)

HtheB
2010-01-03, 19:06
which phone are you using?

DarkAlexander
2010-01-03, 23:24
Nokia n900!

HtheB
2010-01-04, 01:01
please read the first topic date... this wasn't even for the N900...

=_=

DarkAlexander
2010-01-04, 15:27
Ops... :)
Sorry! Do u know if exist a Sega Genesis Emulatore on N900?

HtheB
2010-01-04, 20:58
there is no one (yet)

I hope someone ports PicoDrive though.

ArnimS
2010-02-02, 04:46
Ops... :)
Sorry! Do u know if exist a Sega Genesis Emulatore on N900?

export CFLAGS="-mfpu=neon -ffast-math -ftree-vectorize -mcpu=cortex-a8 -mfloat-abi=softfp -Os -fstrict-aliasing"

(add -g for debug info)

./configure --without-opengl --without-nasm --without-mmx --without-star

make clean
make

-rwxrwxr-x 1 maemo maemo 735400 Feb 2 05:42 dgen

----------------------------------

Starting program: /usr/bin/dgen /home/user/MyDocs/games/genesis/xxxxx.smd

Program received signal SIGSEGV, Segmentation fault.
0x00072b70 in mz80exec (dwCycles=<value optimized out>) at zz80.c:16807
16807 zz80.c: No such file or directory.
in zz80.c
(gdb) bt
#0 0x00072b70 in mz80exec (dwCycles=<value optimized out>) at zz80.c:16807
#1 0x0000c328 in md::one_frame_musa(bmap*, unsigned char*, sndinfo*) ()
#2 0x0000c708 in md::one_frame(bmap*, unsigned char*, sndinfo*) ()
#3 0x00016550 in main ()

-----------------------------------
see: https://bugs.launchpad.net/ubuntu/+source/dgen/+bug/131281
-----------------------------------
attached dgen binary built for n900 -- looks like that z80 core is still doing some unportable things that i really am not qualified to fix. but you *could* try a few roms, one does work :)

alexreed88
2010-02-02, 18:47
export CFLAGS="-mfpu=neon -ffast-math -ftree-vectorize -mcpu=cortex-a8 -mfloat-abi=softfp -Os -fstrict-aliasing"

(add -g for debug info)

./configure --without-opengl --without-nasm --without-mmx --without-star

make clean
make

-rwxrwxr-x 1 maemo maemo 735400 Feb 2 05:42 dgen

----------------------------------

Starting program: /usr/bin/dgen /home/user/MyDocs/games/genesis/xxxxx.smd

Program received signal SIGSEGV, Segmentation fault.
0x00072b70 in mz80exec (dwCycles=<value optimized out>) at zz80.c:16807
16807 zz80.c: No such file or directory.
in zz80.c
(gdb) bt
#0 0x00072b70 in mz80exec (dwCycles=<value optimized out>) at zz80.c:16807
#1 0x0000c328 in md::one_frame_musa(bmap*, unsigned char*, sndinfo*) ()
#2 0x0000c708 in md::one_frame(bmap*, unsigned char*, sndinfo*) ()
#3 0x00016550 in main ()

-----------------------------------
see: https://bugs.launchpad.net/ubuntu/+source/dgen/+bug/131281
-----------------------------------
attached dgen binary built for n900 -- looks like that z80 core is still doing some unportable things that i really am not qualified to fix. but you *could* try a few roms, one does work :)


being a linux noob, im not really sure what to do with the .gz files. do you install it? or is it for compiling..

also..i implore you..to anybody that knows how to help him with this project..please do so...because theres no emu tht i want more than the genesis one. id even pay for a copy..

scuddy
2010-02-20, 10:05
I agree Ive got the snes, ines and mastergear on my n900 but the megadrive is the one I really want as I had one when I was a kid. wish I knew enough about Linux to port it myself

cddiede
2010-02-20, 11:33
being a linux noob, im not really sure what to do with the .gz files. do you install it? or is it for compiling..

also..i implore you..to anybody that knows how to help him with this project..please do so...because theres no emu tht i want more than the genesis one. id even pay for a copy..

A .gz file extension indicates that the target is a single GZIP compressed file.

Try extracting it with the terminal using:

gzip -d dgen.gz

You would then have to execute it in the terminal:

If the dgen file was uncompressed to the top level of your memory card and you had a ROM called alteredbeast.smd there also, you would type:

/media/mmc1/dgen /media/mmc1/alteredbeast.smd

(please note the single space between dgen and /media)

scorpio16v
2010-02-20, 17:41
The only success that i had, was to see the SEGA logo for a second. :o
Seems, there are some compatibility problems, like Arnim remarked.
Anyone knows a working ROM for testing ?

RDK
2010-02-24, 18:52
I'll bum the person to get a working genesis/megadrive emu.

If I knew anything about coding/linux etc, I'd spend my life trying to get it to work, but I don't so I fail. Lol

Good luck sirs!

cjsegninir
2010-03-01, 18:18
I want a Sega Genesis/Mega Drive emulator too!

If somebody with C/C++, Pascal and Delphi experience can do something to help, send me a PM. However, I'm a total Linux Noob...

Cheers,

unoace
2012-12-19, 07:54
I always get the can not load rome file error

Bazza
2012-12-19, 19:38
I always get the can not load rome file error

This is the emulator you need to use picodrive (http://maemo.org/downloads/search/application.html?org_openpsa_products_search[1][property]=title&org_openpsa_products_search[1][constraint]=LIKE&org_openpsa_products_search[1][value]=pico&org_openpsa_products_search[2][property]=os&org_openpsa_products_search[2][constraint]=LIKE&org_openpsa_products_search[2][value]=Maemo5&fetch=Search)