Nuked MD - decap-based cycle-accurate Mega Drive emulator (software & FPGA)
Moderator: KanedaFr
Nuked MD - decap-based cycle-accurate Mega Drive emulator (software & FPGA)
hi there
Thought that people over here might be interested in this, so I'm creating a thread.
Was working on this since last year with help from folks behind breaks/breaknes projects.
This project is basically plain conversion of mega drive circuit into C code, and thus it is extremely accurate, but it is very slow at the same time (about 300-400x slower than real console).
Nuked-MD is currently targeting FC1004 chipset (MD1 VA7, MD2 VA0,VA1,VA3) and NMOS 68k, NMOS z80 CPUs. This is mostly because that these were most easy to reverse engineer among other chipset variants.
Also it still have few bugs that're yet to be fixed. But overall it is already in quite good shape and is able to boot majority of Mega Drive games.
Github link: https://github.com/nukeykt/Nuked-MD
Also check out this repo: https://github.com/emu-russia/SEGAChips
Thought that people over here might be interested in this, so I'm creating a thread.
Was working on this since last year with help from folks behind breaks/breaknes projects.
This project is basically plain conversion of mega drive circuit into C code, and thus it is extremely accurate, but it is very slow at the same time (about 300-400x slower than real console).
Nuked-MD is currently targeting FC1004 chipset (MD1 VA7, MD2 VA0,VA1,VA3) and NMOS 68k, NMOS z80 CPUs. This is mostly because that these were most easy to reverse engineer among other chipset variants.
Also it still have few bugs that're yet to be fixed. But overall it is already in quite good shape and is able to boot majority of Mega Drive games.
Github link: https://github.com/nukeykt/Nuked-MD
Also check out this repo: https://github.com/emu-russia/SEGAChips
Last edited by nukeykt on Thu Jul 06, 2023 3:16 am, edited 1 time in total.
Re: Nuked MD - decap-based cycle-accurate Mega Drive emulator
...and interested about a way of running this with SGDK on my VS solution to be able to have proper debugging
Re: Nuked MD - decap-based cycle-accurate Mega Drive emulator (software & FPGA)
Recently got FPGA development board and decided to learn Verilog and try to port my emulator using it
Github: https://github.com/nukeykt/Nuked-MD-FPGA
It is under active development. YM3438 and Z80 are already done and were successfully tested on real mega drive board. Currently working on porting 68000 core.
Current schedule:
Github: https://github.com/nukeykt/Nuked-MD-FPGA
It is under active development. YM3438 and Z80 are already done and were successfully tested on real mega drive board. Currently working on porting 68000 core.
Current schedule:
1.YM3438 - Done, works well on real MD1 board
2.Z80 - Done, works well on real MD1 board, passes sms-zexall test
3.68000 - In progress
4.YM7101 (VDP) - TBD
5.FC1004 YM6045 (Arbiter) - TBD
6.FC1004 YM6046 (IO) - TBD
7.FC1004 TMSS - TBD
8.FC1004 glue logic - TBD
Re: Nuked MD - decap-based cycle-accurate Mega Drive emulator (software & FPGA)
first release of verilog port of Nuked MD
https://github.com/nukeykt/Nuked-MD-FPG ... s/tag/v1.0
https://github.com/nukeykt/Nuked-MD-FPG ... s/tag/v1.0
Re: Nuked MD - decap-based cycle-accurate Mega Drive emulator (software & FPGA)
That's impressive... and an unvaluable source of information. Thanks for your work
-
- Very interested
- Posts: 745
- Joined: Sat Dec 15, 2007 7:49 am
- Location: Kazakhstan, Pavlodar
-
- Interested
- Posts: 24
- Joined: Sun Feb 27, 2022 3:27 am
Re: Nuked MD - decap-based cycle-accurate Mega Drive emulator (software & FPGA)
Wow, super impressive.
Re: Nuked MD - decap-based cycle-accurate Mega Drive emulator (software & FPGA)
Really impressive work, good job guys! A transistor-level simulation of these devices is a great step for preservation.