VOGONS

Common searches


First post, by Logger77

User metadata

Can DOSBOX create text logfile include all text data what proceed in my dos application?

Reply 1 of 13, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

what do you mean ?

if you mean the output of the stuff that is send to the shell/screen
you can use >
if you want acces to the asm instruction executed you need to use the debug version of dosbox (the heavy debug version even. so you would have to compile dosbox yourself to get it). That version has a log #number command

it logs #number amount of cpu instruction + register values to a logfile

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

Reply 3 of 13, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

well if you are using 0.63 then the application outputs in a different way then normally.

else use 0.63 as it didn't work before.

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

Reply 8 of 13, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

If it neither provides a logging function, nor supports
output redirection (like "prog.exe >log.txt") it is not
possible as is to capture the program output, as it
likely uses direct access to the screen.

wd

Reply 10 of 13, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

You can do that in a dosshell of XP or Win9x, but dosbox
renders the screen in a way as a bitmap, so you can't
extract anything automatically.
You could dump the text screen (there were dos-tools
available, maybe pcxdump can grab textmode), but that
is not really logging.

Maybe you can tweak your program in a way that it
runs in an XP-dosshell where you can copy/paste the
window, or maybe sb else has an idea (would help
if you'd tell the name of the program).

wd

Reply 12 of 13, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

It'd pretty hard to have a textmode-screengrabber that is
multi-platform (one of the dosbox goals).
If you just need screen-capturing, that can already be
done, look into the readme how exactly.

wd