home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / mskermit / msxp98.h < prev    next >
Text File  |  2020-01-01  |  1KB  |  63 lines

  1. ;+ This is MSXP98.H created by H.Fujii (KEK) 26-Aug-1988
  2. ;
  3. ; Include file for NEC-PC9801
  4. ;
  5. ; NEC Bios
  6. BIOS    equ        18h
  7. ;
  8. ;
  9. ; Bit assignments for vt100_flags(byte)
  10. ;
  11. AUTOWRAP_BIT    equ        01h
  12. AUTOTEK_BIT        equ        02h
  13. INSERT_BIT        equ        08h        ; Insert/Replace mode
  14. NEWLINE_BIT        equ        10h        ; Newline/Linefeed mode
  15. ORIGIN_BIT        equ        20h        ; Origin/Absolute position
  16. ;
  17. ; Graphics flag
  18. ;
  19. MOUSE_BIT        equ    4
  20. GCLRWAIT_BIT    equ    2
  21. EXITG_BIT        equ    1
  22. ;
  23. ; Bit assignments for print flag, vt100_pflag(byte)
  24. ;
  25. AUTOPRINT_BIT    equ        01h
  26. PRINTCTRL_BIT    equ        02h
  27. PRINTFF_BIT        equ        04h
  28. PRINTEXT_BIT    equ        08h
  29. ;
  30. ; Bit assignments for logging flag, vt100_lflag(byte)
  31. ;
  32. LOGENAB_BIT     equ     01h     ; 1:Enable/0:Disable
  33. LOGCOOK_BIT     equ     02h     ; 1:Cooked/0:Raw
  34. ;
  35. ; Code assignments
  36. ;
  37. CSET_JISROMAN        equ        0
  38. CSET_JISKATAKANA    equ        1
  39. CSET_DECGRAPH        equ        2
  40. CSET_JISC6226        equ        3
  41. ;
  42. KNJCODE_NONE    equ    0
  43. KNJCODE_DEC    equ    1
  44. KNJCODE_SJIS    equ    2
  45. KNJCODE_JIS7    equ    3
  46. ;
  47. CPU_5M_CLOCK    equ    0
  48. CPU_8M_CLOCK    equ    1
  49. ;
  50. KEYCLICK_BIT    equ    4
  51. ;
  52. CURSOR_BIT    equ    8
  53. BLINK_BIT    equ    16
  54. LOOPTEST_BIT    equ    128
  55. ;
  56. ; Special keys
  57. ;
  58. KI_CODE            equ        4096+256    ; Kanji shift-in
  59. KO_CODE            equ        4097+256    ; Kanji shift-out
  60. ID_CODE            equ        4098+256    ; terminal id code
  61. ;
  62. ;- End of MSXP98.H
  63.