Well...

No Regret

Spaceman
I downloaded the techW0rm bootdisk from http://jason-n3xt.org/dos/twtw.htm and it works like a charm : I now got 630 kb of mem in Dos and can now play any old game I want. There's only 1 problem: no sound. I've tried to put my autoexec.bat souncard lines in the bootdsk's autoexec.bat, but it doesn't work. This bootdisk's autoexec is complicated beyond belief (mine anyway) so maybe somebody here has an idea.

my autoexec.bat:
SET BLASTER=A220 I7 D1 H7 P330 T6
SET SBPCI=D:\SBPCI


mode con codepage prepare=((850) D:\WINDOWS\COMMAND\ega.cpi)
mode con codepage select=850
keyb be,,D:\WINDOWS\COMMAND\keyboard.sys

the bootdisk's autoexec.bat:
@ECHO OFF


REM [- Copyright(c)2000 - The W0rm -]

GOTO V
:U
CLS
ECHO.
ECHO Insert Disk2 - Press any key to continue.
PAUSE>NUL
ECHO Aborting...
GOTO D
:V
CLS
IF "%CONFIG%"=="S2" GOTO F
IF "%CONFIG%"=="SS" GOTO F
IF "%CONFIG%"=="US" GOTO F
CTTY NUL
IF "%CONFIG%"=="D2" GOTO P
IF "%CONFIG%"=="D3" GOTO P
IF "%CONFIG%"=="BS" GOTO I
SET A=%0
IF "%CONFIG%"=="" IF "%1"=="" GOTO H
IF NOT "%CONFIG%"=="" GOTO B
GOTO S
:M
SHIFT
:S
IF NOT "%6"=="" GOTO H
IF "%1"=="/L" GOTO Z
IF "%1"=="/l" GOTO Z
IF "%1"=="-l" GOTO Z
IF "%1"=="-L" GOTO Z
IF "%1"=="/?" GOTO H
IF "%1"=="-?" GOTO H
IF "%1"=="-H" GOTO H
IF "%1"=="-h" GOTO H
IF "%1"=="/H" GOTO H
IF "%1"=="/h" GOTO H
IF "%1"=="/C" GOTO C
IF "%1"=="/c" GOTO C
IF "%1"=="-C" GOTO C
IF "%1"=="-c" GOTO C
IF "%1"=="/M" GOTO R
IF "%1"=="/m" GOTO R
IF "%1"=="-M" GOTO R
IF "%1"=="-m" GOTO R
IF "%1"=="/R" GOTO N
IF "%1"=="/r" GOTO N
IF "%1"=="-R" GOTO N
IF "%1"=="-r" GOTO N
IF "%1"=="/T" GOTO E
IF "%1"=="/t" GOTO E
IF "%1"=="-T" GOTO E
IF "%1"=="-t" GOTO E
IF "%1"=="" GOTO O
SET P=%P%%1
GOTO M
:B
SET PATH=A:\
SMARTDRV.EXE 980 0 /E:32768 /B:0 /U /Q
IF "%3"=="N" GOTO C
LH /S PROTECT.COM A:WP
IF EXIST MD5_FIC1.BAK MD5SUM.EXE -c MD5_FIC1.BAK
IF EXIST MD5_FIC1.BAK IF NOT ERRORLEVEL 1 GOTO A
CTTY CON
ECHO MD5-1 Check Failed!
CTTY NUL
GOTO L
:A
STB.COM A: BOOTSECT.BAK /C
IF NOT ERRORLEVEL 1 GOTO C
CTTY CON
ECHO Boot Sector Error!
CTTY NUL
:L
PAUSE
GOTO L
:C
IF NOT "%CONFIG%"=="" GOTO K
IF "%CONFIG%"=="" IF NOT EXIST VIDE-CDD.SYS GOTO J
LH /S DEVICE.COM VIDE-CDD.SYS
IF ERRORLEVEL 1 IF "%CONFIG%"=="" SET P=%P%%1
IF ERRORLEVEL 1 IF "%CONFIG%"=="" GOTO M
:K
IF "%5"=="N" GOTO R
IF "%CONFIG%"=="" IF NOT EXIST MSCDEX.EXE GOTO J
IF "%CONFIG%"=="" IF NOT EXIST SHSUCDX.EXE GOTO J
CTTY NUL
IF "%7"=="Y" LH /S MSCDEX.EXE /D:WTECD-01 /L:X
IF "%7"=="" LH /S SHSUCDX.EXE /D:WTECD-01,X
IF "%7"=="N" LH /S SHSUCDX.EXE /D:WTECD-01,X
IF ERRORLEVEL 1 IF "%CONFIG%"=="" SET P=%P%%1
IF "%CONFIG%"=="" GOTO M
:R
IF "%6"=="N" GOTO N
IF "%CONFIG%"=="" IF NOT EXIST CTMOUSE.COM GOTO J
CTMOUSE.COM /Y
IF ERRORLEVEL 1 IF "%CONFIG%"=="" SET P=%P%%1
IF "%CONFIG%"=="" GOTO M
:N
IF "%4"=="N" GOTO E
IF "%CONFIG%"=="" IF NOT EXIST XMSDSK.EXE GOTO J
IF NOT "%CONFIG%"=="D2" IF NOT "%CONFIG%"=="D3" XMSDSK.EXE 980 Z: /Y
IF "%CONFIG%"=="D2" XMSDSK 8000 Z: /Y
IF "%CONFIG%"=="D3" XMSDSK 8000 Z: /Y
IF "%CONFIG%"=="" IF NOT ERRORLEVEL 26 SET P=%P%%1
IF "%CONFIG%"=="" IF NOT ERRORLEVEL 26 GOTO M
IF NOT ERRORLEVEL 26 CTTY CON
IF NOT ERRORLEVEL 26 ECHO RamDrive Error!
IF NOT ERRORLEVEL 26 CTTY NUL
IF NOT ERRORLEVEL 26 GOTO E
IF "%CONFIG%"=="" IF NOT EXIST Z:\NUL SET P=%P%%1
IF "%CONFIG%"=="" IF NOT EXIST Z:\NUL GOTO M
IF NOT EXIST Z:\NUL CTTY CON
IF NOT EXIST Z:\NUL ECHO RamDrive Error!
IF NOT EXIST Z:\NUL CTTY NUL
IF NOT EXIST Z:\NUL GOTO E
IF EXIST Z:\*.* IF "%CONFIG%"=="" SET P=%P%%1
IF EXIST Z:\*.* IF "%CONFIG%"=="" GOTO M
IF EXIST Z:\*.* CTTY CON
IF EXIST Z:\*.* ECHO Ramdrive Error!
IF EXIST Z:\*.* CTTY NUL
IF EXIST Z:\*.* GOTO E
COPY *.COM Z:\ /Y
COPY *.EXE Z:\ /Y
IF "%CONFIG%"=="" GOTO Q
IF "%CONFIG%"=="D3" GOTO Q
IF "%3"=="N" GOTO Q
IF EXIST MD5_FIC2.BAK MD5SUM.EXE -c MD5_FIC2.BAK
IF EXIST MD5_FIC2.BAK IF NOT ERRORLEVEL 1 GOTO Q
CTTY CON
ECHO MD5-2 Check Failed!
CTTY NUL
GOTO L
:Q
Z:
IF NOT "%CONFIG%"=="" A:
Z:\ATTRIB.COM Z:\*.* +R
SET COMSPEC=Z:\COMMAND.COM
SET TEMP=Z:\
SET TMP=Z:\
SET PATH=Z:\;A:\
IF "%CONFIG%"=="" GOTO M
IF "%CONFIG%"=="D2" SET R=Z
IF "%CONFIG%"=="D2" CTTY CON
IF "%CONFIG%"=="D2" GOTO U
IF "%CONFIG%"=="D3" SET R=Z
IF "%CONFIG%"=="D3" CTTY CON
IF "%CONFIG%"=="D3" GOTO U
IF "%2"=="N" GOTO T
LH /S Z:\PERUSE.COM /X32
LH /S Z:\FCSH /S 1
LH /S Z:\DZ.COM /Install /Continue
LH /S Z:\ESCAPE.EXE
LH /S Z:\WBUF.EXE -B 60
LH /S Z:\ZENO.EXE /Q
LH /S Z:\KILLER.EXE
GOTO T
:E
IF "%CONFIG%"=="D2" GOTO W
IF "%CONFIG%"=="" GOTO W
IF "%3"=="N" GOTO W
IF EXIST MD5_FIC2.BAK MD5SUM.EXE -c MD5_FIC2.BAK
IF EXIST MD5_FIC2.BAK IF NOT ERRORLEVEL 1 GOTO W
CTTY CON
ECHO MD5-2 Check Failed!
CTTY NUL
GOTO L
:W
IF "%2"=="N" GOTO Y
IF "%CONFIG%"=="" IF NOT EXIST PERUSE.COM GOTO J
LH /S PERUSE.COM /X32
IF ERRORLEVEL 1 IF "%CONFIG%"=="" SET P=%P%%1
IF ERRORLEVEL 1 IF "%CONFIG%"=="" GOTO M
LH /S FCSH.COM /S 1
LH /S DZ.COM /Install /Continue
LH /S ESCAPE.EXE
LH /S WBUF.EXE -B 60
LH /S ZENO.EXE /Q
LH /S KILLER.EXE
:Y
IF "%CONFIG%"=="" GOTO M
SET TMP=
SET TEMP=
GOTO T
:H
CTTY CON
ECHO Usage: %A% [/C] [/M] [/R] [/T]
ECHO.
ECHO /C - Load CD-Rom Driver
ECHO /M - Load Mouse Driver
ECHO /R - Load an XMS Ramdrive
ECHO /T - Load TSRs
ECHO /L - List Partition Types
GOTO D
:I
CTTY CON
COMMAND /Y /C LH /S PROTECT.COM A:WP>NUL
ECHO.
COMMAND /Y /C SMARTDRV.EXE 980 0 /E:32768 /B:0 /U /Q
COMMAND /Y /C LH /S MSCDEX.EXE /D:WTECD-01 /L:X>NUL
ECHO.
COMMAND /Y /C LH /S SHSUCDX.EXE /D:WTECD-01,X>NUL
ECHO.
COMMAND /Y /C CTMOUSE.COM /Y>NUL
ECHO.
COMMAND /Y /C LH /S PERUSE.COM /X32>NUL
ECHO.
COMMAND /Y /C LH /S FCSH.COM /S 1>NUL
ECHO.
COMMAND /Y /C LH /S DZ.COM /Install /Continue>NUL
ECHO.
COMMAND /Y /C LH /S ESCAPE.EXE>NUL
ECHO.
COMMAND /Y /C LH /S WBUF.EXE -B 60>NUL
ECHO.
COMMAND /Y /C LH /S ZENO.EXE /Q>NUL
ECHO.
COMMAND /Y /C LH /S KILLER.EXE>NUL
ECHO.
COMMAND /Y /C KEYRATE.COM 0 0
COMMAND /Y /C LH /S REALDEAL.COM /per /garb /silent>NUL
ECHO.
COMMAND /Y /C LH /S UNIVBE.EXE>NUL
ECHO.
GOTO D
:p
SMARTDRV.EXE 980 0 /E:32768 /B:0 /U /Q
IF "%CONFIG%"=="D3" GOTO N
IF EXIST MD5_FIC1.BAK MD5SUM.EXE -c MD5_FIC1.BAK
IF EXIST MD5_FIC1.BAK IF NOT ERRORLEVEL 1 GOTO N
CTTY CON
ECHO MD5-1 Check Failed!
CTTY NUL
GOTO L
:O
CTTY CON
IF "%P%"=="" ECHO Finished.
IF NOT "%P%"=="" ECHO Finished - Switch(es) not recognized/loaded: [ %P%]
GOTO D
:J
CTTY CON
ECHO Error! You must be in: [ A:\ ]
GOTO D
:Z
CTTY CON
CLS
ECHO ID Name
ECHO ÄÄ ÄÄÄÄ
ECHO 00h empty
ECHO 01h DOS 12-bit FAT
ECHO 02h XENIX root file system
ECHO 03h XENIX /usr file system (obsolete)
ECHO 04h DOS 16-bit FAT (up to 32M)
ECHO 05h DOS 3.3+ extended partition
ECHO 06h DOS 3.31+ Large File System (16-bit FAT, over 32M)
ECHO 07h QNX
ECHO 07h OS/2 HPFS
ECHO 07h Windows NT NTFS
ECHO 07h Advanced Unix
ECHO 08h OS/2 (v1.0-1.3 only)
ECHO 08h AIX bootable partition, SplitDrive
ECHO 08h Commodore DOS
ECHO 08h DELL partition spanning multiple drives
ECHO 09h AIX data partition
ECHO 09h Coherent filesystem
ECHO 0Ah OS/2 Boot Manager
ECHO 0Ah OPUS
ECHO 0Ah Coherent swap partition
ECHO 0Bh Windows 95 with 32-bit FAT
ECHO 0Ch Windows 95 with 32-bit FAT (using LBA-mode INT 13 extensions)
PAUSE>NUL
ECHO 0Eh LBA VFAT (same as 06h but using LBA-mode INT 13)
ECHO 0Fh LBA VFAT (same as 05h but using LBA-mode INT 13)
ECHO 10h OPUS
ECHO 11h OS/2 Boot Manager hidden 12-bit FAT partition
ECHO 12h Compaq Diagnostics partition
ECHO 14h (using Novell DOS 7.0 FDISK to delete Linux Native part)
ECHO 14h OS/2 Boot Manager hidden sub-32M 16-bit FAT partition
ECHO 16h OS/2 Boot Manager hidden over-32M 16-bit FAT partition
ECHO 17h OS/2 Boot Manager hidden HPFS partition
ECHO 18h AST special Windows swap file
ECHO 1Bh Hidden Windows 95 with 32-bit FAT
ECHO 1Ch Hidden Windows 95 with 32-bit LBA FAT
ECHO 1Eh Hidden Windows 95 with LBA BIGDOS
ECHO 24h NEC MS-DOS 3.x
ECHO 38h Theos
ECHO 3Ch PowerQuest PartitionMagic recovery partition
ECHO 40h VENIX 80286
ECHO 41h Personal RISC Boot
ECHO 42h SFS (Secure File System) by Peter Gutmann
ECHO 4Fh Oberon
ECHO 50h OnTrack Disk Manager, read-only partition
ECHO 51h OnTrack Disk Manager, read/write partition
ECHO 51h NOVEL
ECHO 52h CP/M
PAUSE>NUL
ECHO 52h Microport System V/386
ECHO 53h OnTrack Disk Manager, write-only partition???
ECHO 54h OnTrack Disk Manager (DDO)
ECHO 56h GoldenBow VFeature
ECHO 61h SpeedStor
ECHO 63h Unix SysV/386, 386/ix
ECHO 63h Mach, MtXinu BSD 4.3 on Mach
ECHO 63h GNU HURD
ECHO 64h Novell NetWare 286
ECHO 65h Novell NetWare (3.11)
ECHO 67h Novell
ECHO 68h Novell
ECHO 69h Novell
ECHO 70h DiskSecure Multi-Boot
ECHO 75h PC/IX
ECHO 80h Minix v1.1 - 1.4a
ECHO 81h Minix v1.4b+
ECHO 81h Linux
ECHO 81h Mitac Advanced Disk Manager
ECHO 82h Linux Swap partition
ECHO 82h Prime
ECHO 82h Solaris
ECHO 83h Linux native file system (ext2fs/xiafs)
ECHO 84h OS/2-renumbered type 04h partition (hiding DOS C: drive)
PAUSE>NUL
ECHO 87h HPFS Fault-Tolerant mirrored partition
ECHO 93h Amoeba file system
ECHO 94h Amoeba bad block table
ECHO A5h FreeBSD, BSD/386
ECHO B7h BSDI file system (secondarily swap)
ECHO B8h BSDI swap partition (secondarily file system)
ECHO C1h DR DOS 6.0 LOGIN.EXE-secured 12-bit FAT partition
ECHO C4h DR DOS 6.0 LOGIN.EXE-secured 16-bit FAT partition
ECHO C6h DR DOS 6.0 LOGIN.EXE-secured Huge partition
ECHO C7h Syrinx Boot
ECHO D8h CP/M-86
ECHO DBh CP/M, Concurrent CP/M, Concurrent DOS
ECHO DBh CTOS (Convergent Technologies OS)
ECHO E1h SpeedStor 12-bit FAT extended partition
ECHO E3h DOS read-only
ECHO E3h Storage Dimensions
ECHO E4h SpeedStor 16-bit FAT extended partition
ECHO EBh BeOS partition
ECHO F1h Storage Dimensions
ECHO F2h DOS 3.3+ secondary partition
ECHO F4h SpeedStor
ECHO F4h Storage Dimensions
ECHO FEh LANstep
ECHO FEh IBM PS/2 IML
PAUSE>NUL
ECHO FFh Xenix bad block table
CTTY NUL
GOTO M
:T
KEYRATE.COM 0 0
:D
IF "%CONFIG%"=="BS" CTTY CON
IF "%CONFIG%"=="BS" CLS
CTTY NUL
SET A=
SET P=
CTTY CON
:F
SET CMDLINE=
SET CONFIG=

