Nuked MD - decap-based cycle-accurate Mega Drive emulator (software & FPGA)

Importante releases or news for the communauty

Moderator: KanedaFr

Post Reply
nukeykt
Interested
Posts: 12
Joined: Thu Sep 20, 2018 10:42 am

Nuked MD - decap-based cycle-accurate Mega Drive emulator (software & FPGA)

Post by nukeykt » Sun May 14, 2023 8:33 am

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
Last edited by nukeykt on Thu Jul 06, 2023 3:16 am, edited 1 time in total.

bioloid
Very interested
Posts: 169
Joined: Fri May 18, 2012 8:22 pm

Re: Nuked MD - decap-based cycle-accurate Mega Drive emulator

Post by bioloid » Sat May 20, 2023 6:07 pm

Awesome!

bioloid
Very interested
Posts: 169
Joined: Fri May 18, 2012 8:22 pm

Re: Nuked MD - decap-based cycle-accurate Mega Drive emulator

Post by bioloid » Sat May 20, 2023 6:09 pm

...and interested about a way of running this with SGDK on my VS solution to be able to have proper debugging :)

nukeykt
Interested
Posts: 12
Joined: Thu Sep 20, 2018 10:42 am

Re: Nuked MD - decap-based cycle-accurate Mega Drive emulator (software & FPGA)

Post by nukeykt » Thu Jul 06, 2023 3:25 am

Recently got FPGA development board and decided to learn Verilog and try to port my emulator using it :D
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

nukeykt
Interested
Posts: 12
Joined: Thu Sep 20, 2018 10:42 am

Re: Nuked MD - decap-based cycle-accurate Mega Drive emulator (software & FPGA)

Post by nukeykt » Tue Aug 01, 2023 8:45 am

first release of verilog port of Nuked MD
https://github.com/nukeykt/Nuked-MD-FPG ... s/tag/v1.0

Eke
Very interested
Posts: 884
Joined: Wed Feb 28, 2007 2:57 pm
Contact:

Re: Nuked MD - decap-based cycle-accurate Mega Drive emulator (software & FPGA)

Post by Eke » Sun Aug 06, 2023 9:14 pm

That's impressive... and an unvaluable source of information. Thanks for your work :!:

HardWareMan
Very interested
Posts: 745
Joined: Sat Dec 15, 2007 7:49 am
Location: Kazakhstan, Pavlodar

Re: Nuked MD - decap-based cycle-accurate Mega Drive emulator (software & FPGA)

Post by HardWareMan » Mon Aug 07, 2023 3:32 pm

Eke wrote:
Sun Aug 06, 2023 9:14 pm
That's impressive... and an unvaluable source of information. Thanks for your work :!:
Yeah, our team do the best. Now I am happy again.

AmateurSegaDev
Interested
Posts: 24
Joined: Sun Feb 27, 2022 3:27 am

Re: Nuked MD - decap-based cycle-accurate Mega Drive emulator (software & FPGA)

Post by AmateurSegaDev » Wed Nov 01, 2023 4:59 am

Wow, super impressive.

Nemesis
Very interested
Posts: 791
Joined: Wed Nov 07, 2007 1:09 am
Location: Sydney, Australia

Re: Nuked MD - decap-based cycle-accurate Mega Drive emulator (software & FPGA)

Post by Nemesis » Mon Feb 12, 2024 11:42 pm

Really impressive work, good job guys! A transistor-level simulation of these devices is a great step for preservation.

Post Reply