Real Mode Drivers? Additions to autoexec.bat and config.sys
Results 1 to 4 of 4

Thread: Real Mode Drivers? Additions to autoexec.bat and config.sys

  1. #1
    Join Date
    Mar 2000
    Location
    Davis, CA, USA
    Posts
    277

    Real Mode Drivers? Additions to autoexec.bat and config.sys

    I am experimenting with OEM installations and to this end I'm using a piece of configuration software called opkwiz (OEM Preinstallation Kit Wizard). One step in the preinstallation is done in DOS mode and the configuration calls for "real mode drivers" to be added to autoexec.bat and/or config.sys files.

    What are "real mode drivers" and how should I look for what these additions should be?

    ------------------
    Build your own computer... An Introduction

  2. #2
    Join Date
    Feb 2000
    Location
    26.03°N 80.14°W
    Posts
    9,410
    Source, Webopedia > real mode:
    An execution mode supported by the Intel 80286 and later processors. In real mode, these processors imitate the Intel 8088 and 8086 microprocessors, although they run much faster. The other mode available is called protected mode. In protected mode, programs can access extended memory and virtual memory. Protected mode also supports multitasking. The 80386 and later microprocessors support a third mode called virtual 8086 mode. In virtual mode, these microprocessors can run several real-mode programs at once.

    The DOS operating system was not designed to take advantage of protected mode, so it always executes programs in real mode unless a protected mode extender is run first.
    Here's a fairly typical example of a C:\CONFIG.SYS and C:\AUTOEXEC.BAT file on a system running MS-DOS 5.00+ and Windows 3.1 that load several device drivers:

    CONFIG.SYS:
       device=c:\windows\himem.sys /testmemff
       device=c:\windows\emm386.exe ram
       dos=high,umb
       buffers=20,0
       files=60
       lastdrive=g
       fcbs=4,0
       devicehigh=c:\cd-rom\atapi.sys /d:mscd000 /n:1
       devicehigh=c:\dos\ansi.sys
       shell=c:\windows\command.com c:\windows /e:512 /p /f

    AUTOEXEC.BAT:
       @echo off
       lh c:\dos\mscdex.exe /d:mscd000 /v
       lh c:\windows\smartdrv.exe 4096 /v
       lh c:\mouse\mouse.exe
       lh c:\dos\doskey.exe /insert
       path=c:\bat;c:\util;c:\dos;c:\windows
       prompt $p$g



    [This message has been edited by Vernon Frazee (edited 04-04-2002).]
    Vernon Frazee, Microsoft MVP (Windows - Shell/User)

    Defenses Up!
    Tip: When prompted for a password, give an incorrect one first. A phishing site will accept it; a legitimate one won't.


    Inside Spyware: A Guide to Finding, Removing and Preventing Online Pests


    If you don't keep up with security fixes, your computer|network won't be yours for long.

  3. #3
    Join Date
    Mar 2000
    Location
    Davis, CA, USA
    Posts
    277
    Thank you for that superb post. I was fortunate to see verification of the information you provide in a DOS driver package for my Sanyo CDROM drive. I was able to configure a startup disk that included CDROM support using the MSCDEX line in my autoexec.bat file and device= line in my config.sys file.

    ------------------
    Build your own computer... An Introduction

  4. #4
    Join Date
    Feb 2000
    Location
    26.03°N 80.14°W
    Posts
    9,410
    You're Welcome, and Thanks! Good to hear you got her up and running.
    Vernon Frazee, Microsoft MVP (Windows - Shell/User)

    Defenses Up!
    Tip: When prompted for a password, give an incorrect one first. A phishing site will accept it; a legitimate one won't.


    Inside Spyware: A Guide to Finding, Removing and Preventing Online Pests


    If you don't keep up with security fixes, your computer|network won't be yours for long.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •