Compass Debugging .COM File

By LuigiThirty

Supporter (6)

LuigiThirty's picture

06-10-2019, 01:07

I have Compass installed and I’m trying to write a utility to set my Panasonic MSX2+ to turbo speed. If I assemble my tool with org 100h, I still see ROM there in the debugger and my breakpoint at the entry address never triggers. What do I need to set up to debug it as a .COM program?

Login or register to post comments

By Pencioner

Scribe (1462)

Pencioner's picture

06-10-2019, 14:19

I'm not aware if Compass can debug DOS apps, to debug COM files i use a very good debugger written by Leonid Baraz

By ducasp

Champion (462)

ducasp's picture

06-10-2019, 18:54

LuigiThirty wrote:

I have Compass installed and I’m trying to write a utility to set my Panasonic MSX2+ to turbo speed. If I assemble my tool with org 100h, I still see ROM there in the debugger and my breakpoint at the entry address never triggers. What do I need to set up to debug it as a .COM program?

You can use OpenMSX and OpenMSX Debugger, it is an amazing great tool to debug code.

By wouter_

Champion (468)

wouter_'s picture

06-10-2019, 19:21

@LuigiThirty: You first have to select RAM in page 0 (0x0000-0x3fff). You do this in the menu 'System > memory', then navigate to the 'memory page 0' section, press space, use cursor left/right to select the correct memory segment and press space again. IIRC you can save this setting via the menu 'Installations < Main install', so that you don't have to repeat this step next time you use compass.