First post, by efry
Hi Guys,
Just a quick question regarding the dosbox debugger. I'm new to asm programing so please bare with me if my question isn't 100% dosbox related.
I'm trying to debug Ultima 6 using IDA Pro 4.3 for DOS and the internal Dosbox debugger.
I seem to have a problem setting the break points in dosbox. The start code is at F7:000 in dosbox which is fine but everything in IDA Pro is referenced from an address starting at 0x10000 or by its own segments (exe blocks?)
It looks like Dosbox doesn't break when I specify a different segment:offset pair for the same address.
Heres an example
bp f7:a works fine the debugger breaks out when it hits the address and the line is marked red
But if I reference the same address as 0:f7a it seems to miss the breakpoint altogether. It still registers the breakpoint and marks it red. 🙁
Do I need to specify the break point in notation that dosbox understands? Does dosbox just go by the contents of the code segment register? If so could you tell me how to properly reference code based on my disassembly in IDA Pro?
Any thoughts would be greatly appreciated?
Eric