Compass Debugging .COM File

Door LuigiThirty

Supporter (6)

afbeelding van LuigiThirty

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?

Aangemeld of registreer om reacties te plaatsen

Van Pencioner

Paladin (951)

afbeelding van Pencioner

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

Van ducasp

Master (151)

afbeelding van ducasp

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.

Van wouter_

Champion (418)

afbeelding van wouter_

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.