home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0010 - 0019 / ibm0010-0019 / ibm0010.tar / ibm0010 / CDOSDSK4.ZIP / CDOSDSK4.TD0 / XIOS / NAT.EQU < prev    next >
Encoding:
Text File  |  1989-01-26  |  1.5 KB  |  62 lines

  1. ; NAT.EQU
  2.  
  3. ;    Equate file to be used with the European National
  4. ;    version of the Concurrent DOS XIOS.
  5.  
  6. ;    Some constants to be used by European character set support 
  7.  
  8. NX_just7_bit    equ    01H
  9. NX_nkbd_bit    equ    02H
  10. NX_nscn_bit    equ    04H
  11. NX_enhanced    equ    0ffffh    ; enhanced keyboard flag
  12.  
  13. ;/*
  14. ; *    define the languages & dead keys supported:
  15. ; */
  16. NX_l_us    equ    0
  17. NX_l_fr    equ    1
  18. NX_l_gr    equ    2
  19. NX_l_uk    equ    3
  20. NX_l_dk    equ    4
  21. NX_l_sw    equ    5
  22. NX_l_it    equ    6
  23. NX_l_sp    equ    7
  24. NX_l_ja    equ    8
  25.  
  26. NX_l_d0    equ    9
  27. NX_l_d1    equ    10
  28. NX_l_d2    equ    11
  29. NX_l_d3    equ    12
  30.  
  31. NX_l_no    equ    0FFh
  32.  
  33. ;/*
  34. ; *    types of printers supported
  35. ; */
  36. NX_ibm        equ    0
  37. NX_mx80        equ    1
  38. NX_mx80gt    equ    2
  39. NX_fx80        equ    3
  40. NX_daisy    equ    4
  41. NX_noxlat    equ    5
  42.  
  43. ;/*
  44. ; *    list control blocks for the various parameters
  45. ; *    and modes for all 5 printers supported.
  46. ; */
  47.  
  48. lv_pnum        equ    byte ptr .0000h[BX]    ; physical printer number
  49. lv_ptype    equ    byte ptr .0001h[BX]    ; printer type
  50. lv_cap        equ    word ptr .0002h[BX]    ; printer capabilities
  51. lv_escape    equ    word ptr .0004h[BX]    ; current escape handler
  52. lv_graph    equ    word ptr .0006h[BX]    ; graphics counter
  53. lv_lang        equ    byte ptr .0008h[BX]    ; current language
  54. lv_char        equ    byte ptr .0009h[BX]    ; translated character
  55. lv_set        equ    byte ptr .000ah[BX]    ; translated character set
  56.  
  57. lv_cp_hasbs    equ    00000001b        ; has backspace capability
  58. lv_cp_hassets    equ    00000010b        ; has multiple char sets
  59. lv_cp_hasgraph    equ    00000100b        ; supports graphics
  60.  
  61. no_match    equ    -1
  62.