El_Pescador
Ok--so back to your question in reply # 67:
Quote:If you were inclined to "pull-out-all-the-stops", then how, where and with what switches/options would you incorporate the *emm386.exe/himem.sys/DOS=high,umb* combo into NightOwl's Panasonic Universal USB Driver routine?
First--I probably wouldn't--as I mentioned previously--*emm386.exe* does not help Ghost work any better--just changes how much conventional memory is available--
but Ghost doesn't need that extra memory
!
*Himem.sys* may be needed by some systems--but probably rarely.
But here goes. First, I *rem*'d (remarked out--this prevents that line from loading during boot) those lines that I did not want to load for the first screen shot--this will be loading the device drivers all in *conventional memory*:
[config.sys]
rem Device=himem.sys
rem Device=emm386.exe ram
Device=usb\usbaspi.sys /v /w /norst
Device=usb\di1000dd.sys
rem Dos=high
Lastdrive=z
[autoexec.bat]
@echo off
SET TZ=GHO+08:00
path=a:\;a:\ghost;a:\usb
mouse.com
rem echo Loading...
rem cd Ghost
rem ghost.exe
[list of files and sub-directories]
[Ghost] (sub-directory--empty)
[USB] (sub-directory--usb drivers)
AUTOEXEC.BAT
COMMAND.COM
CONFIG.SYS
EDIT.COM (optional to edit config.sys or autoexe.bat)
EMM386.EXE
HIMEM.SYS
IO.SYS
MEM.EXE (DOS program to show memory usage)
mouse.com
MSDOS.SYS
[USB]
di1000dd.sys
Usbaspi.sys
So, after loading--here's the screen shot of the memory usage from the *mem.exe* program:
There's 640 k of conventional memory, 133 k used by the loaded drivers, and 507 k available for running programs. No Upper Memory (blocks) (UMB) is available.
*****************************************************
Now--un-rem'd the *Device=himem.sys* and *DOS=High*:
[config.sys]
Device=himem.sys
rem Device=emm386.exe ram
Device=usb\usbaspi.sys /v /w /norst
Device=usb\di1000dd.sys
Dos=high
Lastdrive=z
[autoexec.bat]
@echo off
SET TZ=GHO+08:00
path=a:\;a:\ghost;a:\usb
mouse.com
rem echo Loading...
rem cd Ghost
rem ghost.exe
Now, you see in the last line that DOS is loaded in *high memory area* (HMA), still no UMB's, and now you have 569 k available to run a DOS program.
*****************************************************
Now, un-rem'd *Device=emm386.exe ram*, added *DeviceHigh* for loading drivers in config.sys, and used *LH* (LoadHigh) to load drivers in autoexec.bat:
[config.sys]
Device=himem.sys
Device=emm386.exe ram
DeviceHigh=usb\usbaspi.sys /v /w /norst
DeviceHigh=usb\di1000dd.sys
Dos=high, umb
Lastdrive=z
[autoexec.bat]
@echo off
SET TZ=GHO+08:00
path=a:\;a:\ghost;a:\usb
LH mouse.com
rem echo Loading...
rem cd Ghost
rem ghost.exe
So, now there is 79 k UMB's to use, of which 57 k is in use and there is 622 k available for running DOS programs.
*****************************************************
Finally--if you use those additional USB DOS drivers, *ghost.exe* can no longer fit on the initial boot disk--you have to go to a 2-disk set--disk #1 for the boot files, and disk #2 for *ghost.exe*. So, below I'm going to *pull out all the stops* and outline both disk #1 and disk #2--and just to make it a *complete* DOS boot disk set, I'm adding the CD-ROM drivers as well!
[config.sys]
Device=himem.sys
Device=emm386.exe ram
DeviceHigh=usb\usbaspi.sys /v /w /norst
DeviceHigh=usb\di1000dd.sys
DeviceHigh=oakcdrom.sys /d:nightowl
Dos=high, umb
Lastdrive=z
[autoexec.bat]
@echo off
SET TZ=GHO+08:00
path=a:\;a:\ghost;a:\usb
LH mouse.com
LH mscdex.exe /d:nightowl /l:x /m:16 /v
cls
echo.
echo.
echo Boot Disk #1 has finished loading.
echo.
echo Eject Disk #1, and put in Disk #2.
echo.
echo *Press any key* when you are ready to continue.
pause
echo Loading...
cd Ghost
ghost.exe
[list of files and sub-directories]
[Ghost] (sub-directory--empty)
[USB] (sub-directory--usb drivers)
AUTOEXEC.BAT
COMMAND.COM
CONFIG.SYS
EDIT.COM (optional to edit config.sys or autoexe.bat)
EMM386.EXE
HIMEM.SYS
IO.SYS
mouse.com
mscdex.exe
MSDOS.SYS
oakcdrom.sys
[USB]
di1000dd.sys
Usbaspi.sys
[Ghost] (empty on boot disk #1)
[Disk #2--*ghost.exe* disk]
[list of files and sub-directories for disk #2]
[Ghost] (sub-directory--copy your *ghost.exe* to this sub-directory)
AUTOEXEC.BAT
COMMAND.COM
[Ghost]
ghost.exe
Notes:
1. For disk #2, the *autoexec.bat* and *command.com* are the same files as you used on disk #1--placing these on the second floppy disk simply avoids having DOS giving you an error message about being unable to find *command.com* or asking you to put in the first boot disk because it's looking for *autoexec.bat* to see if the batch file was completed.
2. Personally, I would *rem* out the *emm386.exe* line--one can just leave the *devicehigh* and *LH* statements--they will simply be ignored without *emm386.exe*.