gSANYO12 FORí~SANYO12 Z3T$0SANYO12 Z80"¶cThis is the extended TCAP used by Mike Finn on his Sanyo MBC- 1250 with NZCOM under CP/M 2.2. Questions about this can be directed to him at DHN* Z-node 6, Ladera Z-node 2, or Socrates Z-node 32. E-mail can be addressed to: Usenet: pacs!mfinn CompuServe: 71071,2353 SANYO12 B€ =%+ %+ TttMBItED˜›š™èé‹•õôøö÷;NZTCAP : SANYO12 ;Author : Mike Finn, P.A.C.S. CP/M SIG - Usenet: pacs!mfinn ;Date : September 1, 1991 ;Version: 1.0 ; ;Extended Termcap for Sanyo MBC-1200/1250 CP/M Computers ; ; ESC EQU 27 ; Escape character ; ; The first character in the terminal name must not be a space. For ; Z3TCAP.TCP library purposes only, the name terminates with a space ; and must be unique in the first eight characters. ; TNAME: DB 'SANYO12 ' ; Name of terminal (13 chars) ; GOFF: DB GOELD-TNAME ; Graphics offset from Z3TCAP start ; ; Terminal configuration bytes B14 and B15 are defined and bits assigned ; as follows. The remaining bits are not currently assigned. Set these ; bits according to your terminal configuration. ; ; B14 b7: Z3TCAP Type.... 0 = Standard TCAP 1 = Extended TCAP ; ; bit: 76543210 B14: DB 10000000B ; Configuration byte B14 ; ; B15 b0: Standout....... 0 = Half-Intensity 1 = Reverse Video ; B15 b1: Power Up Delay. 0 = None 1 = Ten-second delay ; B15 b2: No Auto Wrap... 0 = Auto Wrap 1 = No Auto Wrap ; B15 b3: No Auto Scroll. 0 = Auto Scroll 1 = No Auto Scroll ; B15 b4: ANSI........... 0 = ASCII 1 = ANSI ; ; bit: 76543210 B15: DB 00000001B ; Configuration byte B15 ; ; Single character arrow keys or WordStar diamond ; DB 'K'-40H ; Cursor up DB 'J'-40H ; Cursor down DB 'L'-40H ; Cursor right DB 'H'-40H ; Cursor left ; ; Delays (in ms) after sending terminal control strings ; DB 0 ; CL delay DB 0 ; CM delay DB 0 ; CE delay ; ; Strings start here ; CL: DB 'Z'-40H,0 ; Home cursor and clear screen CM: DB ESC,'=%+ %+ ',0 ; Cursor motion macro CE: DB ESC,'T',0 ; Erase from cursor to end-of-line SO: DB ESC,'t','D'-40H,0 ; Start standout mode SE: DB ESC,'t','A'-40H,0 ; End standout mode TI: DB ESC,'M',0 ; Terminal initialization-Sets 33 line mode. TE: DB 0 ; Terminal deinitialization ; ; Extensions to standard Z3TCAP ; LD: DB ESC,'B',0 ; Delete line at cursor position LI: DB ESC,'I',0 ; Insert line at cursor position CD: DB 0 ; Erase from cursor to end-of-screen ; ; Sanyo MBC 1200/1250 supports underlining, inverse video, and overlining. ; It uses the following three byte sequence where the third byte has its bits ; set according to the attribute you want to set. Unfortunately, this doesn't ; quite fit the VLIB4D requirements. I have fudged values to allow some of the ; benefits of VLIB4D. The following works in 33 line mode only. ; ; ESC,'t',XX where the bits of XX are set to enable and reset to disable: ; D7.....Fixed to 0 ; D6.....Fixed to 0 ; D5.....Fixed to 0 ; D4.....Fixed to 0 ; D3.....Overline ; D2.....Inverse ; D1.....Underline ; D0.....Fixed to 0 ; ; There is a command for reading the cursor position but it returns the ; cursor position in register DE rather than the HL register required by ; VLIB4D. That sequence is ESC Q. It is not implemented under VLIB4D. ; ; The attribute string contains the four command characters to set ; the following four attributes for this terminal in the following ; order: Normal, Blink, Reverse, Underscore ; SA: DB ESC,'t',0 ; Set screen attributes macro AT: DB 'A'-40H,'A'-40H,'D'-40H,'B'-40H,0 ; Attribute string RC: DB 0 ; Read current cursor position RL: DB 0 ; Read line until cursor ; ; Graphics TCAP area ; GOELD: DB 0 ; Graphics On/Off delay in ms ; ; Graphics strings ; GO: DB 0 ; Graphics mode On GE: DB 0 ; Graphics mode Off CDO: DB ESC,'E',0 ; Cursor Off CDE: DB ESC,'D',0 ; Cursor On ; ; Graphics characters ; GULC: DB 098H ; Upper left corner GURC: DB 09BH ; Upper right corner GLLC: DB 09AH ; Lower left corner GLRC: DB 099H ; Lower right corner GHL: DB 0E8H ; Horizontal line GVL: DB 0E9H ; Vertical line GFB: DB 08BH ; Full block GHB: DB 095H ; Hashed block GUI: DB 0F5H ; Upper intersect GLI: DB 0F4H ; Lower intersect GIS: DB 0F8H ; Mid intersect GRTI: DB 0F6H ; Right intersect GLTI: DB 0F7H ; Left intersect ; ; Fill remaining space with zeros ; REPT 128-($-TNAME) DB 0 ENDM END ; ; End of Z3TCAP ;