home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / lambda / soundpot / f / hp45-208.lbr / CUSTOM.MZC / CUSTOM.MAC
Encoding:
Text File  |  1993-10-26  |  1.4 KB  |  49 lines

  1. ;    ******************************************************
  2. ;    *                                                    *
  3. ;    *    CUSTOMIZATION EXAMPLE FOR HP45 CALCULATOR PROG  *
  4. ;    *                                                    *
  5. ;    *   Copyright 1988 by Loring Chien, Houston, Texas   *
  6. ;    *                                                    *
  7. ;    ******************************************************
  8.  
  9. ;    Example for Lear Siegler ADM-5 terminal
  10.  
  11. ;    This file is required for building HP45.COM from source
  12. ;    files using HP45.SUB and HOWTO.DOC.
  13.  
  14. ;    This is intended for Microsoft's M80 assembler.
  15.  
  16.  
  17. ESC    equ    27
  18.  
  19. BASPROG EQU    130H        ;intended start location for program
  20.  
  21.  
  22. ;start:    jmp    BASPROG        ;bypass the custom table    ;100H
  23.     nop
  24. YOFF:    DB    32        ;Cursor addr offset for 0,0    ;104H
  25. XOFF:    DB    32        ;    =upper left corner    ;105H
  26.     nop
  27.     nop
  28.  
  29. ; Cursor addresss lead-in characters (7 char max, pad w/ nulls) ;108H
  30. CALI:    DB    ESC,"=",0,0
  31.     DB    0,0,0,0
  32.  
  33. ; Erase to end of line sequence (7 char max, pad w/nulls)    ;110H
  34. ERAEOL:    DB    ESC,'T',0,0
  35.     DB    0,0,0,0
  36.  
  37. ; Clearscreen character (may be combination of HOME and Erase to end
  38. ;        of screen or such)
  39. CLRS:    DB    26,0,0,0                    ;118H
  40.     DB    0,0,0,0
  41.  
  42. ; Place terminal identification here, up to 15 chars, terminated by
  43. ; null
  44. TERM:    DB    "ADM-5 terminal",0,0                ;120H
  45.  
  46. ;this should end at exactly 12FH
  47.  
  48.     END
  49.