home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / mbug / mbug035.arc / ALIENS.DOC < prev    next >
Text File  |  1979-12-31  |  2KB  |  67 lines

  1.  
  2.             DOCUMENTATION FILE FOR ALIENS VERSION 1.1
  3.  
  4. ALIENS11.COM  is a patchable version of the original ALIENS  game 
  5. written in BDS C which can be used on most systems with a 24 X 80 
  6. terminal.  This  version does its console I/O thru calls to  BIOS 
  7. instead  of thru direct port I/O and therefore can be  used  with 
  8. most  ported and memory mapped consoles.   There are four strings 
  9. and  two  other locations that must be patched for  a  particular 
  10. configuration.  Up to ten bytes are reserved for each string.
  11.  
  12. CURSOR POSITIONING STRING
  13.  
  14. This  string starts at location 381DH,  must be null  terminated, 
  15. and  allows  for  up to ten bytes including  the  null.   At  the 
  16. position  in this string that the row position is to be  located, 
  17. put an FF hex.   At the position in the string that the column is 
  18. to be located, put an FE hex.  This allows for the row and column 
  19. to  be located anywhere in the cursor positioning string  and  in 
  20. any order.
  21.  
  22.  
  23. EXAMPLE:  (For a Heath/Zenith Z-19)
  24.  
  25.           1B        ;Escape character
  26.           59        ;'y'
  27.           FF        ;Position for row
  28.           FE        ;Position for column
  29.           00        ;string terminator
  30.  
  31. For many terminals the row and column values require a bias to be 
  32. added to them in the cursor positioning string.  These values are 
  33. located at 3845H and 3846H respectively.
  34.  
  35. EXAMPLE: 
  36.         Location   Value
  37.  
  38.           3845H     20        ;Add 32 to row value
  39.           3846H     20        ;Add 32 to column value
  40.  
  41.  
  42. CURSOR ON, CURSOR OFF AND CLEAR SCREEN STRINGS
  43.  
  44. If your terminal allows turning the cursor on and off and  allows 
  45. the  clear  screen function,  these strings should be patched  as 
  46. with the cursor addressing string.  Don't forget to terminate the 
  47. string with a null(zero).   If your terminal does not support one 
  48. or more of these functions, these strings should be set to nulls.
  49.  
  50. Starting Location         String
  51.  
  52.      3827H               CURSOR ON
  53.      3831H               CURSOR OFF
  54.      383BH               CLEAR SCREEN
  55.  
  56. Use DDT to load the ALIENS11.COM and patch the new strings.
  57.  
  58.      A>DDT ALIENS.COM
  59.           Use the S command to change the required locations.
  60.  
  61.      -^C
  62.      A>SAVE 56 ALIENS.COM
  63.  
  64. This should complete the customization of ALIENS.  Enjoy.
  65.  
  66.                                       Don Wilkes, K4ZYP
  67.