Dealing with startup files

Started by Neelix, October 13, 2022, 02:01:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Neelix

Hi,

I'm modifying a startup floppy based on MS-DOS 7.1 and Windows 3.11.

Therefore, I need to launch some DOS commands to extract drivers so that CONFIG.SYS could load them.

e.g. EMM386, that I need to compress to gain place on the disk. It is needed to get upper memory. Without that, the system couldn't be extracted from the CAB file I created.

Could someone help, please ?

DaveLembke

What are the specs of the computer and is your intent to having everything run within the limitations of the 1.44MB floppy or is this going to build to a hard drive at C:  ?

Neelix

Hi,

Thank you for your interest on my problem.

Sorry, I didn't access the forum the last times.

Actually, I'm working on a virtual machine. I tried on virtual box, as well as PCEM machines with 16MB RAM and, for the PCEM
machines, Intel 486DX33 processor and IDE HDD and CDROM.

The system is intended to load into a 3072kB ramdrive.

patio

Post your current autoexec bat and config files...
" Anyone who goes to a psychiatrist should have his head examined. "

Neelix

Here are my startup files.
AUTOEXEC.BAT:
@ECHO OFF
SET RAMDRIVE=?:
LH TDSK.EXE

ECHO Extraction des fichiers de Winlight ...
LH EXTRACT /E /L %RAMDRIVE%\ Winlight.cab >nul
%RAMDRIVE%

GOTO %config%

:WINLIGHT
:NOUSB
LH KEYBFR.COM
:NOKEYB
IF NOT %config%==NOUSB LH DUSELDR.COM DUSE.EXE
LH MSCDEX.EXE /D:CDROM001 /D:USBCDROM

:MINI
PATH=%RAMDRIVE%\WINSYS;%RAMDRIVE%\
SET TEMP=%RAMDRIVE%\TEMP
LH DOSIDLE.EXE
CLS
ECHO Winlight Deluxe par Tomb Core - www.win3x.org
ECHO Doslight : base MS-DOS 7.1
ECHO Winlight : base MS Windows pour Workgroups 3.11
ECHO Noyau Windows 3.1 386 en mode standard
ECHO Tapez 'win' pour d,marrer Winlight Deluxe
IF %config%==WINLIGHT WIN


CONFIG.SYS:
[MENU]
MENUITEM=WINLIGHT, Demarrer Winlight (d,faut)
MENUITEM=NOUSB, Sans USB Mass Storage
MENUITEM=NOKEYB, Sans clavier francais
MENUITEM=MINI, Demarrer Doslight minimum
MENUDEFAULT=WINLIGHT, 5
MENUCOLOR=1,4

[COMMON]
DEVICE=HIMEM.SYS /TESTMEM:OFF
DOS=HIGH
DEVICEHIGH=TDSK.EXE 3072 /E

[WINLIGHT]
DOS=UMB
DEVICEHIGH=CDROMDRV.SYS /D:CDROM001

[NOUSB]
DEVICE=HIMEM.SYS /TESTMEM:OFF
DEVICEHIGH=CDROMDRV.SYS /D:CDROM001

[NOKEYB]
DEVICE=HIMEM.SYS /TESTMEM:OFF
DEVICEHIGH=CDROMDRV.SYS /D:CDROM001

[MINI]
DEVICE=HIMEM.SYS /TESTMEM:OFF