; MEX Kaypro II/IV/VIII terminal descriptor for use with INSTALL ; This file must assemble in 384 bytes or less. ; Revised 09/20/88 (J. Shotsky) ; Loading: ;The following is a ZCPR3 alias string from my ALIAS.CMD: ; {new} {old} {Kaypro} {modem} {term} {clock} {patch} ;MKMEX MLOAD MEX.COM=MEX+UNIN.COM,MXH-KP53,MXO-SM17,MXT-KP10,MXC-TP10,MEXPAT22 ORG 01E80H ESC EQU 1BH ;------------------------------------------------------------ ;Don't change the length of this string. ; 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' 32 bytes db "[Kaypro II/IV/VIII '83] " db 24 ;# rows db 80 ;# cols db 'R' ;Row, column first ("R" or "C") db 'B' ;Variable, binary x,y ("V" or "B") db 31 ;Row offset \ Related to top col # and db 31 ;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 1 ;top row # \ Add to r/c offsets above, 'cause db 1 ;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 1EH,0 ;home cursor db 1AH,0 ;clear scrn db esc,'=',0 ;xy leadin db 0 ;xy separator db 0 ;xy end sequence db 17H,0 ;clear from cursor to end of screen db 0 ;clear from start of scrn to cursor db 18H,0 ;clear from cursor to end of line db 0 ;clear from beginning of line to cursor db esc,'R',0 ;erase line db 0 ;enter blink mode db 0 ;exit blink mode db 0 ;enter reverse video db 0 ;exit reverse video db 0 ;enter underline mode db 0 ;exit underline mode db 0 ;enter bright-character mode db 0 ;exit bright db 0 ;enter dim-character mode db 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,'E',0 ;insert line on cursor's line db esc,'R',0 ;delete cursor's line db 0 ;insert char at cursor position db " ",07fh,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 0 ;enter graphics mode db 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". Terminate each command with 0. (01FH is the character ; on this Kaypro to make a solid block. Drawing lines with solid ; block looks very nice. db 01fh,0 ;vertical bar db 01fh,0 ;horizontal bar db 01fh,0 ;upper left corner character db 01fh,0 ;upper right corner db 01fh,0 ;lower left corner db 01fh,0 ;lower right corner db 01fh,0 ;crossed lines db 01fh,0 ;vbar with right hand extension db 01fh,0 ;vbar with left extension db 01fh,0 ;hbar with upper extension db 01fh,0 ;hbar with lower extension db "o",0 ;small dot db 01fh,0 ;solid white block db "#",0 ;checkerboard db 0 ;terminal init string db 0 ;terminal de-init string end