← Back to context

Comment by mananaysiempre

2 days ago

Bochs and MAME both have superb and widely-used debuggers, while Qemu is more limited but still has some debugging capabilities in its monitor, as well as a gdb integration. (Can’t say anything about PCem/86Box.) It seems that developers of emulators targeting good coverage of old stuff simply can’t not build a debugger, because it’s an integral part of their task to figure out what the hell the devs of the latest failing thing did to make it fail. Bochs is (was?) also quite popular in the OSDev scene as a debugging tool.

DOSBox can be configured to include a debugger. The feature is not enabled in the official binary but the enhanced derivative projects probably have it (DOSBox-X definitely does):

- https://www.vogons.org/viewtopic.php?t=3944

- https://github.com/joncampbell123/dosbox-x/wiki/DOSBox%E2%80...

  • DOSBox-x on FreeBSD at least has is disabled by default, but it can be enabled when building from ports (make config).

    https://github.com/joncampbell123/dosbox-x/blob/master/READM...

    • Hey because I don't feel like making a phone call to my BSD expert, is that a flag? Like in Gentoo it would be like

      USE="debugger" emerge -vaD bochs #portage reads env and will set flags this way or in /etc/portage/packages.use/bochs (folder name packages.use is arbitrary and I'm old school.)

      Curious if BSD is like that too and I am way to tired to attempt to search for it with correct words...

      3 replies →