home *** CD-ROM | disk | FTP | other *** search
/ RBBS in a Box Volume 1 #3.1 / RBBSIABOX31.cdr / pcpo / pcpgplot.fix < prev    next >
Text File  |  1984-12-06  |  3KB  |  76 lines

  1.  
  2.          A p p l i c a t i o n       N O T E
  3.  
  4.  
  5.  
  6. Date:    November 12, 1984             From:  Chris Bradley
  7.  
  8. Product:  Personal Computer Picture Graphics system
  9.       Hewlett-Packard 7470A two-pen plotter
  10.  
  11.  
  12.  
  13. There has been a great wailing and gnashing of teeth over getting PCPG to
  14. draw its pictures on plotters.    The main menu of PCPG offers to do this, as
  15. well as digitize points coming FROM a plotter. but makes no description of
  16. how to configure the plotter to receive data from PCPG.  I cranked on this
  17. for a couple hours, and this is how you can get it to work.
  18.  
  19.  
  20. PCPG opens the plotter as a communications file (it's written in compiled
  21. BASIC) with the configuration "COM1:2400,S,7,1,RS,CS65535,DS,CD". This means
  22. that the plotter ought to be set up for 2400 bps operation, with SPACE parity
  23. and 7 databits.  BUT! the HP 7470A will not support SPACE parity, and so a
  24. patch is necessary.
  25.  
  26.  
  27. For you programmers, the patch is to change the byte at [CS+100H]:FC78 from
  28. 53H to 45H.  If you don't understand that, then you can patch the PCPG code
  29. like this:
  30.  
  31.  
  32.     1) Rename the PCPG.EXE file to something innocuous, like
  33.        P.XXX
  34.  
  35.     2) Get the IBM debugger, DEBUG.COM, into the same directory
  36.        as P.XXX
  37.  
  38.     3) From the DOS prompt, enter <debug p.xxx> and press return.
  39.        You will see disk activity, then you will receive a dash
  40.        prompt (-) from DEBUG
  41.  
  42.     4) At the "-" prompt from DEBUG, enter <rcs> and press return.
  43.        You will receive a four-digit hexadecimal number, in the form
  44.        of "XXXX", then a colon (":") on a new line.  Take this number
  45.        and add 100 to it.
  46.  
  47.         examples:
  48.  
  49.         -rcs            -rcs
  50.         4912            3617
  51.         :4A12            :3717
  52.         -            -
  53.  
  54.     5) After changing CS, enter <e cs:fc78 45> and press return.
  55.  
  56.     6) Save your changes by entering <w> and return.
  57.  
  58.     7) Then, enter <q> and press return to quit DEBUG.
  59.  
  60.     8) Rename P.XXX back to PCPG.EXE
  61.  
  62.  
  63. At this point, PCPG is modified to use 2400 bps, 7 databits, even parity,
  64. and 1 stop bit.  The normal IBM-HP7470A cable will work.  Set the switches
  65. on the 7470A plotter like this:
  66.  
  67.  
  68.      +------------------------------------------------------------+
  69.      |    1   |        |        |    4   |    5   |        |        |      | on or "1"
  70.      |------------------------------------------------------------|
  71.      |        |    2   |    3   |        |        |    6   |    7   |    8 | off or "0"
  72.      +------------------------------------------------------------+
  73.  
  74.  
  75. That's it, enjoy - you read it first on DalTex FIDOnet.
  76.