ASPI Interface Library: this library and applications were coded to test some SCSI functions on several devices. Samples let you change Disk Cache, read defect lists and control your tape device. Source code included.
ecsoft2 is moving to a new platform!
Thanks to everyone who answered our call: the site will be upgraded and will stay online, with all its content and user accounts. Over the coming months you may notice some changes. If you’ve already written to us, we’ll be in touch once the new site is ready. If you’d like to help keep the catalog up to date, ggamba
tiscali [dot] it (get in touch)!
Program is distributed as ZIP package: download to temporary directory and unpack to destination folder. See below for download link(s).
Following ones are the download links for manual installation:
| ASPI Interface Library v. 1.02 (27/11/2026, Vitus Jensen) | Readme/What's new |
# ASPI Interface Library 1.02
Open Watcom 2 rebuild of the OS/2 ASPI Interface Library for ArcaOS and
OS/2 Warp 4.52. This package builds a **static** library; it does not
produce a DLL or an import library.
## Requirements
- Open Watcom 2.0.1 (`wcc386`, `wmake`, `wlink`, `wlib`).
- OS/2 Toolkit 4.5.2 headers at `C:\OS2TK45`.
- ArcaOS or OS/2 Warp 4.52. The ASPI samples require `OS2ASPI.DMD` and an
ASPI router to do real SCSI I/O; they start and report errors when one is
not installed.
## Quick start
From the project root on the OS/2 command line:
set WATCOM=C:\WATCOM
set OS2TK=C:\OS2TK45
compile_wat.cmd
`compile_wat.cmd` sets the remaining environment defaults, runs a clean
build, writes `compile.log`, and types the log. The samples can be rebuilt
separately with `sample\compile_sample.cmd`.
## Repository layout
Makefile.wat Open Watcom 2.0 wmake build file
compile_wat.cmd Clean build wrapper; generates compile.log
README.md This guide
dll\ Object output directory (no DLL is produced)
lib\aspio.lib Rebuilt static ASPI library
h\ Public headers: aspio.h, scsi.h, srb.h, defines.h
src\ Recompiled library sources
src\legacy\ Original OMF objects for the three PLX flash APIs
sample\ VIO samples and their linker directive files
sample\compile_sample.cmd
doc\ Original library documentation
makefile, compiler.mkf Original legacy build files, retained for reference
## Build details
Library objects are compiled into `dll\` with:
wcc386 -bt=os2 -mf -5s -fpi -Oaxt -W3 -ze -DNDEBUG -I=h -I=src ...
The `-5s` stack-based calling convention is deliberate. It preserves the
original undecorated public symbol names (`AspiOpen`, `AHInquiryType`,
`strLastSense`, etc.) that the register-based convention would decorate with
a trailing or leading underscore. Samples therefore link against
`CLIB3S.LIB`, the matching stack-based C runtime.
`lib\aspio.lib` is assembled with `wlib -q -b -c` from the recompiled
objects plus three original OMF objects in `src\legacy\`. The sources for
`AspiPlxFlashCheck`, `AspiPlxFlashErase` and `AspiPlxFlashWrite` were not
shipped with the original library; their objects are reused unchanged so the
documented API remains available. No DLL, import library or export ordinals
are created.
`Makefile.wat` uses `.ERASE`, `&` continuations and `.SYMBOLIC` targets.
`clean` removes generated objects, maps, logs, the library and sample EXEs.
## Verify the build
1. `compile.log` must contain zero errors.
2. Check the public symbols:
wlib -q -l=lib\aspio.lst lib\aspio.lib
The list must contain exactly: `AHInquiryQual`, `AHInquiryType`,
`AHSense`, `AspiClose`, `AspiDefectData`, `AspiGetType`, `AspiHAInq`,
`AspiInquiry`, `AspiModeSelect`, `AspiModeSense`, `AspiMount`,
`AspiOpen`, `AspiPlxFlashCheck`, `AspiPlxFlashErase`,
`AspiPlxFlashWrite`, `AspiReadSeq`, `AspiRewind`, `AspiSendSRB`,
`strLastSense`.
3. Check each sample with `C:\OS2\BLDLEVEL.EXE SAMPLE\<name>.EXE`; the
displayed revision must be `1.02` with vendor `OS2World`.
4. Run the samples and confirm no new entries appear in `C:\POPUPLOG.OS2`.
## Running the sample
The samples are VIO programs. Run them from an OS/2 command prompt, for
example `SAMPLE\ASPISCAN.EXE`. They print adapter/device information or an
ASPI error message and exit; no PM launch context is needed.
## Public API and ordinals
See `h\aspio.h` for the declarations: `AspiOpen`, `AspiClose`,
`AspiSendSRB`, `AspiHAInq`, `AspiGetType`, `AspiInquiry`, `AspiModeSense`,
`AspiModeSelect`, `AspiMount`, `AspiRewind`, `AspiReadSeq`,
`AspiDefectData`, the three `AspiPlxFlash*` routines, `AHInquiryType`,
`AHInquiryQual`, `AHSense` and the `strLastSense` data symbol.
There are no ordinals: this is a static library, so no export table exists
and no ordinal numbers have been invented.
## Version information
Package version is **1.02**. The sample BLDLEVEL signatures are:
@#OS2World:1.02#@ASPISCAN 1.02 - ASPI adapter scanner sample (Open Watcom 2)
@#OS2World:1.02#@DISPDEF 1.02 - ASPI defect list sample (Open Watcom 2)
@#OS2World:1.02#@DISPG 1.02 - ASPI device group sample (Open Watcom 2)
@#OS2World:1.02#@SCACHE 1.02 - ASPI disk cache sample (Open Watcom 2)
@#OS2World:1.02#@TAPE 1.02 - ASPI tape control sample (Open Watcom 2)
Static libraries carry no BLDLEVEL record; the signatures above identify the
samples and the package version.
## Documentation
`doc\aspio.txt` is the original library documentation (requirements, source
notes and credits). `doc\file_id.diz` is the original archive description.
Historical version references inside those files are left unchanged.
## Known constraints
- The library is static by design. The general rebuild plan's DLL, import
library, export-ordinal and resource steps do not apply and were not
invented for this package.
- The three PLX flash routines cannot be recompiled from source: the
original OMF objects are retained verbatim. Their compiler/toolchain is
therefore not part of this OW2 build.
- Only VIO samples are provided; there are no PM samples or resources.
- No IPF/INF source is shipped, so no manual was regenerated.
## License and credits
The repository README states BSD 3-Clause licensing; the original library
documentation notes that the source has no copyright except for part of
`scsi.h` (see the header). Both original notices are preserved. Thanks to
Vitus Jensen for the ASPI Interface Library and to Daniel Dorau for the
ASPI router referenced in the original documentation.
----------------------------------
LIB-ASPI 1.02 release notes
===========================
Package
-------
Open Watcom 2.0.1 rebuild of the OS/2 ASPI Interface Library for ArcaOS and
OS/2 Warp 4.52. This is a STATIC library: no DLL, import library or export
ordinals are provided.
Source commit: 7b83756 (no tag was created for this archive).
Contents
--------
Makefile.wat, compile_wat.cmd, sample/compile_sample.cmd
README.md, this RELEASE-NOTES.md
dll/README.txt (object-output note; no DLL is built)
lib/aspio.lib (rebuilt static OMF library)
h/*.h, src/*.c, sample/*.c, sample/*.lnk, sample/*.exe
doc/aspio.txt, doc/file_id.diz
src/legacy/*.obj (original OMF objects for the three PLX flash APIs)
makefile, compiler.mkf (original legacy build files, for reference only)
Build and verification
----------------------
Built with wcc386 -bt=os2 -mf -5s -fpi -Oaxt -W3 -ze -DNDEBUG; samples link
with CLIB3S.LIB. The -5s stack convention preserves the original public
symbol names, which the register convention would decorate.
Verified on the ArcaOS VM:
- clean compile_wat.cmd build, zero errors in compile.log
- lib/aspio.lib exports all 19 original public symbols, undecorated
- BLDLEVEL on all five sample EXEs: vendor OS2World, revision 1.02
- samples launched; no C:\POPUPLOG.OS2 entries
BLDLEVEL signatures
-------------------
@#OS2World:1.02#@ASPISCAN 1.02 - ASPI adapter scanner sample (Open Watcom 2)
@#OS2World:1.02#@DISPDEF 1.02 - ASPI defect list sample (Open Watcom 2)
@#OS2World:1.02#@DISPG 1.02 - ASPI device group sample (Open Watcom 2)
@#OS2World:1.02#@SCACHE 1.02 - ASPI disk cache sample (Open Watcom 2)
@#OS2World:1.02#@TAPE 1.02 - ASPI tape control sample (Open Watcom 2)
Known constraints
-----------------
- Sources for AspiPlxFlashCheck/Erase/Write were not shipped; their original
OMF objects are included under src/legacy/ so the documented API remains
available. These .obj files are build inputs, not generated output.
- Only VIO samples are provided; there are no PM samples or resources.
- No IPF/INF source is shipped, so no manual was regenerated.
- doc/aspio.txt retains its historical 1.01 reference to the ASPI router.
License
-------
The repository README states BSD 3-Clause licensing; the original library
documentation notes no copyright on the source except part of scsi.h. Both
original notices are preserved.
|
hobbesgram.org/download/os2/dev-4/libraries-3/hardware-3/ASPILib_1-02.zip |
local copy
|
|
| ASPI Interface Library v. 0.02 (19/8/1999, Vitus Jensen) | Readme/What's new |
-*- mode: indented-text -*-
ASPI Interface Library - source and samples
PURPOSE
This library and applications were coded to test some SCSI
functions on several devices I own. I wanted to write a device
driver and decided it would be easier to test the logic in an
application as in a driver. I cleaned up the code and hope
someone else may get something out of it.
REQUIREMENTS
Installed OS2ASPI.DMD. This driver is provided with OS/2 2.0
service pack and higher. If you still use 2.0 you can get it from
IBM as a separate archive. To access devices which are managed by
other DMDs use the option /ALL (see online help).
Installed ASPI Router for OS/2. This great driver is from Daniel
Dorau (woodst@cs.tu-berlin.de), I tested Version 1.01 (June 1997)
successfully. It is available as aspir101.zip (44288 bytes) and
contains an own ASPI library (C++) which I obviously don't like
much otherwise I would have used it. ;-)
An ASPI specification is usefull for understanding the source
code. It is available from Adaptec, many BBS (including my own)
and FTP Servers as aspios2.txt.
If you're going to do anything in SCSI programming you need the
SCSI-II (or higher) specification. It has always been available
from the NCR BBS. Now that NCR is Symbios Logic this may have
changed, just check their BBS or Website. Some BBS may have a
copy, ASPI Router refers to 'http://abekas.com:8080/SCSI2/'.
FUTURE VERSIONS
If someone can tell me how to do ASPI I/Os without an ASPI
Router-like driver I will happily adjust this library to use the
direct access. All my own tries totally locked the system up. :-(
Please contact me if you added things so I can incorporate it in
the archive.
SOURCE CODE
There is no copyright on the source code (except part of scsi.h,
see header). There should be no compiler-depencies either. I
included a 'compiler.mkf' I use to switch compilers easily, just
define COMPILER to your favourite compiler and call make.
One word about makes: I like the DMake package from Dennis Vadura,
it is available as dmake40o.zip or dmake38.zip on many BBS but any
GNU Make compatible package should do.
AUTHOR
Vitus Jensen, can be reached via Fidonet on 2:2474/424, OS2Net,
TeamOS/2 Net and via Vitus_Jensen@teaparty.fido.de (if you really
have to).
Other software to look for (some words from our sponsor):
Physical Disk Routines (pdsk2.zip)
Some OS/2 utilities to access hard disks by physical sector
numbers, source included.
DskSleep (dsksl096.zip)
DSKSLEEP.FLT - a filter driver to stop your SCSI disks when
they haven't been accessed for some time. Timeout selection
per disk, IOCtl interface. For OS/2 2.0 and above.
VRAID (vraid20.zip)
VRAID - Software RAID for OS/2 2.0 and above. Build Disk
Arrays from IDE and SCSI drives! RAID 1, RAID 0,
Chaining. Shareware.
SCSIOpt (scsiopt2.zip)
SCSIOpt.flt modifies performance related settings of your SCSI
devices. Source included.
OS/2 Play (play2_10.zip)
Play GWBASIC-style music pieces from an OS/2 application!
Source and sample included (C).
RCopy (rcopy01.zip)
RCopy is a replacement for xcopy /s/e, fast, Source included.
|
www.os2site.com/sw/drivers/scsi/aspio02.zip |
local copy
|
|
| ASPI Interface Library v. 0.02 (19/8/1999, Vitus Jensen) | Readme/What's new |
-*- mode: indented-text -*-
ASPI Interface Library - source and samples
PURPOSE
This library and applications were coded to test some SCSI
functions on several devices I own. I wanted to write a device
driver and decided it would be easier to test the logic in an
application as in a driver. I cleaned up the code and hope
someone else may get something out of it.
REQUIREMENTS
Installed OS2ASPI.DMD. This driver is provided with OS/2 2.0
service pack and higher. If you still use 2.0 you can get it from
IBM as a separate archive. To access devices which are managed by
other DMDs use the option /ALL (see online help).
Installed ASPI Router for OS/2. This great driver is from Daniel
Dorau (woodst@cs.tu-berlin.de), I tested Version 1.01 (June 1997)
successfully. It is available as aspir101.zip (44288 bytes) and
contains an own ASPI library (C++) which I obviously don't like
much otherwise I would have used it. ;-)
An ASPI specification is usefull for understanding the source
code. It is available from Adaptec, many BBS (including my own)
and FTP Servers as aspios2.txt.
If you're going to do anything in SCSI programming you need the
SCSI-II (or higher) specification. It has always been available
from the NCR BBS. Now that NCR is Symbios Logic this may have
changed, just check their BBS or Website. Some BBS may have a
copy, ASPI Router refers to 'http://abekas.com:8080/SCSI2/'.
FUTURE VERSIONS
If someone can tell me how to do ASPI I/Os without an ASPI
Router-like driver I will happily adjust this library to use the
direct access. All my own tries totally locked the system up. :-(
Please contact me if you added things so I can incorporate it in
the archive.
SOURCE CODE
There is no copyright on the source code (except part of scsi.h,
see header). There should be no compiler-depencies either. I
included a 'compiler.mkf' I use to switch compilers easily, just
define COMPILER to your favourite compiler and call make.
One word about makes: I like the DMake package from Dennis Vadura,
it is available as dmake40o.zip or dmake38.zip on many BBS but any
GNU Make compatible package should do.
AUTHOR
Vitus Jensen, can be reached via Fidonet on 2:2474/424, OS2Net,
TeamOS/2 Net and via Vitus_Jensen@teaparty.fido.de (if you really
have to).
Other software to look for (some words from our sponsor):
Physical Disk Routines (pdsk2.zip)
Some OS/2 utilities to access hard disks by physical sector
numbers, source included.
DskSleep (dsksl096.zip)
DSKSLEEP.FLT - a filter driver to stop your SCSI disks when
they haven't been accessed for some time. Timeout selection
per disk, IOCtl interface. For OS/2 2.0 and above.
VRAID (vraid20.zip)
VRAID - Software RAID for OS/2 2.0 and above. Build Disk
Arrays from IDE and SCSI drives! RAID 1, RAID 0,
Chaining. Shareware.
SCSIOpt (scsiopt2.zip)
SCSIOpt.flt modifies performance related settings of your SCSI
devices. Source included.
OS/2 Play (play2_10.zip)
Play GWBASIC-style music pieces from an OS/2 application!
Source and sample included (C).
RCopy (rcopy01.zip)
RCopy is a replacement for xcopy /s/e, fast, Source included.
|
hobbes.nmsu.edu/download/pub/os2/dev/libraries/hardware/ASPILib_0-2.zip |

This work is licensed under a Creative Commons Attribution 4.0 International License.
Add new comment