maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   DGen Sega Genesis Emulator (https://talk.maemo.org/showthread.php?t=9891)

ArnimS 2007-09-19 23:06

DGen Sega Genesis Emulator
 
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

Re: DGen Sega Genesis Emulator
 
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

Re: DGen Sega Genesis Emulator
 
ArnimS, when are you going to get around to running your own repository already!?!?!?!?

yabbas 2007-09-20 03:29

Re: DGen Sega Genesis Emulator
 
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

Re: DGen Sega Genesis Emulator
 
Quote:

Originally Posted by DynaMight (Post 76534)
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

Re: DGen Sega Genesis Emulator
 
Stick the picodrive sources up and I'll see if I ave the time to sort things out.

DynaMight 2007-09-22 11:30

Re: DGen Sega Genesis Emulator
 
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

Re: DGen Sega Genesis Emulator
 
Quote:

Originally Posted by yabbas (Post 77047)
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

Re: DGen Sega Genesis Emulator
 
Quote:

Originally Posted by ArnimS (Post 76531)
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

Re: DGen Sega Genesis Emulator
 
Quote:

Originally Posted by osmiley99 (Post 315982)
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

Re: DGen Sega Genesis Emulator
 
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

Re: DGen Sega Genesis Emulator
 
Quote:

Originally Posted by osmiley99 (Post 318101)
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

Re: DGen Sega Genesis Emulator
 
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

Re: DGen Sega Genesis Emulator
 
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

Re: DGen Sega Genesis Emulator
 
Quote:

Originally Posted by DarkAlexander (Post 449803)
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

Re: DGen Sega Genesis Emulator
 
Quote:

Originally Posted by mas5acre (Post 450364)
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

Re: DGen Sega Genesis Emulator
 
just checked my psp files, try ROMNAME.bin

DarkAlexander 2010-01-03 17:59

Re: DGen Sega Genesis Emulator
 
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

Re: DGen Sega Genesis Emulator
 
which phone are you using?

DarkAlexander 2010-01-03 23:24

Re: DGen Sega Genesis Emulator
 
Nokia n900!

HtheB 2010-01-04 01:01

Re: DGen Sega Genesis Emulator
 
please read the first topic date... this wasn't even for the N900...

=_=

DarkAlexander 2010-01-04 15:27

Re: DGen Sega Genesis Emulator
 
Ops... :)
Sorry! Do u know if exist a Sega Genesis Emulatore on N900?

HtheB 2010-01-04 20:58

Re: DGen Sega Genesis Emulator
 
there is no one (yet)

I hope someone ports PicoDrive though.

ArnimS 2010-02-02 04:46

Re: DGen Sega Genesis Emulator
 
1 Attachment(s)
Quote:

Originally Posted by DarkAlexander (Post 452601)
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
Code:

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/+s...en/+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

Re: DGen Sega Genesis Emulator
 
Quote:

Originally Posted by ArnimS (Post 506254)
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
Code:

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/+s...en/+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

Re: DGen Sega Genesis Emulator
 
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

Re: DGen Sega Genesis Emulator
 
Quote:

Originally Posted by alexreed88 (Post 507298)
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

Re: DGen Sega Genesis Emulator
 
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

Re: DGen Sega Genesis Emulator
 
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

Re: DGen Sega Genesis Emulator
 
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

Re: DGen Sega Genesis Emulator
 
I always get the can not load rome file error

Bazza 2012-12-19 19:38

Re: DGen Sega Genesis Emulator
 
Quote:

Originally Posted by unoace (Post 1305978)
I always get the can not load rome file error

This is the emulator you need to use picodrive


All times are GMT. The time now is 00:30.

vBulletin® Version 3.8.8