home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
misc
/
22nice.zip
/
IOMAP.DOC
< prev
next >
Wrap
Text File
|
1993-10-12
|
2KB
|
56 lines
USING I/O MAP OVERLAY FILES IN 22DISK
September, 1993
Sydex, Inc.
P.O Box 5700
Eugene, OR 97405
This document describes using the IOMAP facility in 22DISK. If
you are interested in using this facility, you should be familiar
with 8086 assembly code and have the necessary programming tools
to develop a simple DOS .COM-type program.
The I/O mapping facility allows the programmer to simulate the
activity of devices seen by the emulated 8-bit processor. For
example, if a CP/M program accesses a serial port, it is possible
to write an I/O mapping overlay to simulate the 8-bit port
activity of the serial port. I/O mapping is supported only with
the software-emulated processor modes, not with the NEC V20
processor hardware emulation.
An IOMAP overlay is nothing more than a simple DOS .COM-type file
with a special header and a file name extension of .IOM. To
incorporate the overlay into the pre-loader generated by GENCOM,
the IOMAP= keyword is used with the name of the overlay file.
The skeleton of an IOMAP overlay is given in the file IOSKEL.ASM.
Note that the overlay must be coded as a self-relocating program.
The DS register points to the TPA of the emulated program. Any
memory needed by the IOMAP overlay must be explicitly reserved by
declaring it as initialized data.
The IOMAP overlay is assumed to have an offset of 0 in the code
segment.
For more information on using this facility, please contact Sydex.