;+ This is MSXP98.H created by H.Fujii (KEK) 26-Aug-1988
;
; Include file for NEC-PC9801
;
; NEC Bios
BIOS	equ		18h
;
;
; Bit assignments for vt100_flags(byte)
;
AUTOWRAP_BIT	equ		01h
AUTOTEK_BIT		equ		02h
INSERT_BIT		equ		08h		; Insert/Replace mode
NEWLINE_BIT		equ		10h		; Newline/Linefeed mode
ORIGIN_BIT		equ		20h		; Origin/Absolute position
;
; Graphics flag
;
MOUSE_BIT		equ	4
GCLRWAIT_BIT	equ	2
EXITG_BIT		equ	1
;
; Bit assignments for print flag, vt100_pflag(byte)
;
AUTOPRINT_BIT	equ		01h
PRINTCTRL_BIT	equ		02h
PRINTFF_BIT		equ		04h
PRINTEXT_BIT	equ		08h
;
; Bit assignments for logging flag, vt100_lflag(byte)
;
LOGENAB_BIT     equ     01h     ; 1:Enable/0:Disable
LOGCOOK_BIT     equ     02h     ; 1:Cooked/0:Raw
;
; Code assignments
;
CSET_JISROMAN		equ		0
CSET_JISKATAKANA	equ		1
CSET_DECGRAPH		equ		2
CSET_JISC6226		equ		3
;
KNJCODE_NONE	equ	0
KNJCODE_DEC	equ	1
KNJCODE_SJIS	equ	2
KNJCODE_JIS7	equ	3
;
CPU_5M_CLOCK	equ	0
CPU_8M_CLOCK	equ	1
;
KEYCLICK_BIT	equ	4
;
CURSOR_BIT	equ	8
BLINK_BIT	equ	16
LOOPTEST_BIT	equ	128
;
; Special keys
;
KI_CODE			equ		4096+256	; Kanji shift-in
KO_CODE			equ		4097+256	; Kanji shift-out
ID_CODE			equ		4098+256	; terminal id code
;
;- End of MSXP98.H
