Emulator with debugger

Discussion and advice about emulating the QL on other machines.
ecdhe
ROM Dongle
Posts: 15
Joined: Sat Jun 14, 2025 9:35 pm

Re: Emulator with debugger

Post by ecdhe »

Got it, thanks. It works now.

My next question is: how to enter the debugger?


User avatar
XorA
Site Admin
Posts: 1654
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Emulator with debugger

Post by XorA »

ecdhe wrote: Sun Jun 29, 2025 6:33 pm Got it, thanks. It works now.

My next question is: how to enter the debugger?
There is no debugger, if you hit f12 it will dump every instruction run.

I was saying I could easily add a memory dump! I don't have the UI skills for a internal debugger!


ecdhe
ROM Dongle
Posts: 15
Joined: Sat Jun 14, 2025 9:35 pm

Re: Emulator with debugger

Post by ecdhe »

Fair enough. I'd say don't add the feature just for me. In my case, I combine some debugging operations (break in some functions, go step by step) with a memory dump.

As far as debugger UI, you don't necessarily need something with bells and whistles. If you look at MAME you'll see that the commands are all text-based. There are disassembly and memory dump windows, but nothing that couldn't be output on the console.

But maybe there's not much demand for a debugger on the QL.


ecdhe
ROM Dongle
Posts: 15
Joined: Sat Jun 14, 2025 9:35 pm

Re: Emulator with debugger

Post by ecdhe »

By the way, here's one application I have with a memory dump of the process. I am adapting my own mem viewer tool to the QL. By taking snapshots at regular intervals, I can take a look at the evolution of in-memory bitmaps (here, the intermediary bitmap when a piece if moved)
Attachments
QL_Chess.png


Post Reply