Reset Video Hardware on OS Reset

- When an OS performs a reset operation, the HBIOS hook has been extended to automatically reset the video hardware of the CRT device (if it exists).
- This should go a long way toward fixing corrupt video after an application is run that reprograms the video hardware.
- An OS reset may or may not be performed when an application exits depending on the behavior of the application.  So, if an application exits without initiating a reset, then the video will not be reset.  Most applications that muck with the video chip directly will perform the reset at exit, so this is not normally an issue.
- If the OS encounters an error (such as drive not ready when doing a DIR), the error message may be erased by this new behavior depending on the specific scenario.
This commit is contained in:
Wayne Warthen
2024-04-03 11:52:18 -07:00
parent 1649b6093b
commit d294fb6d09
4 changed files with 43 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
#DEFINE RMN 5
#DEFINE RUP 0
#DEFINE RTP 0
#DEFINE BIOSVER "3.5.0-dev.22"
#DEFINE BIOSVER "3.5.0-dev.23"
#define rmj RMJ
#define rmn RMN
#define rup RUP