REM [- Copyright(c)2000 - The W0rm -]
 

Johnl12

Repairman
Your missing the DOS driver for your sound card. Which SB sound card do you have? Post your PC's autoexec.bat, config.sys and dosstart.bat files.
 

No Regret

Spaceman
It's a Creative CT5880 PCI

autoexec.bat:
SET BLASTER=A220 I7 D1 H7 P330 T6
SET SBPCI=D:\SBPCI


mode con codepage prepare=((850) D:\WINDOWS\COMMAND\ega.cpi)
mode con codepage select=850
keyb be,,D:\WINDOWS\COMMAND\keyboard.sys

config.sys:
DEVICE=D:\WINDOWS\HIMEM.SYS
DEVICE=D:\WINDOWS\EMM386.EXE
device=D:\WINDOWS\COMMAND\display.sys con=(ega,,1)
Country=031,850,D:\WINDOWS\COMMAND\country.sys
DOS=HIGH
dosstart.bat
D:\SBPCI\SBINIT

[Edited by No Regret on 05-18-2001 at 17:17]
 

Stinger

Vice Admiral
There we are; it's in your Dosstart file. Add these lines to the top of the bootdisk's autoexec.bat file:

SET BLASTER=A220 I7 D1 H7 P330 T6
SET SBPCI=D:\SBPCI
D:\SBPCI\SBINIT

[Edited by Stinger on 05-18-2001 at 17:20]
 

Johnl12

Repairman
Try this instead. The J200 is for your joystick.

SET BLASTER=A220 I7 D1 H7 P330 T6 J200
SET CTSYN=C:\WINDOWS
SET SBPCI=D:\SBPCI
D:\SBPCI\SBINIT
 

Johnl12

Repairman
Your bootdisk for sure.

You can add it to your pc autoexec.bat too. This would also add SB16 Emulation to your pc. But first check the Device Manager for "Creative SB16 Emulation" to see if it already installed.
 

cff

Kilk'dymga'qith laq Ik'vikvi
Originally posted by No Regret
I tried both and for both Qemm gives me an error. Any suggestions?
You probably need to rerun 'optimize' of QEMM to include the new TSR. If that does not work I have to agree with the last poster - too complicated to tell a bug.

Actually I don't understand part of that command. Like the MD5 stuff?!? Looks like the file does way more (unhealthy stuff?) then normal startup
 

Stinger

Vice Admiral
That autoexec does a lot of jumping around within the file -- the attempt, I presume, by the author to support as many configurations as possible. Unfortunately, when you have a configuration not covered by that autoexec, it's rather difficult for anyone but the original author to fix.
 
Top