mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 14:11:48 -06:00
Improve Video Hardware Reset
- This change avoids clearing the screen every time an OS reset occurs. A non-destructive VDC reset is now performed that leaves the screen contents and cursor position unchanged. - If an application overwrites the video RAM, then the screen may contain garbage upon return to OS. However, the console will still be functional and the user can just press enter a few times to clear the screen.
This commit is contained in:
@@ -1327,7 +1327,7 @@ specified (set to 0 for default/not specified). Video Mode (E) values
|
||||
are specific to each VDA. The returned Status (A) is a standard HBIOS
|
||||
result code.
|
||||
|
||||
If the hardware and driver support it, you can specify a Font Bitmap
|
||||
If the hardware and driver supports it, you can specify a Font Bitmap
|
||||
(HL) buffer address containing the character bitmap data to be loaded
|
||||
into the video processor. The buffer **must** be located entirely in the
|
||||
top 32K of the CPU memory space. HL must be set to zero if no character
|
||||
@@ -1372,10 +1372,10 @@ data, then Font Bitmap (HL) will be set to zero on return.
|
||||
| B: 0x42 | A: Status |
|
||||
| C: Video Unit | |
|
||||
|
||||
Performs a soft reset of the specified Video Unit (C). Will clear the
|
||||
screen, home the cursor, and restore active attribute/color to defaults.
|
||||
Keyboard will be flushed. The current video mode will not be changed.
|
||||
The returned Status (A) is a standard HBIOS result code.
|
||||
Performs a non-destructive reset of the specified Video Unit (C).
|
||||
Should re-initialize the video hardware without destroying the screen
|
||||
contents or cursor position. The current video mode will not be
|
||||
changed. The returned Status (A) is a standard HBIOS result code.
|
||||
|
||||
### Function 0x43 -- Video Device (VDADEV)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user