home *** CD-ROM | disk | FTP | other *** search
/ The Unsorted BBS Collection / thegreatunsorted.tar / thegreatunsorted / programming / asm_programming / DPMI.TBL < prev    next >
Text File  |  1993-09-14  |  6KB  |  102 lines

  1.  
  2.  
  3.   ------- DPMI HARDWARE INTERRUPTS -------------------------------------------
  4.  
  5.   To include these DPMI interrupts,  rename this file HARDWARE.TBL and
  6.   place into the default directory.   Sourcer will automatically check 
  7.   if this file exists, and will load these interrupt comments.
  8.  
  9.   To allow such a long list of interrupts, the EMS interrupt comments 
  10.   (int 67h) are disabled.    Other interrupts can  be disabled instead 
  11.   if necessary.  To remove these DPMI interrupts, rename this file so 
  12.   HARDWARE.TBL does not exist.
  13.  
  14.  
  15.  type  range     action                     comments
  16.  ----  -----    --------          ------------------------------
  17. rem  DPMI hardware interrupt table used
  18.  
  19. int     67h,    delete          removes all EMS entries to make room for DMPI
  20.  
  21. int     2Fh,    ax=168Ah        ;  DPMI vendor text string ds:si
  22.                                  
  23. int     31h,    ax=func         ; DPMI Services   ax=func xxxxh
  24. int     31h,    ax=0000h        ;  allocate cx LDT descriptors
  25. int     31h,    ax=0001h        ;  free LDT descriptor bx
  26. int     31h,    ax=0002h        ;  convert ax seg to descriptor
  27. int     31h,    ax=0003h        ;  get selector inc value in ax
  28. int     31h,    ax=0004h        ;  lock sel in bx (Undoc)
  29. int     31h,    ax=0005h        ;  unlock sel in bx (Undoc)
  30. int     31h,    ax=0006h        ;  selector bx to seg base cx:dx
  31. int     31h,    ax=0007h        ;  set selectr bx seg base cx:dx
  32. int     31h,    ax=0008h        ;  set selector bx, limit cx:dx
  33. int     31h,    ax=0009h        ;  set selector bx, access cx
  34. int     31h,    ax=000Ah        ;  create alias of bx descriptor
  35. int     31h,    ax=000Bh        ;  copy LDT bx into buffer es:di
  36. int     31h,    ax=000Ch        ;  copy buffer es:di into LDT bx
  37. int     31h,    ax=000Dh        ;  allocate LDT bx
  38. int     31h,    ax=000Eh        ;  get cx LDTs into buffer es:di
  39. int     31h,    ax=000Fh        ;  set cx LDTs from buffer es:di
  40. int     31h,    ax=0100h        ;  allocate bx DOS memory
  41. int     31h,    ax=0101h        ;  free dx memory block
  42. int     31h,    ax=0102h        ;  resize dx mem block, size bx
  43. int     31h,    ax=0200h        ;  get real int bl into cx:dx
  44. int     31h,    ax=0201h        ;  set real int bl to cx:dx
  45. int     31h,    ax=0202h        ;  get uP exception bl in cx:dx
  46. int     31h,    ax=0203h        ;  set uP exception bl to cx:dx
  47. int     31h,    ax=0204h        ;  get protected int bl in cx:dx
  48. int     31h,    ax=0205h        ;  set protected int bl to cx:dx
  49. int     31h,    ax=0210h        ;  get extd exceptn bl in cx:dx
  50. int     31h,    ax=0211h        ;  get extd exceptn bl in cx:dx
  51. int     31h,    ax=0212h        ;  set extd exceptn bl to cx:dx
  52. int     31h,    ax=0213h        ;  set extd exceptn bl to cx:dx
  53. int     31h,    ax=0300h        ;  simulate real mode interrupt
  54. int     31h,    ax=0301h        ;  call real mode proc, far ret
  55. int     31h,    ax=0302h        ;  call real mode proc, iret
  56. int     31h,    ax=0303h        ;  allocate real mode callback
  57. int     31h,    ax=0304h        ;  free real mode callback cx:dx
  58. int     31h,    ax=0305h        ;  get state save/restore addr
  59. int     31h,    ax=0306h        ;  get raw mode switch address
  60. int     31h,    ax=0400h        ;  get DPMI version ax & info 
  61. int     31h,    ax=0401h        ;  get DPMI capabilities, es:di
  62. int     31h,    ax=0500h        ;  get free mem info in es:di  
  63. int     31h,    ax=0501h        ;  allocate mem block,size bx:cx
  64. int     31h,    ax=0502h        ;  free mem block, si:di=handle
  65. int     31h,    ax=0503h        ;  resize mem block si:di
  66. int     31h,    ax=0504h        ;  allocate linear mem block
  67. int     31h,    ax=0505h        ;  resize linear mem block
  68. int     31h,    ax=0506h        ;  get page fault attributes
  69. int     31h,    ax=0507h        ;  set page attributes
  70. int     31h,    ax=0508h        ;  map device in memory block
  71. int     31h,    ax=0509h        ;  map DOS mem in memory block
  72. int     31h,    ax=050Ah        ;  get mem block size & base
  73. int     31h,    ax=050Bh        ;  get mem info, ptr es:di
  74. int     31h,    ax=0600h        ;  lock linear region bx:cx
  75. int     31h,    ax=0601h        ;  unlock linear region bx:cx
  76. int     31h,    ax=0602h        ;  mark real mode region pagable
  77. int     31h,    ax=0603h        ;  relock real mode region bx:cx
  78. int     31h,    ax=0604h        ;  get page size into bx:cx
  79. int     31h,    ax=0700h        ;  mark paging canidates (Undoc)
  80. int     31h,    ax=0701h        ;  discard pages (Undoc)      
  81. int     31h,    ax=0702h        ;  mark as page-out candidate
  82. int     31h,    ax=0703h        ;  discard page bx:cx contents
  83. int     31h,    ax=0800h        ;  get liner from physical bx:cx
  84. int     31h,    ax=0801h        ;  free physical address mapping
  85. int     31h,    ax=0900h        ;  get/disable virtual int state
  86. int     31h,    ax=0901h        ;  get/enable virtual int state
  87. int     31h,    ax=0902h        ;  get virtual int state in al
  88. int     31h,    ax=0A00h        ;  get API entry point in es:di
  89. int     31h,    ax=0B00h        ;  set debug watchpoint at bx:cx
  90. int     31h,    ax=0B01h        ;  clear debug watchpoint bx
  91. int     31h,    ax=0B02h        ;  get debug watchpoint bx state
  92. int     31h,    ax=0B03h        ;  reset debug watchpoint bx
  93. int     31h,    ax=0C00h        ;  install resident callback 
  94. int     31h,    ax=0C01h        ;  terminate and stay resident
  95. int     31h,    ax=0D00h        ;  allocate shared memory es:di
  96. int     31h,    ax=0D01h        ;  free shared memory si:di
  97. int     31h,    ax=0D02h        ;  serialize on shared mem si:di
  98. int     31h,    ax=0D03h        ;  free serialized shared mem
  99. int     31h,    ax=0E00h        ;  get co-processor status in ax
  100. int     31h,    ax=0E01h        ;  set co-processor emulation bx
  101.  
  102.