home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / cpm / gendoc / screnclr.dqc / SCRENCLR.DOC
Encoding:
Text File  |  1985-02-10  |  1.3 KB  |  30 lines

  1.  
  2.                SOLVING SCREEN CLEAR PROBLEMS
  3.  
  4.    Those  of us who have ADM-3A or similar  terminals  which 
  5. use  CTL-Z  as  the screen clear have a  problem  with  some 
  6. software (like the Peachtree business software) which imbeds 
  7. screen clear characters in the data files on disk.  The CTL-
  8. Z  is  a  1A hex,  which is the same as  CP/M's  end-of-file 
  9. character.
  10.  
  11.    In the past, the solution to this problem has been to re-
  12. write the software to use some other character in the  file, 
  13. and then converting it to the screen clear before printing.
  14.  
  15.    I  recently  saw a message about this on  another  system 
  16. which  made  me say to myself "why didn't I think of  that?" 
  17. ...simply  add in the value for bit 7 as being high  instead 
  18. of  low!   In other words,  instead of defining  the  screen 
  19. clear in the program as CHR$(26),  make it CHR$(154).   Most 
  20. terminals ignore the parity bit,  so this is interpreted the 
  21. same as a CHR$(26) !
  22.  
  23.    If your terminal does not ignore the parity bit,  you can 
  24. still  use this trick if you reassemble your  CBIOS,  adding 
  25. ANI 7FH just ahead of the output to your console port in the 
  26. CONOUT routine.
  27.  
  28.             Keith Petersen, W8SDZ
  29.  
  30.