VOGONS

Common searches


Search results

Display options

Re: DOSBox debugger

I have compiled DOSBox on Windows with debugger enabled. Everything works fine, except Fn keys. If I press ALT-pause, DOSBox will pause execution but pressing F5 won't do anything (DOSBox won't resume). I took a look at code. To make it work I had to remove the following toupper() call in debug.cpp …

How does DOSBox cpu cycles auto mode works ?

I'm trying to understand what is the main logic behind cycles = auto mode (eg : which heuristics it use to balance CPU cycles). I took a look at code and as far as I can tell most of the logic is in increaseticks() function. It seems fairly complicated so my goal is not to understand every bit of it …

DOSBox CPU cycles meaning ?

If I set "3000 cycles" in DOSBox , what does it mean exactly ? Does it mean DOSBox is going to execute 3000 instructions per second, regardless the instructions ? Or, does it mean DOSBox will run 3000 CPU cycles / ticks each second, some instructions (eg: DIV) taking more time than some others (eg : …

Re: DOSBox debugger

Hello. Is there a way to break the debugger when a game open a file ? When such thing happen, the debugger usually display "FILES:" in the console log. I could set a breakpoint on INT 21H but then it will break on ANY dos interrupt. I want to only make this happen when AH= 0x3D (file open) EDIT : …

Re: DOSBox debugger

Thanks a lot for your help. I have been able to set a breakpoint on the INT 6 handler. Surprinzingly DOSBOX debugger crash before displaying game menu if I start the game (Alone In The Dark in this case) with "debug" command (so that it breaks on first instruction) Starting the game with DOSBOX …

Re: DOSBox debugger

Hi, I am using a special version of DOSBOX which allow me to debug DOS executables using IDA (available here : https://github.com/wjp/idados). I am trying to debug a game which throw me "CPU:Illegal/Unhandled opcode" errors at some point. Is there a way to configure DOSBOX debugger to pause the …

Page 1 of 2