VOGONS

Common searches


Search results

Display options

Re: how to add read/write data breakpoint?

my third patchagainst current svn 4450 what works so far: read detection seems to work now - the breakpoint is getting activate on the next instruction but that is ok for now problems: i can't distinguish between dos program and debugger memory reads debug.cpp/AnalyzeInstruction and others also …

Re: how to add read/write data breakpoint?

Alt-pause starts the debugger. I don't use debug.com very often. It's a convenient way to break at the start of a program. didn't know that watching the debugging flag does not work because its get set to false as soon as i hit F5 and reanabled when reaching another code bp case KEY_F(5): // Run …

Re: how to add read/write data breakpoint?

Qbix wrote on 2021-04-29, 12:38: debug.com active shouldn't matter. that means, i must run the debug command - but its not needed to check for these vars to dectect if the debugger is present and i think its the static bool debugging flag in debug.cpp (that gets set by DEBUG_Enable)

Re: how to add read/write data breakpoint?

Are you calling DEBUG_EnableDebugger somewhere when you encounter the memory location that you want to stop execution (will probably be after the read though) i thought that gets already set when i start "debug readb.com" currently its unclear to me: 1. how to detect if the debug command is running …

Re: how to add read/write data breakpoint?

jmarsh wrote on 2021-04-26, 17:48: Edit the project configuration and add "SDL_VIDEODRIVER=windib" to the environment settings for running the debug build. Otherwise the directx backend is used by default and it uses global system locks that trigger the UI blocking you mentioned. thank you! any tip …

Re: how to add read/write data breakpoint?

i think i've found a way to get a host ptr from the location in my Find-Routine - but is that always the correct way or do i need to work with the get_tlb_read stuff like in the mem_readX_inline functions? CBreakpoint* CBreakpoint::FindMemReadBreakpoint(Bit8u const* const addr, Bit32u range) { std:: …

Re: DOSBox debugger

Akuma wrote on 2020-06-03, 08:16: I would like to set a breakpoint on memory reads . That's the only thing I really miss. i try to implement that feature: how to add read/write data breakpoint? maybe you can have a look and help with the idea/implementation

Re: how to add read/write data breakpoint?

seeking for help: attached is a WIP/Compilable but not working patch based on svn 4447 that shows my ideas how to hopefully cleanly add a memory read breakpoint feature to heavy-debug mode there is a new function DEBUG_CheckMemReadBreakpoint that gets called from (nearly) every memory reading …

Re: how to add read/write data breakpoint?

what i think so far what is needed dosbox\include\mem.h extend the host_reads like this (also for word,dword and WORDS_BIGENDIAN/C_UNALIGNED_MEMORY) static INLINE Bit8u host_readb( HostPt off ) { #ifdef C_HEAVY_DEBUG // check for mem-read-bp in range and activate bp if hit #endif return off[0]; } i …

how to add read/write data breakpoint?

years ago i've added a feature for break point on memory read(write) ranges, slow and only available in heavy-debug mode something likes these commands BSMR seg:ofs range // detect reads BSMW seg:ofs range // detect writes BSRMW seg:ofs range // detect reads and writes but i've accidentally deleted …

Re: Ways to dump memory to a file->

in DOSBox General
@Peter Swinkels reverse engineering is one of the stronges topics in software development - its very complicated and time consuming - you can spend month only on Alley Cats analysis (btw: someone does that already: https://github.com/gabonator/Work-in-progress/tree/master/DosGames/AlleyCat) 1. …

Page 1 of 4