The debugger presents its output on various display devices in various contexts. Typically, it uses the primary display, but other options are possible. If you have a secondary display, such as a monochrome adapter/monitor or if you are running on a PCI system with a second PCI VGA adapter, 386SWAT can use those also.
If you have a monochrome adapter in your system, place the keyword MONO in your 386SWAT profile. The debugger determines whether or not your monochrome adapter is always visible or is hidden by a PCI VGA card, even an AGP controller. In either case, 386SWAT ferrets out the adapter and displays its output there. Pressing Alt-F7 switches between the monochrome and color adapters.
If you have a secondary PCI VGA adapter in your system, place the keyword DVGA in your 386SWAT profile. The debugger displays its output on this screen, even if it's hidden by an AGP controller. Pressing Alt-F7 switches between the two PCI VGA adapters.
I learned a bit about PCI programming getting the above to work, so I've gathered together assembler code to demonstrate the techniques used for you to browse. Thanks go to Dominik Behr, Federico Bianchi, Ralf Brown, and others for their helpful suggestions and/or source code.
NARS2000 © 2006-2020 |
|
Comments or suggestions? Send them to . |