Sega Mega Drive debugger

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

Sega Mega Drive debugger

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

Hi!

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...

matibee
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!
https://www.retrodev.com/blastem/

This is an excellent article on the the megadrive; https://www.gamedeveloper.com/design/ma ... 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”