home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / kaypro / line25kp.doc < prev    next >
Text File  |  1984-01-30  |  2KB  |  49 lines

  1.                     Jan 5, 1984
  2.  
  3.                    UNDOCUMENTED VIDEO FEATURES
  4.                         FOR THE KAYPRO 10
  5.  
  6.                           By Ron Mozer
  7.  
  8. The KAYPRO 10 has several undocumented features available to the
  9. user which are undocumented in any of the Kaypro manuals.  These
  10. features include a 25'th line and the ability to save and recall
  11. the cursor possition.  If you look at the owners manual for the
  12. computer you will find a section which describes character attri-
  13. butes commands.  These commands allow inverse video, blinking,
  14. reduced intensity, etc.  This is documentation on two more of the
  15. commands.
  16.  
  17. The table of commands can be updated to the following:
  18.  
  19.             To Turn ON:        To Turn OFF:
  20.  
  21. Inverse Video        ESC,"B0"        ESC,"C0"
  22. Reduced Intensity    ESC,"B1"        ESC,"C1"
  23. Blinking        ESC,"B2"        ESC,"C2"
  24. Underlining        ESC,"B3"        ESC,"C3"
  25. Cursor            ESC,"B4"        ESC,"C4"
  26.  
  27. Save Cursor Pos.    ESC,"B6"     To Recall  ESC,"C6" <--- New
  28. 25'th line         ESC,"B7"        ESC,"C7" <--- New
  29.  
  30. As you can see there is an obvious gap for the "B5" - "C5" attri-
  31. butes.  I have not found out what these do and would be interested
  32. in hearing from anybody that does via the Mesilla Valley RCP/M
  33. (505)522-8856.
  34.  
  35. What follows is a sample MBASIC program which demostrates these
  36. features:
  37.  
  38. 10 REM THIS PROGRAM WILL DEMONSTRATE THE 25'TH LINE AND OTHER FEATURES
  39. 20 REM OF THE KAYPRO 10.
  40. 50 REM
  41. 110 PRINT CHR$(27);"B6" : REM SAVE CURSOR POSITION
  42. 120 PRINT CHR$(27);"B7" : REM ENABLE 25'TH LINE
  43. 130 PRINT CHR$(27);"=8 "; : REM MOVE CURSOR TO 25'TH LINE
  44. 140 PRINT "THIS IS THE 25'TH LINE" : REM SHOW USER WE CAN DO IT!
  45. 150 PRINT CHR$(27);"C6" : REM RECALL CURSOR POSSITION
  46. 160 REM WHEN YOUR DONE WITH THE 25'TH LINE IT MAY BE DISABLED
  47. 170 REM WITH THE FOLLOWING
  48. 180 PRINT CHR$(27);"C7": REM DISABLE 25'TH LINE
  49.