home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / cpm / gendoc / zorknote.tzt / ZORKNOTE.TXT
Encoding:
Text File  |  1987-12-22  |  2.9 KB  |  79 lines

  1.  
  2.         Customizing INFOCOM(tm) Games
  3.         notes on CP/M addresses
  4.  
  5.      I don't know wheather or not this is a duplicate effort, but since
  6. I haven't found a similar listing.......
  7.  
  8.      When I first saw that Infocom was selling off all their CP/M compatible
  9. games for only $14.95 I was overjoyed. Now I could buy all the titles that 
  10. I always wanted but could not really afford. Atlast, guilt free software.
  11.  
  12.      I ended up buying Zork1 for the Osborne I, Zork2 and Zork3 for the DEC
  13. Rainbow, and Wishbringer for the Kaypro II. (My computer system is an Ampro
  14. Little Board with Teac 55b and 55f drives. The terminal emulates a DEC 
  15. VT100. With my current hardware I can read or write to almost any 5.25"
  16. format.) I thought everything was going to be so simple, use MULTIDSK and
  17. MCOPY to transfer the programs to Ampro format and away I go! Wrong answer.
  18. Although all the programs would execute, the terminal was confused beyond
  19. belief.
  20.  
  21.      Some rainy day time with all the .com files and a trusty debugger
  22. got me all the data I needed to unconfuse the terminal and allow me to
  23. customize the display to just the way I wanted it. Now I'd like to 'share
  24. the wealth' with anyone else bitten by the Infocom bug.
  25.  
  26.      The program starts off with an initial jump to 0200h, the start of
  27. the actual program code. Next comes all the good stuff;
  28.  
  29. 0103h    Charactors per line    
  30.     a 78 charactor line is 4Eh
  31.  
  32. 0104h    Lines per screen
  33.     a 23 line terminal (excluding status) is 17h
  34.  
  35. 0105h    File name of the data file without file extent
  36.     must be 8 bytes long, fill with ascii spaces (20H)
  37.     if you have ZORK1.dat then 'ZORK1',20h,20h,20h goes here
  38.  
  39. 010Dh    Screen LF after CR (1 = yes;0 = no)
  40.  
  41. 010Eh    Printer LF after CR (1 = yes;0 = no)
  42.  
  43. 010Fh    Inverse video offset
  44.     if you can add a 80h to the ascii charactor value to get
  45.     inverse video, this byte's for you
  46.  
  47.            The following strings start with a one byte charactor count,
  48.            the charactor string, and then a null fill (00H)
  49.  
  50. 0110h    Terminal init. string
  51.     Clear screen, move cursor to lower left, set scroll region
  52.     VT100 = 12 1b 5b 32 4a 1b 5b 32 33 3b 31 48 1b 5b 32 3b 32 33 72 00
  53.  
  54. 0131h    Terminal reset string
  55.     Put everything back the way it was
  56.  
  57. 0152h    Begin status line display
  58.     Move cursor to upper left and set video attribute (inverse, bold, etc)
  59.  
  60. 0173h    End status line display
  61.     Move cursor to lower left and reset video attribute
  62.  
  63. 0194h    Printer init. string
  64.     room for anything special you need to set up your printer
  65.  
  66. 0200h    Start of the program code
  67.     
  68.  
  69.      I hope you have as much fun with the games as I have had, you can't
  70. beat them at their close-out price. It's unfortunate that they have dropped
  71. their CP/M support, I can't see buying a clone just to play with the
  72. Leather Goddess.
  73.  
  74.                     Gar Nelson
  75.                     Olympia, Wa.
  76.  
  77. GEnie address ==> G.NELSON
  78.  
  79.