Bart's utilities page
Last updated on Jul 26, 2002
Introduction
This page is created to list all the small utilities and tools I have created
over the years. It's all freeware or nu2-license.
JO.SYS
Looking for JO.SYS?
Disktool
DISKTOOL v1.2 (49KB)
Platform: Dos
This is a generic harddisk testing tool. It works on
ALL disks that are
controlled by the BIOS, ATAPI/SCSI/RAID.
It accesses the drive by INT13 and INT13 extensions.
You can customize how the tests are run, in what order, how many loops...
You can also run it in "batch" mode, for burn-in testing.
Click
here to see a screenshot.
Ettool
ETTOOL v1.4 (2KB)
Platform: Dos
A tool for various El Torito functions. Currently supported El-Torito
functions are: "status", "get boot media type" and
"terminate disk emulation".
v1.4: Created a workaround for some bad Compaq and Dell bioses.
v1.3: Does now also finds the correct driver number for the
booted CD-Rom on a Dell PC with
very buggy BIOS. The Dell BIOS does
not clear the carry flag after a succesfull eltorito status call (int13/ax=4b01h).
Eltorito.sys now ignores the carry flag, and looks at the specification packet size field.
Other PC's also based on Phoenix BIOS version 1.10, maybe also
benefit from this "workaround".
Etdump
Does El-Torito status (INT13h/AX=4b01h) scan from drive number 0xff until 0x80
Prints carry flag and specification packet in hex.
Platform: Dos (when booted from CD-Rom in no-emulation mode!)
Download link:
El-Torito Dump v1.2 (4KB)
| ETDUMP usage |
El-Torito Dump v1.2
Copyright (c) 2002 Bart Lagerweij. All rights reserved.
This program is free software. Use and/or distribute it under the terms
of the NU2 License (see nu2lic.txt or http://www.nu2.nu/license/).
http://www.nu2.nu/utils/
Does El-Torito status (INT13h/AX=4b01h) scan from drive number 0xff until 0x80
Prints carry flag and specification packet in hex.
Returns:
<drive>: <CF> <Specification packet>
This program helps you find out if you have bad El-Torito BIOS support.
FF: CF=1 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
82: CF=1 13 40 82 01 66 57 00 00 00 00 00 00 00 00 04 00 A7 A0 3F
*
80: CF=1 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
Ram
RAM v1.4 (7KB)
Platform: Dos
Protected mode memory tester. A very small program written in 100% assembler,
to test the memory of your PC, in protected mode. It can test up to 4GB!
Just cleanboot your PC and run it.
PCIscan
PCISCAN v1.10 (23KB)
Platform: Dos
PCI bus scanner/detector. PCISCAN gives you "PCI PnP support for
Dos", almost in the same way that windows 9x does. It uses a
"map" file (win9x uses a .inf file) which lists the PCI device(s)
to scan for, and returns a string containing the name of the driver to be
loaded (it can return anything you like).
PCISCAN is not like most PCI utilities!
Most PCI utilities are PCI/AGP device reporters, they give you a lot of
technical PCI/AGP information.
PCISCAN is the tool you want to use on your bootdisks to autodetect what
PCI driver to load for your system.
PCISCAN is used in the
CDBOOT diskette.
FindCD
FINDCD v1.02 (1KB)
Platform: Dos
CD-ROM find utility.
Also used in the
CDBOOT diskette.
FindCD v1.02, (c) 2000-2001, Bart Lagerweij
27 nov 2001, http://www.nu2.nu/contact/bart
This software is FREEWARE!
Used to find CD-Rom drive letters.
It can be used in MS-Dos, Windows 9x/ME.
Usage: findcd <option>
Option: -a All CD-Rom drive letters
-r Ready CD-Rom drive letters (with media)
-f<file> CD-Rom drive letters containing
sample: findcd -f\i386\setupldr.bin
-e Return errorlevel only
Returns errorlevel:
255: When CD-Rom extensions (MSCDEX) are not loaded
254: No drive(s) found
0-25: Drive letter of first CD-Rom (0=A, 1=B, ...)
|
Here is an example on how to use it in a batchfile:
...
set cddrv=
findcd -f\autorun.bat -e
if errorlevel 254 goto _find1
if errorlevel 0 set cddrv=A:
if errorlevel 1 set cddrv=B:
if errorlevel 2 set cddrv=C:
if errorlevel 3 set cddrv=D:
if errorlevel 4 set cddrv=E:
if errorlevel 5 set cddrv=F:
if errorlevel 6 set cddrv=G:
if errorlevel 7 set cddrv=H:
if errorlevel 8 set cddrv=I:
if errorlevel 9 set cddrv=J:
if errorlevel 10 set cddrv=K:
if errorlevel 11 set cddrv=L:
if errorlevel 12 set cddrv=M:
if errorlevel 13 set cddrv=N:
if errorlevel 14 set cddrv=O:
if errorlevel 15 set cddrv=P:
if errorlevel 16 set cddrv=Q:
if errorlevel 17 set cddrv=R:
if errorlevel 18 set cddrv=S:
if errorlevel 19 set cddrv=T:
if errorlevel 20 set cddrv=U:
if errorlevel 21 set cddrv=V:
if errorlevel 22 set cddrv=W:
if errorlevel 23 set cddrv=X:
if errorlevel 24 set cddrv=Y:
if errorlevel 25 set cddrv=Z:
echo autorun.bat found on drive %cddrv%
goto _end
:_err
echo.
echo There was an error...
:_end
Sel
SEL v1.02 (21KB) (for Dos/Win9x)
Select utility. Selects files, directories, fileservers(netware only), or
custom strings from a nice little pop-up menu and returns the result in an
environment variable (default is environment variable is 'sel').
SEL is outdated! Instead of my SEL utility you can better use
WBAT by Horst Schaeffer (WBAT is great!).