Page 3 of 4

Posted: 2014-07-07 06:25
by Steven W
Haven't really tested, but a quick look I'd suggest something like this for the autoexec.bat:

Code: Select all

@ECHO OFF
set EXPAND=YES
SET DIRCMD=/O:N
cls
set temp=c:set tmp=c:path=a:
IF "%config%"=="NOCD" GOTO QUIT
IF "%config%"=="SETUP_CD" GOTO AUTOSETUP
IF "%config%"=="CD" GOTO CDSET
LH MSCDEX.EXE /D:usbcd001
GOTO QUIT

:AUTOSETUP
LH MSCDEX.EXE /D:oemcd001
cd D:WIN98
echo.
OEMSETUP.EXE /K "/IE /NF"
goto QUIT

:CDSET
LH MSCDEX.EXE /D:oemcd001
goto quit

:NOCDROM
echo.
echo The Windows 98 Setup files were not found.
echo.

:QUIT

Posted: 2014-07-07 10:30
by PROBLEMCHYLD
Update

IMAGE1.TXT
Rename .TXT to BIN or ISO
(1.41 MiB) Downloaded 1441 times

Posted: 2014-07-07 17:55
by techtalk.cc
Steven W wrote:...Rename it boot.img, apparently IMG files aren't "allowed". :thumbup:

No need to rename those files anymore.

The .IMG file extension is now allowed in our "Archive" file extension group. :relaxed:

Posted: 2014-07-07 18:00
by techtalk.cc
PROBLEMCHYLD wrote:...Replace .TXT with .BIN .ISO...

.BIN and .ISO are also added and allowed now. (and .IMG) :relaxed:

Posted: 2014-07-07 22:39
by Steven W
PROBLEMCHYLD, jo.sys is kinda slick, never saw it before. Are you still having issues? If so, what are they?

Posted: 2014-07-07 22:45
by PROBLEMCHYLD
My problem is the driver detects the USB but doesn't assign a driver letter. Here is a Beta 3

IMAGE1.BIN
Beta 3 Win98 Boot Image with USB support.
(1.41 MiB) Downloaded 4593 times

Posted: 2014-07-07 23:22
by Steven W
Not sure about the findcd.exe stuff haven't ever really used it. You're making a couple of boo-boos in the autoexec.bat. The line "LH MSCDEX.EXE /d:oemcd001" needs loaded before findcd.exe is ran. You also need to cover the CD option from config.sys, just loading the CD driver. If you look at the way I have it below, if you did NOT choose any of the three options I have in the "IF "%config%"==" line then it will load the USB option. Get it? It's the only option left.

Code: Select all

@ECHO OFF
set EXPAND=YES
SET DIRCMD=/O:N
cls
set temp=c:set tmp=c:path=a:
IF "%config%"=="NOCD" GOTO QUIT
IF "%config%"=="SETUP_CD" goto AUTOSETUP
IF "%config%"=="CD" goto LOADCD
LH MSCDEX.EXE /d:usbcd001
echo.
GOTO QUIT

:AUTOSETUP
LH MSCDEX.EXE /d:oemcd001
set CDROM=FOO23
FINDCD.EXE
if "%CDROM%"=="FOO23" goto NOCDROM
path=a:;%CDROM%%CDROM%
cd WIN98
echo.
OEMSETUP.EXE /K "/IE /NF"
goto QUIT

:LOADCD
LH MSCDEX.EXE /d:oemcd001
goto QUIT

:NOCDROM
echo.
echo The Windows 98 Setup files were not found.
echo.

:QUIT

Posted: 2014-07-07 23:23
by Steven W
I replied before your "BETA 3" reply!

Posted: 2014-07-07 23:38
by Steven W
http://www.freedos.org/technotes/technote/203.html

Looks like you might be missing the USBCD.SYS.

also, the switches? /w /w -- that can't be right.

device=himemx.exe /testmem:off
device=USBASPI.SYS /v /w /e
device=DI1000DD.SYS
device=USBCD.SYS /d:USBCD001

Maybe? If that doesn't work, try:

device=himemx.exe /testmem:off
devicehigh=USBASPI.SYS /v /w /e
devicehigh=DI1000DD.SYS
devicehigh=USBCD.SYS /d:USBCD001

Also mod your autoexec.bat with mine from above.

Posted: 2014-07-07 23:48
by PROBLEMCHYLD
USBCD.SYS is NOT needed. That is what DI1000DD.SYS is for. They do the exact same thing.
USBASPI.SYS /w /w is NEEDED or the driver will NOT work. This was quoted from MDGx, and he was right on the money. This was the only way to even get the driver to load properly.