home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
- .rm65
- This is a short description of the M2Zinit module for Turbo
- Modula-2. The purpose of the module is to scan the TCAP portion
- of an environment descriptor in a ZCPR system and setup the low
- memory area of M2 so that the Terminal Module procedures will
- work correctly according to the TCAP description.
-
- The system has been tested in a Z80 computer running NZCOM with a
- Heath H19 terminal and also appears to give the proper result
- using a TVI 955 terminal.
-
- It is important to know that Borland's INSTM2 program locates the
- proper place to patch M2 by searching for the first copyright
- notice (there are 2 such notices in M2). The terminal patch area
- is located just after the first one. We suggest that you don't
- modify the first copyright area if you ever expect INSTM2 to work
- correctly!
-
- This program (M2Zinit) is hard coded to deposit the proper
- strings in the M2 patch area. Study the M2ZINIT.MOD file to
- discover just what these addresses are.
-
-
- This library also includes a program to locate the ZCPR3
- environment descriptor. It works by searching upward from the
- top of the TPA until it finds the string 'Z3ENV' preceded by a
- jump instruction and also having the internal address of the
- environment descriptor correspond to the jump instruction
- address. The routine is coded in Z80 assembly language,
- assembled and linked into a .COM file. The connection with M2 is
- established by using the CODE procedure in an otherwise empty
- module.
-
- This .COM file/M2 Module has been tested in an AMPRO Little Board
- Z80 using the original AMPRO ZCPR3 system and again using NZCOM
- overlaid upon the AMPRO system. It works even though the latter
- combination has TWO environment descriptors because it always
- hits the correct one first! IT HAS BEEN REPORTED NOT TO WORK IN
- AN SB180 COMPUTER! We leave the solution to an enterprising
- SB180 owner with the admonishment that the .COM file must contain
- NO absolute memory reference addresses.
-
- Edward Jackson
- Gilroy, California
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1