Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Dealing with startup files  (Read 45659 times)

0 Members and 1 Guest are viewing this topic.

Neelix

    Topic Starter


    Starter

    • Experience: Experienced
    • OS: Linux variant
    Dealing with startup files
    « on: October 13, 2022, 02:01:47 AM »
    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



      Sage
    • Thanked: 662
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: Dealing with startup files
    « Reply #1 on: October 18, 2022, 06:33:40 PM »
    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

      Topic Starter


      Starter

      • Experience: Experienced
      • OS: Linux variant
      Re: Dealing with startup files
      « Reply #2 on: November 18, 2022, 07:53:33 AM »
      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

      • Moderator


      • Genius
      • Maud' Dib
      • Thanked: 1769
        • Yes
      • Experience: Beginner
      • OS: Windows 7
      Re: Dealing with startup files
      « Reply #3 on: November 18, 2022, 08:30:17 PM »
      Post your current autoexec bat and config files...
      " Anyone who goes to a psychiatrist should have his head examined. "

      Neelix

        Topic Starter


        Starter

        • Experience: Experienced
        • OS: Linux variant
        Re: Dealing with startup files
        « Reply #4 on: November 19, 2022, 06:34:27 AM »
        Here are my startup files.
        AUTOEXEC.BAT:
        Code: [Select]
        @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:
        Code: [Select]
        [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