-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 294df74
Showing
20 changed files
with
1,586 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
@ECHO OFF | ||
|
||
REM Configuration options | ||
SET PATH=%PATH%;C:\TOOLS | ||
SET CODEPAGE=850 | ||
SET KEYBOARD=us | ||
REM SET FDAPM=APMDOS | ||
SET FDAPM=ADV:REG | ||
|
||
:COMMON | ||
REM DOSIDLE does not seem to work, disabled for now, using FDAPM.COM instead | ||
REM LH C:\TOOLS\DOSIDLE.EXE | ||
LH C:\TOOLS\FDAPM.COM %FDAPM% >NUL | ||
LH MODE.COM con codepage prepare=((%CODEPAGE%) C:\WINDOWS\COMMAND\EGA.CPI) >NUL | ||
LH MODE.COM con codepage select=%CODEPAGE% >NUL | ||
LH KEYB.COM %KEYBOARD%,,C:\WINDOWS\COMMAND\KEYBOARD.SYS >NUL | ||
LH C:\WINDOWS\COMMAND\DOSKEY.COM >NUL | ||
REM CTMOUSE will automatically load itself high | ||
C:\TOOLS\CTMOUSE.EXE >NUL | ||
GOTO %CONFIG% | ||
|
||
:WINDOWS | ||
CLS | ||
WIN.COM | ||
GOTO EXIT | ||
|
||
:DOS | ||
GOTO EXIT | ||
|
||
:DOSCD | ||
REM Using SHSUCDX.COM instead which has a much smaller memory footprint, | ||
REM leaving this here for future reference | ||
REM C:\WINDOWS\COMMAND\MSCDEX.EXE /D:MSCD001 | ||
REM LH C:\WINDOWS\COMMAND\MSCDEX.EXE /D:MSCD001 | ||
REM SHSUCDX.COM will automatically load itself high, using LH will even | ||
REM prevent that! | ||
REM LH C:\TOOLS\SHSUCDX.COM /D:MSCD001 | ||
C:\TOOLS\SHSUCDX.COM /D:MSCD001 >NUL | ||
GOTO EXIT | ||
|
||
:EXIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
[MENU] | ||
MENUITEM=WINDOWS,Windows 98 SE | ||
MENUITEM=DOS,MS-DOS 7.1 | ||
MENUITEM=DOSCD,MS-DOS 7.1 (CD-ROM) | ||
REM MENUCOLOR=7,1 | ||
MENUDEFAULT=WINDOWS,5 | ||
|
||
[COMMON] | ||
DEVICE=C:\WINDOWS\HIMEM.SYS | ||
DEVICE=C:\WINDOWS\EMM386.EXE NOEMS | ||
DOS=HIGH,UMB | ||
FILES=30 | ||
BUFFERS=20 | ||
STACKS=9,256 | ||
LASTDRIVE=Z | ||
DEVICEHIGH=C:\WINDOWS\COMMAND\DISPLAY.SYS con=(ega,,1) | ||
REM Does not seem to work when loading high, thus loading low instead | ||
REM NOTE: 'DoubleBuffer=1' in MSDOS.SYS does the same thing as DEVICE=... | ||
REM here; It's better to load all drivers here in one single place, | ||
REM thus we set 'DoubleBuffer=0' in MSDOS.SYS | ||
REM DEVICEHIGH=C:\WINDOWS\DBLBUFF.SYS | ||
DEVICE=C:\WINDOWS\DBLBUFF.SYS | ||
COUNTRY=049,850,C:\WINDOWS\COMMAND\COUNTRY.SYS | ||
REM Moved to AUTOEXEC.BAT instead, can silence output there using >NUL | ||
REM INSTALLHIGH=C:\WINDOWS\COMMAND\MODE.COM con cp prepare=((850) C:\WINDOWS\COMMAND\EGA.CPI) | ||
REM INSTALLHIGH=C:\WINDOWS\COMMAND\MODE.COM con cp select=850 | ||
REM INSTALLHIGH=C:\WINDOWS\COMMAND\KEYB.COM gr,,C:\WINDOWS\COMMAND\KEYBOARD.SYS | ||
|
||
[WINDOWS] | ||
|
||
[DOS] | ||
|
||
[DOSCD] | ||
REM Using VIDECDD.SYS instead which has a much smaller memory footprint, | ||
REM leaving this here for future reference | ||
REM Can't load high as there won't be enough upper memory for the rest | ||
REM (codepage + keyboard layout will fail) | ||
REM DEVICEHIGH=C:\WINDOWS\COMMAND\EBD\OAKCDROM.SYS /D:MSCD001 | ||
REM DEVICE=C:\WINDOWS\COMMAND\EBD\OAKCDROM.SYS /D:MSCD001 | ||
REM Normal version v2.14 | ||
DEVICEHIGH=C:\TOOLS\VIDECDD1.SYS /D:MSCD001 | ||
REM Patched version version v2.14a | ||
REM DEVICEHIGH=C:\TOOLS\VIDECDD2.SYS /D:MSCD001 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[Paths] | ||
WinDir=C:\WINDOWS | ||
WinBootDir=C:\WINDOWS | ||
HostWinBootDrv=C | ||
|
||
[Options] | ||
BootMulti=1 | ||
BootGUI=0 | ||
Logo=0 | ||
DoubleBuffer=0 | ||
AutoScan=1 | ||
WinVer=4.10.2222 | ||
; | ||
;The following lines are required for compatibility with other programs. | ||
;Do not remove them (MSDOS.SYS needs to be >1024 bytes). | ||
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxa | ||
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxb | ||
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxc | ||
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxd | ||
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxe | ||
;xxxxxxxxxxxxxxxxxxxxxxx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||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
@ECHO OFF | ||
|
||
REM ----------------------------------------------------------------------- | ||
REM - | ||
REM Created by Fonic (https://github.com/fonic) - | ||
REM Date: 07/17/20 - | ||
REM - | ||
REM ----------------------------------------------------------------------- | ||
|
||
REM | ||
REM Configuration (omit trailing backslashes) | ||
REM | ||
SET CONFIG_DST=C: | ||
SET TOOLS_DST=C:\TOOLS | ||
|
||
REM | ||
REM Safety checks | ||
REM | ||
IF NOT EXIST .\INSTALL.BAT GOTO CHKFAIL | ||
IF NOT EXIST .\CONFIG\NUL GOTO CHKFAIL | ||
IF NOT EXIST .\TOOLS\NUL GOTO CHKFAIL | ||
GOTO CHKPASS | ||
:CHKFAIL | ||
ECHO. | ||
ECHO This script needs to be called from within the directory it is | ||
ECHO stored in. Please change the current working directory using CD. | ||
ECHO Aborting. | ||
ECHO. | ||
GOTO END | ||
:CHKPASS | ||
|
||
REM | ||
REM Backup existing configuration | ||
REM | ||
ECHO Backing up existing configuration... | ||
IF EXIST %CONFIG_DST%\AUTOEXEC.BAT COPY /Y %CONFIG_DST%\AUTOEXEC.BAT %CONFIG_DST%\AUTOEXEC.BAK >NUL | ||
IF EXIST %CONFIG_DST%\CONFIG.SYS COPY /Y %CONFIG_DST%\CONFIG.SYS %CONFIG_DST%\CONFIG.BAK >NUL | ||
IF NOT EXIST %CONFIG_DST%\MSDOS.SYS GOTO SKPBAK1 | ||
ATTRIB -S -H -R %CONFIG_DST%\MSDOS.SYS >NUL | ||
COPY /Y %CONFIG_DST%\MSDOS.SYS %CONFIG_DST%\MSDOS.BAK >NUL | ||
:SKPBAK1 | ||
|
||
REM | ||
REM Install new configuration | ||
REM | ||
ECHO Installing new configuration... | ||
COPY /Y CONFIG\AUTOEXEC.BAT %CONFIG_DST%\ >NUL | ||
COPY /Y CONFIG\CONFIG.SYS %CONFIG_DST%\ >NUL | ||
COPY /Y CONFIG\MSDOS.SYS %CONFIG_DST%\ >NUL | ||
ATTRIB +S +H +R %CONFIG_DST%\MSDOS.SYS >NUL | ||
|
||
REM | ||
REM Backup existing tools | ||
REM | ||
ECHO Backing up existing tools... | ||
IF NOT EXIST %TOOLS_DST%\NUL GOTO SKPBAK2 | ||
DELTREE /Y %TOOLS_DST%.BAK >NUL | ||
MOVE %TOOLS_DST% %TOOLS_DST%.BAK >NUL | ||
:SKPBAK2 | ||
|
||
REM | ||
REM Install new tools | ||
REM | ||
ECHO Installing new tools... | ||
XCOPY /S /Y TOOLS %TOOLS_DST%\ >NUL | ||
|
||
:END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Windows 98 SE DOS Mode | ||
Configuration and tools for Windows 98 SE DOS Mode. Created as an extension of the setup described by user [Nevets](https://www.youtube.com/channel/UC1TcLr9bclCxgpZ6kxj5Mpg) on YouTube (see [video 1](https://www.youtube.com/watch?v=HOXqgALpn9A), [video 2](https://www.youtube.com/watch?v=zWMJ3T8c2Us)). | ||
|
||
## Features | ||
|
||
- Start menu offering options to boot *Windows 98 SE*, *DOS Mode* and *DOS Mode with CD-ROM drivers* | ||
- Very memory-efficient mouse and CD-ROM drivers | ||
- CPU idle drivers | ||
- Script to conveniently edit *MSDOS.SYS* | ||
- Utilities to restart and shutdown system | ||
|
||
## Download | ||
Refer to the [releases](https://github.com/fonic/windows-98-se-dos-mode/releases) section for downloads links. | ||
|
||
## Installation | ||
1. Either extract the downloaded ZIP archive or mount the downloaded ISO using VirtualBox | ||
2. Change to the folder containing `INSTALL.BAT` (e.g. `CD D:\` if ISO was mounted as drive D) | ||
3. Run `INSTALL.BAT` | ||
|
||
Your existing configuration and tools will be backed up to `.BAK` files/folders. |
Binary file not shown.
Oops, something went wrong.