home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / jsage / zsus / progpack / m2zinit.lbr / M2ZINIT.PZN / M2ZINIT.PRN
Encoding:
Text File  |  1992-05-13  |  2.5 KB  |  65 lines

  1.  
  2. 
  3.  
  4.  
  5.  
  6.         .rm65
  7.         This  is  a  short description of the M2Zinit  module  for  Turbo
  8.         Modula-2.  The purpose of the module is to scan the TCAP  portion
  9.         of  an environment descriptor in a ZCPR system and setup the  low
  10.         memory  area  of M2 so that the Terminal Module  procedures  will
  11.         work correctly according to the TCAP description.
  12.  
  13.         The system has been tested in a Z80 computer running NZCOM with a
  14.         Heath  H19  terminal and also appears to give the  proper  result
  15.         using a TVI 955 terminal.
  16.  
  17.         It is important to know that Borland's INSTM2 program locates the
  18.         proper  place  to patch M2 by searching for the  first  copyright
  19.         notice (there are 2 such notices in M2).  The terminal patch area
  20.         is  located just after the first one.  We suggest that you  don't
  21.         modify the first copyright area if you ever expect INSTM2 to work
  22.         correctly!
  23.  
  24.         This  program  (M2Zinit)  is hard coded  to  deposit  the  proper
  25.         strings  in  the M2 patch area.  Study the  M2ZINIT.MOD  file  to
  26.         discover just what these addresses are.
  27.  
  28.  
  29.         This  library  also  includes  a program  to  locate  the   ZCPR3
  30.         environment  descriptor.  It works by searching upward  from  the
  31.         top  of the TPA until it finds the string 'Z3ENV' preceded  by  a
  32.         jump  instruction  and also having the internal  address  of  the
  33.         environment   descriptor  correspond  to  the  jump   instruction
  34.         address.   The  routine  is  coded  in  Z80  assembly   language,
  35.         assembled and linked into a .COM file.  The connection with M2 is
  36.         established  by  using the CODE procedure in an  otherwise  empty
  37.         module.
  38.  
  39.         This .COM file/M2 Module has been tested in an AMPRO Little Board
  40.         Z80  using the original AMPRO ZCPR3 system and again using  NZCOM
  41.         overlaid upon the AMPRO system.  It works even though the  latter
  42.         combination  has  TWO environment descriptors because  it  always
  43.         hits the correct one first!  IT HAS BEEN REPORTED NOT TO WORK  IN
  44.         AN  SB180  COMPUTER!  We leave the solution  to  an  enterprising
  45.         SB180 owner with the admonishment that the .COM file must contain
  46.         NO absolute memory reference addresses.
  47.  
  48.         Edward Jackson
  49.         Gilroy, California
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.                                                                      1
  67.