home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / lambda / soundpot / f / kpkeyset.lbr / TECH.NZT / TECH.NOT
Encoding:
Text File  |  1993-10-26  |  3.1 KB  |  84 lines

  1. TECHNICAL NOTES + + + +  KEYCON AND KPAD PROGRAMS
  2.  
  3.  
  4. The following bytes in KPAD.COM, KPADX.COM and KVEC.COM may (or may not) be 
  5. modified to taste.
  6.  
  7. All addresses given assume a load address 100h. To use SPZ or another  disk  
  8. utility  which  references program addresses to 0,   subtract 100h from the 
  9. addresses given below.
  10.  
  11. Save 10 pages when modifying KPAD.COM,  KPADX.COM or KVEC.COM with ZSID  or 
  12. DDT.
  13.  
  14.  
  15.  
  16. 0A00h - 0A0Dh in KPAD.COM and KPADX.COM
  17. 0A00h - 0A03h in KVEC.COM
  18.  
  19.      These  addresses  contain  the default reset values  for  the  numeric 
  20.      keypad  and vector keys.   They are the values to which the  keys  are 
  21.      reset when the program is run without a command argument.  
  22.  
  23.  
  24.  
  25. 0A12h - 0A15h in KPADX.COM
  26.  
  27.      Similarly,  these  are the default values for the extra keys when they 
  28.      are implemented.
  29.  
  30.  
  31.  
  32. 0101h - 0102h in KPAD.COM, KPADX.COM and KVEC.COM
  33.  
  34.      This  location contains an address at which the program may  find  the 
  35.      page  (high  order byte of the address) of the CP/M BIOS.   The  value 
  36.      normally  given  here  is 0002h,  the high order byte of  the  address 
  37.      portion of the warm boot jump at location 0000.   If you have an  odd-
  38.      ball operating system which does not have a valid BIOS page address at 
  39.      0002h,  you must change the value in 0101h - 0102h to an address which 
  40.      does contain the true page address of the BIOS.  
  41.  
  42.  
  43.  
  44. 0966h in KPADX.COM
  45.  
  46.      Starting  at this address is the string "EXKEYS".   This is the key by 
  47.      which KEYCON.COM identifies the program as the "extra keys" version of 
  48.      KPAD.   Altering  this string or its terminating null will  cause  the 
  49.      KEYCON.COM  to  identify  the target program as  KPAD.COM  instead  of 
  50.      KPADX.COM.
  51.  
  52.  
  53.  
  54. 09E6h in KPAD.COM, KPADX.COM and KVEC.COM
  55.  
  56.      Starting  at  this  address is the string "KAYPAD20" in  KPAD.COM  and 
  57.      KPADX.COM and "KAYVEC20" in KVEC.COM.   These strings are  identifica-
  58.      tion tags for KEYCON.COM and altering any of them or their terminating 
  59.      nulls  will  cause KEYCON.COM to reject the affected  program(s).   In 
  60.      other words, don't touch them!!  
  61.  
  62.  
  63.  
  64.  
  65. The programs KPAD.COM,  KPADX.COM and KVEC.COM were written in Z80 assembly 
  66. language  and assembled and linked using Microsoft's Macro-80 and  Link-80.  
  67. The  program KEYCON.COM was linked together from several different modules, 
  68. the major portion of which were written in C for the BDS  compiler.   Other 
  69. modules  were written in Z80 assembly code,  translated to 8080  code,  and 
  70. assembled  using the BDS pre-assembler CASM and the above mentioned  Micro-
  71. soft assembler and linker.  
  72.  
  73. Source code for all the KEYSET programs is available by sending a check  or 
  74. m.o.  for  $12.00  along  with a 5 1/4" disk and a  self-addressed  stamped 
  75. mailer to me at the address shown below.   E-mail may be sent to me c/o the 
  76. sysop on the Kaypro Club of Austin RBBS, (512) 346-8876.
  77.  
  78.  
  79. Lindsay Haisley
  80. 2406B Winstead La.
  81. Austin, TX  78703
  82.  
  83. Phone (512) 472-0770
  84.