Reply 160 of 1772, by urbanus
SBEMU + Windows 98SE + Boot menu
Example of how to setup a boot menu for Windows 9x so that the SBEMU driver ++ is only loaded when booting DOS.
Windows will fail to load if jemmex is loaded for instance.
Tested on Windows 98SE, but I believe it will also work on 95 and 98.
The following code assumes the files in SBEMU.zip have been extracted to the folder: C:\SBEMU\
AUTOEXEC.BAT
@ECHO OFFGOTO %CONFIG%:WINDOWSrem Commands here are only run with WindowsGOTO END:DOSC:\SBEMU\jload C:\SBEMU\qpiemu.dllC:\SBEMU\hdpmi32i -r -xC:\SBEMU\sbemurem Commands here are only run with DOS:ENDrem Commands here are run with both DOS and Windowsrem Keep C:\WINDOWS\WIN.COM at the end if the fileif %config%==WINDOWS C:\WINDOWS\WIN.COM
CONFIG.SYS
[MENU]menuitem=DOS, Start DOS (SBEMU)menuitem=WINDOWS, Start Windowsmenudefault=WINDOWS, 10[DOS]DEVICE=C:\SBEMU\jemmex.exe[WINDOWS]
MSDOS.SYS
Change the BootGUI value from 1 to 0.
...BootGUI=0...
The MSDOS.SYS might not be editable or visible, to fix this use the following command:
attrib -r -s -h MSDOS.SYS