home *** CD-ROM | disk | FTP | other *** search
- ; ******************************************************
- ; * *
- ; * CUSTOMIZATION EXAMPLE FOR HP45 CALCULATOR PROG *
- ; * *
- ; * Copyright 1988 by Loring Chien, Houston, Texas *
- ; * *
- ; ******************************************************
-
- ; Example for Lear Siegler ADM-5 terminal
-
- ; This file is required for building HP45.COM from source
- ; files using HP45.SUB and HOWTO.DOC.
-
- ; This is intended for Microsoft's M80 assembler.
-
-
- ESC equ 27
-
- BASPROG EQU 130H ;intended start location for program
-
-
- ;start: jmp BASPROG ;bypass the custom table ;100H
- nop
- YOFF: DB 32 ;Cursor addr offset for 0,0 ;104H
- XOFF: DB 32 ; =upper left corner ;105H
- nop
- nop
-
- ; Cursor addresss lead-in characters (7 char max, pad w/ nulls) ;108H
- CALI: DB ESC,"=",0,0
- DB 0,0,0,0
-
- ; Erase to end of line sequence (7 char max, pad w/nulls) ;110H
- ERAEOL: DB ESC,'T',0,0
- DB 0,0,0,0
-
- ; Clearscreen character (may be combination of HOME and Erase to end
- ; of screen or such)
- CLRS: DB 26,0,0,0 ;118H
- DB 0,0,0,0
-
- ; Place terminal identification here, up to 15 chars, terminated by
- ; null
- TERM: DB "ADM-5 terminal",0,0 ;120H
-
- ;this should end at exactly 12FH
-
- END