VOGONS

Common searches


First post, by jaclfh

User metadata
Rank Newbie
Rank
Newbie

I'm trying to use dosbox debugger, but it's unusable because the terminal window is messed up. I compiled dosbox with --enable-debug=heavy on Linux (Debian Etch) and the terminal looks something like this after I press alt-pause:

    150000: VGA:h total 100 end0128blank 012898) retrace (85/97)       0596
150000: VGA:v 00000800 CS=0128 blank01286/441) retrace (412/414) 0596
000000FFVGA:Wi00000800 CS=013800 08 00 70 00 08 00 70 00 ..p..3p...p
000000FFVG08 00000091Cth, normal height aspect 1.000000 47395198 3
400000128EXEC:P0000080000 02d line:55 FF 00 F0 ........U
4155159: EXEC:Execute keyb.COM 0
4155159: FIE0 02ile ope00 01mand 0 20 01keyb.CO40 01 ........ ...@
4155168: BIA0 01yboard C0 01t fi suE0 01fully l20 02 ............
4447449: BIOS:Codepage 858 successf40 02loaded @
19484646: EXEC:P2rsing command line: mount c /de00 05 00 C0 ....
19484649: EXEC:Execute mount.COM 0
19484649: FILES:file open command 0 file mount.COM
138484658:EBFEMISC:DIRCACHE: Sjmp short 00000000 ($-2) (up)
138:0002 90 C:Parsing commannop
0138404849:BEEE2AParsing commanmov si,2AEE
0138:0006 89F7C:Parsing commanmov di,siexe
0138:0008 1E C:Execute n.exe push ds
0138:0009 A9B580:file open comtest ax,80B5n.exe
0138:000C 8CC8 mov ax,cs
0138:000E 050500 ax,0005
0138:0011 8ED8 mov ds,ax
0138:0013 05B601 add ax,01B6
***| TYPE HELP (+ENTER) TO GET AN OVERVIEW OF ALL COMMANDS |***

How do I fix this?

Reply 1 of 1, by jaclfh

User metadata
Rank Newbie
Rank
Newbie

Never mind. I looked at debug_gui.cpp and there's a line "resizeterm(50,81);". I guess that is supposed to adjust the terminal size to 81x50 characters automatically, but I have to do it manually. Then the debugger output is fine.