pouët.net

Go to bottom

Turbo Debugger video memory dump?

category: general [glöplog]
 
Hi.

I would like to know, is it possible to show a proper dump of video memory using Turbo Debugger?

After the program sets the video mode (push 0xB800 pop ds) and draws something (I use Run command then CTRL-Break) I try to see the dump at ds:0000 (tried ds:B800 and ds:4800 too) - The data it shows doesn't reflect what's shown onscreen. I've also tried searching for bytes, no good result.

I'm using Windows XP SP3's dos.
added on the 2018-05-13 05:43:39 by Tesseract Tesseract
DosBox with debugger allow what.
added on the 2018-05-13 06:28:18 by g0blinish g0blinish
never tried but should be possible, just go to the right memory addresses, I guess you can set seg:ofs for dump ..
added on the 2018-05-13 09:04:35 by Asato Asato
afaik memory dump reflects current video buffer state (Turbo Debugger GUI in this case), and I'm unsure that TD saves current video memory content, so I dunno :) try DOSBox debugger (Alt-Break then memory dump at B800:0000)
added on the 2018-05-13 11:17:59 by wbcbz7 wbcbz7
*saves application video memory content of course %)
added on the 2018-05-13 11:18:45 by wbcbz7 wbcbz7
Thanks, dos box's debugger shows everything correct. (But I'm a bit surprised about why the black cells are initialised to 0x0720 after setting the video mode, I expected them to be 0x0000)
added on the 2018-05-13 15:14:09 by Tesseract Tesseract
Quote:
why the black cells are initialised to 0x0720 after setting the video mode, I expected them to be 0x0000)

it is intentional to allow fast text writing (as attribute byte is initialized already for black bg/light gray text)
added on the 2018-05-14 12:18:22 by wbcbz7 wbcbz7

login

Go to top