home *** CD-ROM | disk | FTP | other *** search
-
- Single Screen Debugging with CVW 3.05:
-
- .\VDDxGA virtual screen device drivers
- .\VCV virtual "CodeView" device driver
-
- Together, these device drivers allow CVW to work in "single-screen
- mode" on a 386 machine. The VCV driver is the main driver that
- makes this happen. Via the COMM module (in ..\COMM.C), the VCV
- driver can be called to:
-
- Go into text mode
- Go back to graphics mode
- Get a video memory selector
- Move the cursor
- Write to the display (CodeView doesn't use this call)
-
- The VCV driver works by putting Windows into "Message Mode". Message
- Mode is a special Windows mode that puts the screen, keyboard and
- mouse drivers in a special text mode state. This special state is
- used by Windows, for example, when putting up messages as the user
- switches between virtual machines (by using Alt-Tab). When in message
- mode, the underlying VM (e.g. its BIOS data area) is not aware that
- the video hardware is in text mode. When message mode is left, the
- screen is restored to the previous video state. This makes message
- mode ideal for CVW.
-
- Typically, these files are copied into the WINDOWS\SYSTEM directory,
- and WINDOWS\SYSTEM.INI is modified to use these:
-
- change:
- display=*vddvga
-
- to:
- display=system\vddvga.386
- device=system\vcv.386
-