VOGONS


What is SELINFO?

Topic actions

First post, by zhangyan

User metadata
Rank Newbie
Rank
Newbie

I tried both the debug and the Heavy-Debug mode of DOSBox.
I simply want to dump the data segment, but I don't know where the data segment starts and where it ends.
So, I tried the SELINFO command.
From the help file,
==========================================
SELINFO CS/DS/ES/FS/GS/SS/[seg] returns information about the descriptor of the segment the given register is currently pointing on. You can also specifiy an arbitrary segment using a hex value.
==========================================
My command was:
SELINFO DS
I hoped this command could tell me the position and the length of the data segment, but there was no message shown.
Did I make something wrong?
Actually, I didn't quite understand the descriptions of SELINFO, what kind of information it is supposed to provide?

Thanks in advance.

Reply 1 of 1, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

selinfo is used in protected mode.
then segments are handled differently

Water flows down the stream
How to ask questions the smart way!