Skip to content

nukeykt/Nuked-MD-FPGA

Repository files navigation

Nuked-MD-FPGA

nukedmd_logo

by @nukeykt, @ogamespec and @andkorzh, special thanks to @HardWrMan

Cycle accurate Mega Drive emulator. Verilog version of Nuked MD. The goal of this project is to emulate Sega Mega Drive chipset accurately as possible using decapped chips photos.

Mega Drive chipset

Sega Mega Drive chipset consist of 6 integrated circuits + RAM chips:

  • Motorola 68000 (Main CPU)
  • Zilog Z80 (Sound CPU)
  • Yamaha YM7101 (VDP)
  • Yamaha YM2612/YM3438 (FM)
  • Yamaha YM6045 (Arbiter)
  • Yamaha YM6046 (IO)
  • TMSS (later revisions)

There are number of variations of chipsets across mega drive revisions. For example early revisions use NMOS 68k and Z80 chips, while later models switched to CMOS versions. Yamaha later integrated their chips into one big chip named FC1004.

Nuked-MD-FPGA currently targets NMOS 68k, NMOS Z80 and FC1004. No real mega drive used such combination, but Model 1 VA7 would be closest (CMOS 68k, NMOS Z80 and FC1004). Other variants possibly will be emulated in the future.

image

Progress

image

See Progress.md

Audio samples

https://drive.google.com/drive/folders/1RtqB4Rn1jMeVNzONG2wVgWdD4ZHzARxy?usp=sharing

References

Credits

  • nukeykt - RE, verilog implementation
  • org(ogamespec) - FC1004 decap, RE, useful tools, etc.
  • andkorzh - RE
  • HardWareMan - YM2612 decap pics, RE