|
Post by TheMVRules on Aug 12, 2010 14:06:57 GMT -5
|
|
|
Post by Tom Maneiro on Aug 12, 2010 15:04:24 GMT -5
Yuji Naka, is it you? Gotta try it - at least we now have a reference for SMB on the Genesis. *runs with his ROM dealer to get a clean NTSC SMB ROM*Minutes later... - SMB dies after 1 minute - it jumps to 0000, and halts there. - With the included Pinball ROM, you can see drawing in X-Slo-Mo(tm). Neat Neat emulator! Now it needs some abusive ASM reengineering, and maybe, someday we will be able to run some A52 at 3FPS Sega Does What Nintendon't... oh wait How long until this thread diverts into a "But but but code it as a 32X program" thread?
|
|
mic
Moldy Popcorn
Posts: 27
|
Post by mic on Aug 13, 2010 3:42:42 GMT -5
I'd recommend the following:
* Rewrite everything in assembly language.
* During the 6502 emulation loop: # When entering the loop, map the current 6502 PC to the corresponding 68k address and put it in a register (An). Use this register when fetching instructions and operands, rather than doing a translation for every fetch. You could probably get away with only recalculating this address for long branches (JMP/JSR/RET/RTI/when an interrupt occurs) - in all other cases you can just keep offsetting it. # Keep A, X and Y in 68k registers (Dn). # Keep a pointer to Zeropage RAM in a register (An). Zeropage operations can use this pointer rather than calling some function that reads from RAM. # Use the 68k status register as much as possible rather than calculating the values of the 6502 status bits. Save the 68k status bits inbetween instructions by moving CCR to some other register.
If you did this you should see some improvement over the C emulation. It would still be really slow, because we're talking about a 7 MHz 68k. About 5 years ago I abandoned a NES emulator I had begun writing for the Genesis for exactly that reason.
|
|
|
Post by andrea on Dec 7, 2010 15:03:53 GMT -5
What's the "status" of this project?...It seems pretty abandoned... Also...is there anything useful about that Mario Bros port? If I'm not wrong, that port was for the 75% the original ROM...and mic: that runs very fast! Imagine to play Earthbound Zero on the Genesis... ...and do not forget the thousands of other interesting titles for nes... However...BUMP... ;-)
|
|
|
Post by jlf65 on Dec 8, 2010 20:27:31 GMT -5
Seeing as the OP states the author lost the source, I'd say it's dead.
|
|
naxil
PooP MonkeeH
Posts: 1
|
Post by naxil on Sept 17, 2013 15:05:42 GMT -5
where i can get this emulator... after 3 years iam very interested to this roms
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Sept 18, 2013 9:12:48 GMT -5
You'd have better luck updating the source to the newer code used to port SMB.
|
|