home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / ENTERPRS / CPM / UTILS / S / STARDATE.LBR / SD-PATCH.AZM / SD-PATCH.ASM
Assembly Source File  |  2000-06-30  |  5KB  |  122 lines

  1. ;     SD-PATCH.ASM
  2. ;
  3. ;     File to create patch for CP/M version of STARDATE using ASM or MAC
  4. ;     Defaults shown are for ADM3A terminal.
  5. ;
  6. ;     Copyright (c) 1986, Ted A. Campbell
  7. ;
  8. ;     INSTRUCTIONS FOR PATCHING STARDATE:
  9. ;
  10. ;     1.  Edit this file, entering the correct values for your terminal
  11. ;     or computer.  You << MUST >> enter sequences for clearing the
  12. ;     screen and addressing the cursor.  Sequences for clear-to-end-of-
  13. ;     line and other video attributes are << highly >> desirable.
  14. ;
  15. ;     2.  Create a HEX file using ASM or MAC:
  16. ;
  17. ;          A>asm b:sd-patch    (or)     A>mac b:sd-patch $pz sz
  18. ;
  19. ;     3.  Patch this HEX file into SD.COM using SID or MLOAD.  Save the
  20. ;     resulting file as your new SD.COM.  I have had good luck using
  21. ;     SID, but not DDT, so you may want to use the public-domain
  22. ;     utility MLOAD to do the patch under CP/M 2.2.
  23. ;
  24. ;
  25. ;     Org at patch area for STARDATE vers. 1.2 (CP/M version):
  26.  
  27.      ORG 05BDEh
  28.  
  29. ;     CLEAR THE SCREEN
  30. ;     Enter the sequence of codes to clear the screen and home the
  31. ;     cursor of your computer.  Default:  ADM3A (Osborne, Kaypro)
  32. ;     Use eight characters, and leave nulls to fill any unused
  33. ;     characters
  34.  
  35.      DB     01AH,01EH,0,0,0,0,0,0
  36.  
  37. ;     ADDRESS THE CURSOR
  38. ;     Enter the sequence of codes to address the cursor of your
  39. ;     computer.  The codes entered will be followed by the line
  40. ;     and column numbers, offset by 32 (20h).  Only "Binary"
  41. ;     cursor addressing is supported in this release.  You'll
  42. ;     have to write me if you need a CP/M version for an ANSI terminal.
  43. ;     Use eight characters, and leave nulls to fill any unused
  44. ;     characters
  45.  
  46.      DB     01BH,03DH,021H,021H,0,0,0,0
  47.  
  48. ;     START VIDEO MODE
  49. ;     Some computers and terminals require a sequence of codes to enter
  50. ;     a special video mode (for instance, '84 series KayPros).  Enter
  51. ;     the sequence of codes to enter special video mode here.      This
  52. ;      will be called before entering inverse video.
  53. ;     Use eight characters, and leave nulls to fill any unused
  54. ;     characters
  55.  
  56.      DB     0,0,0,0,0,0,0,0
  57.  
  58. ;     END VIDEO MODE
  59. ;     If you have entered characters to start video mode, enter here
  60. ;     the sequence of codes to exit this mode.
  61. ;     Use eight characters, and leave nulls to fill any unused
  62. ;     characters
  63.  
  64.      DB     0,0,0,0,0,0,0,0
  65.  
  66. ;     CLEAR TO THE END OF THE LINE
  67. ;     Enter the sequence of codes that will clear from the cursor to
  68. ;     the end of the line on your computer or terminal.  You can set
  69. ;     this to all nulls if your terminal does not support this feature
  70. ;     (e.g., the default ADM3A setting), but the program will operate
  71. ;     << much >> more slowly.
  72. ;     Use eight characters, and leave nulls to fill any unused
  73. ;     characters
  74.  
  75.      DB     01BH,02BH,0,0,0,0,0,0
  76.  
  77. ;     DIM VIDEO
  78. ;     If your computer can dim or brighten its screen output, enter
  79. ;     the sequence of codes here to dim the screen.  Otherwise, set
  80. ;     all eight characters to zeros.
  81. ;     Use eight characters, and leave nulls to fill any unused
  82. ;     characters
  83.  
  84.      DB     01BH,028H,0,0,0,0,0,0
  85.  
  86. ;     BRIGHT VIDEO
  87. ;     If you entered a sequence to dim the output above, enter here
  88. ;     the sequence of characters to brighten the output on your machine.
  89. ;     Use eight characters, and leave nulls to fill any unused
  90. ;     characters
  91.  
  92.      DB     01BH,029H,0,0,0,0,0,0
  93.  
  94. ;     INVERSE VIDEO
  95. ;     If your computer can display in reverse (or inverse) video, enter
  96. ;     here the sequence of codes to go to inverse video.  Note:  if a
  97. ;     special video mode is required before going to inverse, enter
  98. ;     the codes for it in the VIDEO MODE area above
  99. ;     Use eight characters, and leave nulls to fill any unused
  100. ;     characters
  101.  
  102.      DB     01BH,06AH,0,0,0,0,0,0
  103.  
  104. ;     NOT INVERSE VIDEO
  105. ;     If you entered codes to go to reverse video above, enter the codes
  106. ;     here to end reverse video (return to normal).
  107. ;     Use eight characters, and leave nulls to fill any unused
  108. ;     characters
  109.  
  110.      DB     01BH,06BH,0,0,0,0,0,0
  111.  
  112.      END
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.