Thursday, February 11, 2016

Mame debugger is cool

I've been trying to figure out the upd7810 processor and the ap2000 driver with the aid of the mame debugger. I would *never* be able to do this without it. It's got so many neat features.

I must have about 10 different windows open, multiple disassemblies, multiple memory windows, watchpoints and breakpoints. It's really slick.

Perusing the debugcmd.cpp file gives a bunch of useful commands like:

history (interestingly, the history is printed out most recent statement first, oldest statement last)
trackmem
trackpc

I particularly like the ability to right click on a memory location and see what the PC was when it was last written.

Great stuff and it makes it fun to watch the cpu work.

No comments:

Post a Comment