beta version of CZ80 released :)
- Stef.D
- DCEmu Respected
- Posts: 114
- https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
- Joined: Wed Oct 15, 2003 1:46 am
- Has thanked: 0
- Been thanked: 0
- Contact:
beta version of CZ80 released :)
I finally completed my Z80 emulator.
I just fixed a bug which making it crashing on dreamcast (reading/writing a word on odd address).
It hasn't been tested a lot so it's far from being bug free, but it's enough to make some tests and benchs
I tested it in Genesis Plus only against the current used Z80 core.
On x86 platform, it performs about ~1.6 times faster only, but on dreamcast it performs ~2.2 times faster
You can grab the sources here :
http://gens.consolemul.com/download/CZ80_090.zip
I did a cpu interface to make switch to a core from another quicker, you can get it here :
http://gens.consolemul.com/download/cpu_z80.zip
Cheers,
I just fixed a bug which making it crashing on dreamcast (reading/writing a word on odd address).
It hasn't been tested a lot so it's far from being bug free, but it's enough to make some tests and benchs
I tested it in Genesis Plus only against the current used Z80 core.
On x86 platform, it performs about ~1.6 times faster only, but on dreamcast it performs ~2.2 times faster
You can grab the sources here :
http://gens.consolemul.com/download/CZ80_090.zip
I did a cpu interface to make switch to a core from another quicker, you can get it here :
http://gens.consolemul.com/download/cpu_z80.zip
Cheers,
Last edited by Stef.D on Sun Jan 23, 2005 4:49 am, edited 1 time in total.
-
- Modder Of Rage
- Posts: 805
- Joined: Mon Mar 18, 2002 12:41 pm
- Location: Midwest
- Has thanked: 0
- Been thanked: 0
- Contact:
did this fix the sound problem the dc pvr 3 version of genesis plus had, which was skippy and loopy?>
Check out the beats of rage community at http://borrevolution.vg-network.com/
-
- DCEmu Ultra Poster
- Posts: 1754
- Joined: Wed Jul 17, 2002 11:25 am
- Has thanked: 0
- Been thanked: 0
He's not comparing it to an x86 assembly core. His CPU emulator (CZ80, written in C) is faster than the old Z80 emulator (also written in C). On the PC, it is "only" 1.6 times faster than the old core. But on the Dreamcast, CZ80 is roughly 2.2 times faster than the existing Z80 emulator. The same core (CZ80) performs much better on the DC than the old core, because of how he designed it.Link2k4 wrote:wow the beta works better on DC than PC x68 assembly? that is something to be proud of! great job, Stef D.
Of course, I bet even he didn't think he'd get quite that big a difference after his initial testing on the PC. Very good work, Stef. I'm sure this will greatly benefit some of the best upcoming emulators.
- Stef.D
- DCEmu Respected
- Posts: 114
- Joined: Wed Oct 15, 2003 1:46 am
- Has thanked: 0
- Been thanked: 0
- Contact:
I uploaded a new version of CZ80, i only modified DAA opcode : no anymore need of the LUT (as MAME z80 core actually) -> smaller code
http://gens.consolemul.com/download/CZ80_091.zip
I also uploaded my modified z80 cpu interface, it now implements CMZ80 as well... i also included :
- lastest version of MAME z80 (modified for Genesis Plus)
- CMZ80 fixed for dreamcast
- lastest version of CZ80
Get it here :
http://gens.consolemul.com/download/cpu_z80.zip
Of course this CPU interface has been done for Genesis Plus. And again, you'll need to modify some memomry function name and definition in Genesis Plus to get it working.
You can use the cpu interface in others projects but you'll need to modify initialisation stuff according to the emulated system etc...
http://gens.consolemul.com/download/CZ80_091.zip
I also uploaded my modified z80 cpu interface, it now implements CMZ80 as well... i also included :
- lastest version of MAME z80 (modified for Genesis Plus)
- CMZ80 fixed for dreamcast
- lastest version of CZ80
Get it here :
http://gens.consolemul.com/download/cpu_z80.zip
Of course this CPU interface has been done for Genesis Plus. And again, you'll need to modify some memomry function name and definition in Genesis Plus to get it working.
You can use the cpu interface in others projects but you'll need to modify initialisation stuff according to the emulated system etc...
- Link2k4
- DCEmu Banned
- Posts: 604
- Joined: Sun May 16, 2004 3:56 am
- Location: Detroit,Michigan
- Has thanked: 0
- Been thanked: 0
sorry I was trying to sound intellengent, but they waved bye-bye a while ago. so now I am DUH!Alexvrb wrote:He's not comparing it to an x86 assembly core. His CPU emulator (CZ80, written in C) is faster than the old Z80 emulator (also written in C). On the PC, it is "only" 1.6 times faster than the old core. But on the Dreamcast, CZ80 is roughly 2.2 times faster than the existing Z80 emulator. The same core (CZ80) performs much better on the DC than the old core, because of how he designed it.Link2k4 wrote:wow the beta works better on DC than PC x68 assembly? that is something to be proud of! great job, Stef D.
Of course, I bet even he didn't think he'd get quite that big a difference after his initial testing on the PC. Very good work, Stef. I'm sure this will greatly benefit some of the best upcoming emulators.
-
- DCEmu's Cheerleader
- Posts: 2553
- Joined: Tue May 27, 2003 7:38 pm
- Location: Insert Witty Comment here
- Has thanked: 0
- Been thanked: 0
-
- DC Developer
- Posts: 9951
- Joined: Sun Dec 30, 2001 9:02 am
- Has thanked: 0
- Been thanked: 1 time
No. Still not fast enough. It's more than fast enough when used in conjunction with the hardware rendering system and C68k. However, the hardware renderer will never be able to run all games correctly. It's simply not fixable. And, at the moment at least, software rendering is too slow.So a full speed genesis emu with full sound and compatibility is definitely possible with this?
No. A SNES uses completely different stuff.What about SNES?
- Link2k4
- DCEmu Banned
- Posts: 604
- Joined: Sun May 16, 2004 3:56 am
- Location: Detroit,Michigan
- Has thanked: 0
- Been thanked: 0
it will be nice if this fixes some Z80 core problems,could improve some sound problems in some emulators,I am sure we will all find out in a later date how this sound core affects the emus on the DC scene. As blackaura said though it will not do much to the sound changes in GP, would have been nifty if it did, though. wishful thinking, nothing more.
- DaMadFiddler
- Team Screamcast
- Posts: 7953
- Joined: Fri Feb 06, 2004 7:17 am
- Location: San Francisco, CA
- Has thanked: 0
- Been thanked: 0
- Contact:
Y'know...this is slightly off-topic, but it's always amazed me just how versatile and useful the Z80 chip has turned out to be. It was designed over 30 years ago, and yet it's still used as the core of electronic devices left and right. Just off the top of my head, I can think of the Apple ][, the SEGA MasterSystem/GameGear, the Genesis' sound system, the TI81-86 line of graphing calculators, numerous PDAs, etc., etc.....the list goes on. I first started getting interested in this stuff around ten or eleven years ago when I got an old Apple ][ (my first computer!), and ever since then, I've noticed the Z80 in tech specs everywhere. All I can think is "wow: that again." Then again, I guess good design is good design, period.
- Quzar
- Dream Coder
- Posts: 7497
- Joined: Wed Jul 31, 2002 12:14 am
- Location: Miami, FL
- Has thanked: 4 times
- Been thanked: 9 times
- Contact:
and you didnt even mention the hundreds of arcade machines that features one or more z80s =P.DaMadFiddler wrote:Y'know...this is slightly off-topic, but it's always amazed me just how versatile and useful the Z80 chip has turned out to be. It was designed over 30 years ago, and yet it's still used as the core of electronic devices left and right. Just off the top of my head, I can think of the Apple ][, the SEGA MasterSystem/GameGear, the Genesis' sound system, the TI81-86 line of graphing calculators, numerous PDAs, etc., etc.....the list goes on. I first started getting interested in this stuff around ten or eleven years ago when I got an old Apple ][ (my first computer!), and ever since then, I've noticed the Z80 in tech specs everywhere. All I can think is "wow: that again." Then again, I guess good design is good design, period.
"When you post fewer lines of text than your signature, consider not posting at all." - A Wise Man
- Hawq
- Soul Sold for DCEmu
- Posts: 7817
- Joined: Sat Jan 05, 2002 1:43 pm
- Location: Great Britain
- Has thanked: 0
- Been thanked: 0
- Contact:
Dont forget watches & musical xmas/bday cards, the Z80 just wont die ever it seems
theres no-one else to blameThe Prisoner - Makes NGE's ending look almost intelligible.
Bored? figure out where the above lines from. Answers