flat assembler
Message board for the users of flat assembler.

Index > DOS > 386SWAT debugger

Author
Thread Post new topic Reply to topic
M.RICHARD



Joined: 23 Apr 2022
Posts: 13
M.RICHARD 24 Mar 2024, 12:22
Hello,
The 386SWAT debugger seems to be able to continue tracing a real mode program (no V86) which switches to protected mode, but I don't really understand how to configure it, and I can't find any example in assembly language.
Please does anyone know how to do this?
Or tell me about another debugger that allows you to change modes during tracing?
THANKS.
Post 24 Mar 2024, 12:22
View user's profile Send private message Reply with quote
macomics



Joined: 26 Jan 2021
Posts: 913
Location: Russia
macomics 24 Mar 2024, 15:09
For DOS 386, in my opinion, the best is the TD from TASM 5
Post 24 Mar 2024, 15:09
View user's profile Send private message Reply with quote
M.RICHARD



Joined: 23 Apr 2022
Posts: 13
M.RICHARD 24 Mar 2024, 17:44
Thank you, but I don't think Turbo Debugger can trace a program which itself goes into protected mode to execute 32-bit code, without using DPMI or VCPI services. The 386SWAT debugger provides 0x67 interrupts so that the program to be debugged can collaborate with the debugger in order to ask it to interpret the code as 32-bit protected mode at the desired time, but TD does not offer this type of directives, so how would it know that at some point the code should use protected mode selectors, rather than real mode segment registers ?
Post 24 Mar 2024, 17:44
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.