home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
cpm
/
mex
/
mxhpos16.lbr
/
OSTERM.AZM
/
OSTERM.ASM
Wrap
Assembly Source File
|
1988-04-06
|
4KB
|
136 lines
;
; MEXPlus Osborne I terminal descriptor for use with INSTALL
;
; This file must assemble in 384 bytes or less.
; Revised 01/06/86 (rgf)
;
org 01E80H
;
;
esc equ 1bh
;
;------------------------------------------------------------
;
db 'Osborne I (80 Columns+Graphics) '
db 24 ;# rows
db 80 ;# cols
db 'R' ;Row, column first ("R" or "C")
db 'B' ;Variable, binary x,y ("V" or "B")
db 32 ;Row offset \ Related to top col # and
db 32 ;Col offset / top column #, 13 lines below
db 0 ;XY delay (all delays in milliseconds)
db 0 ;CLS delay
db 0 ;CLREOS delay
db 0 ;CLRBOS delay
db 0 ;CLREOL delay
db 0 ;CLRBOL delay
db 0 ;CLREOL delay
db 'N' ;Y/N Attributes take screen space
db 'N' ;Y/N Attributes can accumulate
db 'Y' ;Lower case ok
db 'Y' ;Generates control characters (most do)
db 'N' ;ANSI compatible
db 0 ;top row # \ Added to r/c offsets above, 'cause
db 0 ;top col # / that's how Atlantis database works
db 0,0,0 ;rsvd
;
; End of fixed area. The remainder of the record consists
; of variable-length function strings, each terminated in
; a zero. If your terminal doesn't have a particular
; function, its string should be a "DB 0".
;
db 01EH,0 ;home cursor
db 01AH,0 ;clear scrn
db esc,'=',0 ;xy leadin
db 0 ;xy separator
db 0 ;xy end sequence
db 0 ;clear from cursor to end of screen
db 0 ;clear from start of scrn to cursor
db esc,054h,0 ;clear from cursor to end of line
db 0 ;clear from beginning of line to cursor
db esc,052h,0 ;erase line
db 0 ;enter blink mode
db 0 ;exit blink mode
db 0 ;enter reverse video
db 0 ;exit reverse video
db esc,06Ch,0 ;enter underline mode
db esc,06Dh,0 ;exit underline mode
db 0 ;enter bright-character mode
db 0 ;exit bright
db esc,029H,0 ;enter dim-character mode
db esc,028H,0 ;exit dim
db 0 ;all attributes off
;
; these are keys generated on your keyboard. If your keyboard
; doesn't generate these keys, these should be "DB 0".
;
db 11,0 ;cur up key
db 10,0 ;cur dn key
db 12,0 ;cur rt key
db 8,0 ;cur lf key
;
; more codes
;
db 7,0 ;bell
db esc,045h,0 ;insert line on cursor's line
db esc,052h,0 ;delete cursor's line
db esc,051h,0 ;insert char at cursor position
db esc,057h,0 ;delete char at cursor position
db 0 ;cursor on (enabled)
db 0 ;cursor off (disabled)
;
; The following are sequences generated by the terminal's
; function keys. If your terminal doesn't have function
; keys, these should all be "DB 0"
;
db 0 ;fk 1
db 0 ;fk 2
db 0 ;fk 3
db 0 ;fk 4
db 0 ;fk 5
db 0 ;fk 6
db 0 ;fk 7
db 0 ;fk 8
db 0 ;fk 9
db 0 ;fk 10
;
; Graphics characters (line drawing). If your terminal supports
; a graphic character mode, fill in the first two sequences; each
; time MEX prints a graphics character, it prints the enter-mode
; string, followed by the particular graphics character's string,
; followed by exit-graphics. Some terminals do not have a graph-
; ics or line-drawing mode, but instead use a sequence to print a
; particular graphics character. If that's the case with your
; terminal, define the enter and exit strings as "DB 0".
;
db esc,'g',0 ;enter graphics mode
db esc,'G',0 ;exit graphics mode
;
; These are the characters supported by MEX. If your terminal
; doesn't support line-drawing characters, change each of these
; to a "DB 0".
;
db 00bh,0 ;vertical bar
db 01bh,01bh,0 ;horizontal bar
db 009h,0 ;upper left corner character
db 010h,0 ;upper right corner
db 01ch,0 ;lower left corner
db 01fh,0 ;lower right corner
db 00ch,0 ;crossed lines
db 00bh,0 ;vbar with right hand extension
db 00bh,0 ;vbar with left extension
db 01eh,0 ;hbar with upper extension
db 00fh,0 ;hbar with lower extension
db '.',0 ;small dot
db 016h,0 ;solid white block
db 07fh,0 ;checkerboard
;
db 0 ;terminal init string
db 0 ;terminal de-init string
;
end
h,0 ;solid white block
db 07fh,0 ;checkerboard
;
db 0 ;terminal init string
db 0 ;terminal de-init str