+ Post New Thread
Results 1 to 16 of 16
  1. #1
    Advanced Member level 1
    Points: 2,341, Level: 11

    Join Date
    Aug 2011
    Posts
    428
    Helped
    35 / 35
    Points
    2,341
    Level
    11

    How to load the drivers for mouse & keyboard from MS-DOS ?

    How to load the drivers for mouse & keyboard from MS-DOS ?

    the system has MS-DOS and a bootable software that always boots up automatically in MS-DOS whenever the PC is turned on ...

    the software is of a machine

    thanks

  2. #2
    Advanced Member level 4
    Points: 9,833, Level: 23
    FoxyRick's Avatar
    Join Date
    Jan 2004
    Location
    England, UK
    Posts
    1,249
    Helped
    324 / 324
    Points
    9,833
    Level
    23

    Re: How to load the drivers for mouse & keyboard from MS-DOS ?

    Generally, if you have a mouse.com file, then that is put into the autoexec.bat. If you have a mouse.sys then that is put into the config.sys. You don't usually need a keyboard driver unless you have a non-standard keyboard; if you do, the procedure will be similar to that for the mouse.

    For instance:

    In autoexec.bat, you simply need the line:

    Code:
    c:\mouse.com
    or perhaps, to load the driver into high memory:

    Code:
    LH c:\mouse.com
    For config.sys, add the line:

    Code:
    device=mouse.sys
    If I helped you, press the 'Helped Me' button. Please do not PM me with questions, unless it is a personal matter.



  3. #3
    Advanced Member level 1
    Points: 2,341, Level: 11

    Join Date
    Aug 2011
    Posts
    428
    Helped
    35 / 35
    Points
    2,341
    Level
    11

    Re: How to load the drivers for mouse & keyboard from MS-DOS ?

    how can i check that i have mouse.com file ?
    How to put in autoexec.bat ?



    •   AltAdvertisement

        
       

  4. #4
    Full Member level 4
    Points: 1,381, Level: 8
    mgate's Avatar
    Join Date
    Apr 2012
    Location
    Portugal
    Posts
    197
    Helped
    37 / 37
    Points
    1,381
    Level
    8

    Re: How to load the drivers for mouse & keyboard from MS-DOS ?

    You need to edit autoexec.bat

    you can use dos editor.. On msdos command line write:

    Code:
    c:
    cd\
    edit autoexec.bat
    check this page:

    autoexec.bat explanation1
    autoexec.bat explanation2

    you need to find your keyboard layout codepage

    example1:
    Code:
    @ECHO OFF
    LH /L:2 C:\WINDOWS\COMMAND\MSCDEX /D:MSCD000 /M:15 /E /S /L:D /V
    LH /L:0;2 /S C:\WINDOWS\COMMAND\SMARTDRV 2048 16 /V
    C:\WINDOWS\COMMAND\MODE CON RATE=32 DELAY=2
    C:\WINDOWS\COMMAND\MODE CON CP PREP=((865) C:\WINDOWS\COMMAND\EGA.CPI)
    C:\WINDOWS\COMMAND\MODE CON CP SEL=865
    LH /L:2 C:\WINDOWS\COMMAND\KEYB DK,865,C:\WINDOWS\COMMAND\KEYBOARD.SYS
    LH /L:2 C:\MOUSE\MOUSE
    LH /L:2 C:\WINDOWS\COMMAND\DOSKEY /INSERT
    PROMPT $p$g
    PATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\CTSND
    SET DIRCMD=/P /A
    SET TEMP=C:\WINDOWS\TEMP
    SET TMP=C:\WINDOWS\TEMP
    SET SOUND=C:\CTSND
    SET BLASTER=A220 I5 D1 H5 P330 T6
    SET MIDI=SYNTH:1 MAP:G
    C:\CTSND\DIAGNOSE /S
    C:\CTSND\SB16SET /P
    example2
    Code:
    @echo off
    LH C:\DOS\SMARTDRV.EXE
    PROMPT $p$g
    PATH C:\DOS;C:\NET
    SET TEMP=C:\TEMP
    MODE CON CODEPAGE PREPARE=((437) C:\DOS\EGA.CPI)
    MODE CON CODEPAGE SELECT=437
    C:\MOUSE\MOUSE.EXE
    LH KEYB UK,,C:\DOS\KEYBOARD.SYS


    you also need to edit config.sys


    1 members found this post helpful.

  5. #5
    Advanced Member level 1
    Points: 2,341, Level: 11

    Join Date
    Aug 2011
    Posts
    428
    Helped
    35 / 35
    Points
    2,341
    Level
    11

    Re: How to load the drivers for mouse & keyboard from MS-DOS ?

    Just put that above mentioned text in the autoexec.bat ?

    ---------- Post added at 22:55 ---------- Previous post was at 22:49 ----------

    the code in example 1 & example 2 be pasted in autoexec.bat ? and exit autoexec.bat then ?

    Are these 2 codes for mouse or for mouse & keyboard both ?



  6. #6
    Full Member level 4
    Points: 1,381, Level: 8
    mgate's Avatar
    Join Date
    Apr 2012
    Location
    Portugal
    Posts
    197
    Helped
    37 / 37
    Points
    1,381
    Level
    8

    Re: How to load the drivers for mouse & keyboard from MS-DOS ?

    No... This are examples of the autoexec.bat part of keyboard codepage definition and mouse driver loading... you will also need to edit config.sys

    If you need more help please specify keybourd country and layout... and MS-DOS version



  7. #7
    Super Moderator
    Points: 81,755, Level: 69
    Achievements:
    7 years registered
    Awards:
    2nd Helpful Member
    betwixt's Avatar
    Join Date
    Jul 2009
    Location
    Aberdyfi, West Wales, UK
    Posts
    13,410
    Helped
    4472 / 4472
    Points
    81,755
    Level
    69

    Re: How to load the drivers for mouse & keyboard from MS-DOS ?

    And at the DOS prompt, try typing 'help', all the information on autoexec.bat and config.sys is available in the help files. Both are simply text files, Config.sys is loaded first and contains instructions to load resident device drivers and configure them, then 'autoexec.bat' is processed line by line exactly as though the lines had been typed at the keyboard.

    To see if you have a mouse.com file, just type 'dir'. It will list all the files in the current directory as long as their hidden attribute isn't turned on.

    Brian.
    PLEASE - no friends requests or private emails, I simply don't have time to reply to them all.
    It's better to share your questions and answers on Edaboard so we can all benefit from each others experiences.


    1 members found this post helpful.

    •   AltAdvertisement

        
       

  8. #8
    Advanced Member level 1
    Points: 2,341, Level: 11

    Join Date
    Aug 2011
    Posts
    428
    Helped
    35 / 35
    Points
    2,341
    Level
    11

    Re: How to load the drivers for mouse & keyboard from MS-DOS ?

    nothing helped me out in this regard



  9. #9
    Advanced Member level 5
    Points: 12,689, Level: 27
    Achievements:
    7 years registered

    Join Date
    Apr 2010
    Posts
    1,927
    Helped
    413 / 413
    Points
    12,689
    Level
    27

    Re: How to load the drivers for mouse & keyboard from MS-DOS ?

    Quote Originally Posted by danishdeshmuk View Post
    nothing helped me out in this regard

    (in your first post you wrote:)


    How to load the drivers for mouse & keyboard from MS-DOS ?

    the system has MS-DOS and a bootable software that always boots up automatically in MS-DOS whenever the PC is turned on ...

    the software is of a machine
    are you trying to load a new mouse driver in ms-dos ?
    what is its interface?(usb/serial?)

    can you elaborate:

    ....the software is of a machine...?



  10. #10
    Advanced Member level 1
    Points: 2,341, Level: 11

    Join Date
    Aug 2011
    Posts
    428
    Helped
    35 / 35
    Points
    2,341
    Level
    11

    Re: How to load the drivers for mouse & keyboard from MS-DOS ?

    yeah in ms dos ........ serial interface

    yeah the software of a machine ..... its the software of a printing machine's A.R.C to control the registrations of the color ......... Kesai is the manufacturer of that software interface



  11. #11
    Advanced Member level 5
    Points: 12,689, Level: 27
    Achievements:
    7 years registered

    Join Date
    Apr 2010
    Posts
    1,927
    Helped
    413 / 413
    Points
    12,689
    Level
    27

    Re: How to load the drivers for mouse & keyboard from MS-DOS ?

    Quote Originally Posted by danishdeshmuk View Post
    yeah in ms dos ........ serial interface

    yeah the software of a machine ..... its the software of a printing machine's A.R.C to control the registrations of the color ......... Kesai is the manufacturer of that software interface
    as indicated in previous posts by other mebmers , check whether you have mouse driver already installed.
    (it is in config.sys) file.
    if already installed , then you might have connected mouse to com2 instead of com1 , i guess.



  12. #12
    Super Moderator
    Points: 261,282, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    45,648
    Helped
    13881 / 13881
    Points
    261,282
    Level
    100

    Re: How to load the drivers for mouse & keyboard from MS-DOS ?

    You didn't mention at all, which function you are exactly missing. You initially asked for mouse and keyboard driver, but I guess the keyboard is working?



  13. #13
    Advanced Member level 1
    Points: 2,341, Level: 11

    Join Date
    Aug 2011
    Posts
    428
    Helped
    35 / 35
    Points
    2,341
    Level
    11

    Re: How to load the drivers for mouse & keyboard from MS-DOS ?

    the keyboard is not working at the software interface or for the software interface ...... but it does work when i exit the application (software) then a black screen comes up (i.e. DOS) and here you can use your keyboard & the keyboard works fine at DOS environment ............



    •   AltAdvertisement

        
       

  14. #14
    Super Moderator
    Points: 261,282, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    45,648
    Helped
    13881 / 13881
    Points
    261,282
    Level
    100

    Re: How to load the drivers for mouse & keyboard from MS-DOS ?

    This suggests, that your software uses a special keyboard driver or is expecting a particular hardware. I didn't came across this problem for keyboards, but I remember that early DOS applications have been interfacing the mouse directly though COM ports, relying on specific mouse products and a setup in the software.

    In other words, the initial question "how to load drivers..." is probably missing the problem. Finding out the exact hard- and software requirements of your software is the necessary first step.



  15. #15
    Advanced Member level 1
    Points: 2,341, Level: 11

    Join Date
    Aug 2011
    Posts
    428
    Helped
    35 / 35
    Points
    2,341
    Level
    11

    Re: How to load the drivers for mouse & keyboard from MS-DOS ?

    so how to do that ? i mean how to fined exact hardware & software requirements for the software ?



  16. #16
    Super Moderator
    Points: 261,282, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    45,648
    Helped
    13881 / 13881
    Points
    261,282
    Level
    100

    Re: How to load the drivers for mouse & keyboard from MS-DOS ?

    Should be written in a software user's manual.



--[[ ]]--