jhck
April 27th, 2002, 18:39
hi,
maybe somebody can help me solving a problem.
i want to change the frame color in softice´s screen. (version 4.05.334) softice offers customizing options for text etc. but not for it´s frame.
what do i know:
softice screen is like a console or a dos screen, in memory it has a format like: char. code/color char. code/color ... color is hex 03 (background = black, foreground = cyan, char. code upperleft corner = hex DA, hex C4 an so on)
softice keeps "03" (color attribute) in a constant or a variable, if i knew the location of this constant or variable a patch would be easy, or if i knew, where in winice.exe softice draws its frame ...
scanning winice.exe for a pattern like mov al, 03 or similar brings up nothing really interesting.
looking for a screen buffer by searching memory with softice
(S 30:0 L ffffffff C403C403 or simlar) fails. softice indeed uses a buffer for it´s screen, unfortunately this buffer doesn´t include the frame but all text inside the frame. softice uses direct draw to flip this buffer onto the screen, but how does softice draw it´s frame ?
if someone knows, how and where softice draws it´s frame,
or if someone has an idea how to track this problem down,
please let me know
thanks
jhck
maybe somebody can help me solving a problem.
i want to change the frame color in softice´s screen. (version 4.05.334) softice offers customizing options for text etc. but not for it´s frame.
what do i know:
softice screen is like a console or a dos screen, in memory it has a format like: char. code/color char. code/color ... color is hex 03 (background = black, foreground = cyan, char. code upperleft corner = hex DA, hex C4 an so on)
softice keeps "03" (color attribute) in a constant or a variable, if i knew the location of this constant or variable a patch would be easy, or if i knew, where in winice.exe softice draws its frame ...
scanning winice.exe for a pattern like mov al, 03 or similar brings up nothing really interesting.
looking for a screen buffer by searching memory with softice
(S 30:0 L ffffffff C403C403 or simlar) fails. softice indeed uses a buffer for it´s screen, unfortunately this buffer doesn´t include the frame but all text inside the frame. softice uses direct draw to flip this buffer onto the screen, but how does softice draw it´s frame ?
if someone knows, how and where softice draws it´s frame,
or if someone has an idea how to track this problem down,
please let me know
thanks
jhck