Problem with DOSBox Debugger IDT command

Developer's Forum, for discussion of bugs, code, and other developmental aspects of DOSBox.

Problem with DOSBox Debugger IDT command

Postby videogamer555 » 2017-6-16 @ 03:22

It always returns the IDT, and there's no way of having it instead return the IVT. The IDT (interrupt descriptor table) is for 32-bit protected-mode software. Each entry is 6-bytes long, and has a 4-byte offset, in addition to the 2-byte selector.

The IVT (interrupt vector table) on the other hand is for 16-bit real and protected mode. Each entry is 4-bytes long, and has a 2-byte offset, in addition to the 2-byte segment.

I see no way to get the Debugger to return the IVT. This is important for my usage, as I'm trying to write an assembly language program that creates its own user-defined interrupts, and need to make sure that the interrupt vectors that I'm writing are actually going into the table where I want them to. I need a way in DOSBox Debugger to have it dump the IVT for me, so that I can make sure my program is behaving properly.
videogamer555
Member
 
Posts: 123
Joined: 2010-2-04 @ 08:18

Re: Problem with DOSBox Debugger IDT command

Postby Ringding » 2017-6-19 @ 18:13

Can't you just dump the memory at the address that the idt points at?
Ringding
Newbie
 
Posts: 7
Joined: 2016-1-05 @ 21:02


Return to DOSBox Development

Who is online

Users browsing this forum: No registered users and 3 guests