Sega Mega Drive debugger

ASM Programming for the Genesis / Megadrive
Post Reply
Posts: 1
Joined: Fri Mar 18, 2022 10:05 am

Sega Mega Drive debugger

Post by deadmarshal » Fri Mar 18, 2022 6:44 pm


How can i debug m68k assembly code for the Sega Mega Drive? Can i use gdb? or if not what other tools are available?
Preferably for Debian Linux but Windows is fine too...

Posts: 19
Joined: Mon Feb 17, 2020 6:09 pm

Re: Sega Mega Drive debugger

Post by matibee » Mon Apr 04, 2022 5:56 pm

Hi there,
The megadrive is on my list of platforms to tackle too :)

I've not tried it yet, but this emulator runs on windows/linux etc and has an integrated debugger. Debugging through an emulator on a modern PC is breeze compared to the tedium of the old days!

This is an excellent article on the the megadrive; ... me-in-2019
While it's not M68000 coding, I think for a first project I will give the C game library a try that it mentions.

- Matt
Hobbyist coder for over 37 years! Last 20 years: C/C++, Windows, DirectX, OpenGL, Newton, JUCE, Godot.
Current collection: Atari; 2600, 800xl, 130xe, XEGS, 520stfm, 1040stfm, Lynx. SNES. Megadrive. GBA. PSP. 48k Speccy. C64, Amiga 500+. PS1, 2 & 3

Post Reply

Return to “Genesis / Megadrive Programming”