Interest in Dynarec?
Moderator: Mask of Destiny
-
- Very interested
- Posts: 616
- Joined: Thu Nov 30, 2006 6:30 am
Interest in Dynarec?
I'm thinking about trying to write a dynarec targetting 68K CPUs (the dynarec would run on the 68K not emulate it). Is there any interest in such a project and if so what CPU would you like to see emulated? I'm thinking about trying the 6502 since it has such a simple instruction set, but I'm open to suggestions.
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Re: Interest in Dynarec?
I think it's a very challenging and exciting project ! for me it's enough good reason to start the fun honestly i would love to do something like that but i've many others projects... anyway i'm open for any "philosophical" discuss about it, i'm very interestedMask of Destiny wrote:I'm thinking about trying to write a dynarec targetting 68K CPUs (the dynarec would run on the 68K not emulate it). Is there any interest in such a project and if so what CPU would you like to see emulated? I'm thinking about trying the 6502 since it has such a simple instruction set, but I'm open to suggestions.
-
- Very interested
- Posts: 616
- Joined: Thu Nov 30, 2006 6:30 am
Re: Interest in Dynarec?
Yeah, writing a dynarec has been on my list of cool projects to do for quite some time. I don't necessarily need anyone to want to use it to get motivated for the project. I'm mostly just looking for suggestions on what architecture to emulate.Stef wrote:I think it's a very challenging and exciting project ! for me it's enough good reason to start the funMask of Destiny wrote:I'm thinking about trying to write a dynarec targetting 68K CPUs (the dynarec would run on the 68K not emulate it). Is there any interest in such a project and if so what CPU would you like to see emulated? I'm thinking about trying the 6502 since it has such a simple instruction set, but I'm open to suggestions.
Yeah, I know how that goes.honestly i would love to do something like that but i've many others projects...
I'm curious if anyone knows anything about a new class of dynarecs that instead of pairing an interpretter with a dynarec core, pairs a "fast" dynarec that does no optimization on the converted code and a "slow" optimizing dynarec. Might not really be appropriate for a low memory system like the Sega CD, but interesting none the less.anyway i'm open for any "philosophical" discuss about it, i'm very interested
If I go with the 6502 I'm half tempted to implement 65c816 support at some point. It would be fun to try and get a basic SNES emulator working on the Genesis/Sega CD/32X combo.
Héhé I would be happy to fallow the philosophy too (read it, i mean).
Dynarec means the code conversion is done during the executing process, right?
What is the name of the method that generate a converted executable for the targeted system?
I mean, using a windows applz to convert NES code to GenCode.
Dynarec means the code conversion is done during the executing process, right?
What is the name of the method that generate a converted executable for the targeted system?
I mean, using a windows applz to convert NES code to GenCode.
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Re: Interest in Dynarec?
Well 6502 seems a good choice, very simple instruction, can easily put all register "alive"... also it's used in NES system. I guess it wouls be a lot more fun to see a NES emulator on SegaCD than a SMS emuMask of Destiny wrote: Yeah, writing a dynarec has been on my list of cool projects to do for quite some time. I don't necessarily need anyone to want to use it to get motivated for the project. I'm mostly just looking for suggestions on what architecture to emulate.
I remember sometime ago i wanted to write a 100% dynarec (no interpreter) 68000 emulator for the GBA which has the same (even worst in fact) memory limitation, but we can use the dynarec from ROM which unfortunatly, we can't on the sega CD... or maybe by using the main CPU as the recompiler and the sub CPU as executer ?I'm curious if anyone knows anything about a new class of dynarecs that instead of pairing an interpretter with a dynarec core, pairs a "fast" dynarec that does no optimization on the converted code and a "slow" optimizing dynarec. Might not really be appropriate for a low memory system like the Sega CD, but interesting none the less.anyway i'm open for any "philosophical" discuss about it, i'm very interested
The sega CD offers many possibilities for a dynarec structure
Using an interpreter would be anyway too slow...
It's just impossible to do SNES emulation on genesis/segacd couple, 32X is a must have :pIf I go with the 6502 I'm half tempted to implement 65c816 support at some point. It would be fun to try and get a basic SNES emulator working on the Genesis/Sega CD/32X combo.
Re: Interest in Dynarec?
Did someone ask for me ?Stef wrote:It's just impossible to do SNES emulation on genesis/segacd couple, 32X is a must have :p
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
static compilation ?Fonzie wrote:Héhé I would be happy to fallow the philosophy too (read it, i mean).
Dynarec means the code conversion is done during the executing process, right?
What is the name of the method that generate a converted executable for the targeted system?
I mean, using a windows applz to convert NES code to GenCode.
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Re: Interest in Dynarec?
yep, we need your super VDP to emulate the SNES oneob1 wrote:Did someone ask for me ?Stef wrote:It's just impossible to do SNES emulation on genesis/segacd couple, 32X is a must have :p
-
- Very interested
- Posts: 616
- Joined: Thu Nov 30, 2006 6:30 am
The problem is that it's very difficult to figure out what's data and what's code. For instance, if there's a jumptable it can be difficult to determine what indexes into the table lead to actual code. Self modifying code is a problem as is code that get's copied from one location to another (perhaps copied from ROM to RAM).Fonzie wrote:haha, that's insane ^^...
"static compilation ?"
Ho yeah Static Recompilation
But isn't static recompilation similar to dynarec? It is maybe even more handy?
I really get the recompilation thing but I don't get the advantage of doing it dynamicaly...
Static recompilation works best when the code is compiled from a higher level language (like C) rather than assembly and it's packaged in an object file that makes some attempt at separating data and code.
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
I had the same idea a long time ago. I was thinking about dynarec tech but the GBA strong limitations quickly demotived me.ob1 wrote:OK, I've been thinking about a Genny emulator for the GBA for an hour, turned enthusiastic, really, indeed, and felt in front of this answer from MoD : you can't guess what's code and what's data ...
Oh my !
C U Genny fans.
Maybe somebody should try the DS? Anyways, watch out, there's a SMS/GG emulator for GBA. Runs at about 45 FPS in average, so I guess somebody may want to give a try for a Mega Drive emulator in the DS. Or a SMS/GG one because the resolution in the DS matches the SMS one and you don't have to stretch or scroll as in the GBA version Also it would finally run at full speed.
Sik is pronounced as "seek", not as "sick".
-
- Very interested
- Posts: 81
- Joined: Tue Jul 10, 2007 7:45 pm
- Location: Brazil / USA
- Contact:
There's one emulator called ApprenticeMinusDS that is a SMS/GG Emulator, runs at 60FPS clean, and like you said the resolution matches it is simply beautiful. I played Phantasy Star and SRAM works great too.
There's also an emulator called jENESIS that runs most games I tried, and all at 60 FPS, with decent sound (incomplete compared to Gens/Fusion). It didn't work with roms > 24 Mbits (SSF and Pier Solar).
As far as emulating NES/GB on MCD, well I just don't see it worth the effort, would be much more interesting to ressurrect the old story about running MD/SMS games from MCD, but oh well... that topic has been already exausted more than 8 years ago!
Seeya!
There's also an emulator called jENESIS that runs most games I tried, and all at 60 FPS, with decent sound (incomplete compared to Gens/Fusion). It didn't work with roms > 24 Mbits (SSF and Pier Solar).
As far as emulating NES/GB on MCD, well I just don't see it worth the effort, would be much more interesting to ressurrect the old story about running MD/SMS games from MCD, but oh well... that topic has been already exausted more than 8 years ago!
Seeya!
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
jENESIS is just amazing. 60 FPS in almost every game *with sound*. The sound of the last version is quite correct. I know the author has some ideas to improve it (if it's possible)TulioAdriano wrote:There's one emulator called ApprenticeMinusDS that is a SMS/GG Emulator, runs at 60FPS clean, and like you said the resolution matches it is simply beautiful. I played Phantasy Star and SRAM works great too.
There's also an emulator called jENESIS that runs most games I tried, and all at 60 FPS, with decent sound (incomplete compared to Gens/Fusion). It didn't work with roms > 24 Mbits (SSF and Pier Solar).
As far as emulating NES/GB on MCD, well I just don't see it worth the effort, would be much more interesting to ressurrect the old story about running MD/SMS games from MCD, but oh well... that topic has been already exausted more than 8 years ago!
Seeya!