mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Implement int 2f ax=1600, which is, according to the Interrupt List,
used to check to see if windows 3.x if running. We always return 0, which means that neither Windows 3.x nor Windows/386 2.x is running. It also means, btw, that XMS version 1 isn't installed, which is true since we don't implement that either.
This commit is contained in:
parent
85082fc3c3
commit
4e47f901f9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37318
@ -29,7 +29,7 @@
|
||||
*
|
||||
* BSDI int2f.c,v 2.2 1996/04/08 19:32:53 bostic Exp
|
||||
*
|
||||
* $Id: int2f.c,v 1.4 1996/09/22 15:42:56 miff Exp $
|
||||
* $Id: int2f.c,v 1.1 1997/08/09 01:42:50 dyson Exp $
|
||||
*/
|
||||
|
||||
#include "doscmd.h"
|
||||
@ -99,6 +99,10 @@ static int
|
||||
int2f_windows(regcontext_t *REGS)
|
||||
{
|
||||
switch (R_AL) {
|
||||
case 0x00:
|
||||
R_AL = 0x00; /* Neither Win 3.x nor 2.x running */
|
||||
return(0);
|
||||
|
||||
case 0x80: /* installation check */
|
||||
tty_pause();
|
||||
R_AL = 0x00;
|
||||
|
Loading…
Reference in New Issue
Block a user