VOGONS

Common searches


Search results

Display options

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. …

Re: trouble with a program: cup386

in DOSBox General
for unpacking old dos executables what executables - maybe someone know already how to unpack them no idea (cup386 don't seem to like EMM386) - but have you tried UNP from http://unp.bencastricum.nl/ - well known, works under dosbox and maybe able to unpack you exe

repne/repnz movsw: Invalid instruction prefix mystery

in DOSBox General
im currently reverse engineering a small DOS 16bit program and stumbled over invalid prefix combinations comming out of IDA/ndisasm when using MASM to assemble it back to code TASM and NASM have no problem to assemble these instructions - but MASM/UASM failing im currious what is the correct code …

Page 11 of 14