DUMPCIS- Dump PCMCIA Card Information Structure
dumpcis is a 8088-Compatible DOS program for detecting the existence of
Intel 82365SL compatible controllers on your old hardware and dumping out
the Card Information Structure (CIS) that is required to be present on any
inserted PCMCIA cards.
Why did I write this? I was asked to, and not having written DOS code in a while, I thought it would be fun. So I agreed.
If using GNU Make, make sure to use a maximum of 1 job, like as follows:
make -j1. Unfortunately,
wcl writes its output to temporary files and
it is possible that there will be a naming conflict if running in parallel;
wmake chokes on GNU Make's
wmake, make sure to invoke
wmake in Unix-compatibility mode, as
wmake -u. Only the
wmake-clean targets are supported if
dumpcis takes no parameters and is invoked by typing its name as
the DOS command line:
Theory Of Operation
The utility will scan for any existing Intel 82365SL PCMCIA controllers or
compatibles. If a controller and inserted cards are found,
dumpcis will use a nominally-free region (
Upper Memory to query the
PCMCIA's Attribute Memory for the CIS.
Like all good DOS utilities,
dumpcis directly talks to the hardware, and does
not require Card Services (a BIOS-like API that some PCMCIA utilies use) to
dumpcis makes an effort to leave the controller's registers
unmodified after it has completed its tasks. This works because, as far as I
know, register writes to PCMCIA controllers are idempotent.
- Some Intel 82365SL clones, like the Vadem VG-469, contain additional features such as ISA Plug-n-Pray. Detection of controllers utilizing Plug-n-Pray should not be difficult to add, but I don't have hardware on which to test.
- Add option to dump CIS to a formatted text file or a raw dump.
- Add option to change Upper Memory Area used for scanning.