home *** CD-ROM | disk | FTP | other *** search
/ Collection of Hack-Phreak Scene Programs / cleanhpvac.zip / cleanhpvac / SOURC455.ZIP / SRFILES.ZIP / DPMI.TBL < prev    next >
Text File  |  1992-07-07  |  6KB  |  104 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=1686h        ;  DPMI/Protected mode detect
  22. int     2Fh,    ax=1687h        ;  DPMI initialization
  23. int     2Fh,    ax=168Ah        ;  DPMI vendor text string ds:si
  24.                                  
  25. int     31h,    ax=func         ; DPMI Services   ax=func xxxxh
  26. int     31h,    ax=0000h        ;  allocate cx LDT descriptors
  27. int     31h,    ax=0001h        ;  free LDT descriptor bx
  28. int     31h,    ax=0002h        ;  convert ax seg to descriptor
  29. int     31h,    ax=0003h        ;  get selector inc value in ax
  30. int     31h,    ax=0004h        ;  lock sel in bx (Undoc)
  31. int     31h,    ax=0005h        ;  unlock sel in bx (Undoc)
  32. int     31h,    ax=0006h        ;  selector bx to seg base cx:dx
  33. int     31h,    ax=0007h        ;  set selectr bx seg base cx:dx
  34. int     31h,    ax=0008h        ;  set selector bx, limit cx:dx
  35. int     31h,    ax=0009h        ;  set selector bx, access cx
  36. int     31h,    ax=000Ah        ;  create alias of bx descriptor
  37. int     31h,    ax=000Bh        ;  copy LDT bx into buffer es:di
  38. int     31h,    ax=000Ch        ;  copy buffer es:di into LDT bx
  39. int     31h,    ax=000Dh        ;  allocate LDT bx
  40. int     31h,    ax=000Eh        ;  get cx LDTs into buffer es:di
  41. int     31h,    ax=000Fh        ;  set cx LDTs from buffer es:di
  42. int     31h,    ax=0100h        ;  allocate bx DOS memory
  43. int     31h,    ax=0101h        ;  free dx memory block
  44. int     31h,    ax=0102h        ;  resize dx mem block, size bx
  45. int     31h,    ax=0200h        ;  get real int bl into cx:dx
  46. int     31h,    ax=0201h        ;  set real int bl to cx:dx
  47. int     31h,    ax=0202h        ;  get uP exception bl in cx:dx
  48. int     31h,    ax=0203h        ;  set uP exception bl to cx:dx
  49. int     31h,    ax=0204h        ;  get protected int bl in cx:dx
  50. int     31h,    ax=0205h        ;  set protected int bl to cx:dx
  51. int     31h,    ax=0210h        ;  get extd exceptn bl in cx:dx
  52. int     31h,    ax=0211h        ;  get extd exceptn bl in cx:dx
  53. int     31h,    ax=0212h        ;  set extd exceptn bl to cx:dx
  54. int     31h,    ax=0213h        ;  set extd exceptn bl to cx:dx
  55. int     31h,    ax=0300h        ;  simulate real mode interrupt
  56. int     31h,    ax=0301h        ;  call real mode proc, far ret
  57. int     31h,    ax=0302h        ;  call real mode proc, iret
  58. int     31h,    ax=0303h        ;  allocate real mode callback
  59. int     31h,    ax=0304h        ;  free real mode callback cx:dx
  60. int     31h,    ax=0305h        ;  get state save/restore addr
  61. int     31h,    ax=0306h        ;  get raw mode switch address
  62. int     31h,    ax=0400h        ;  get DPMI version ax & info 
  63. int     31h,    ax=0401h        ;  get DPMI capabilities, es:di
  64. int     31h,    ax=0500h        ;  get free mem info in es:di  
  65. int     31h,    ax=0501h        ;  allocate mem block,size bx:cx
  66. int     31h,    ax=0502h        ;  free mem block, si:di=handle
  67. int     31h,    ax=0503h        ;  resize mem block si:di
  68. int     31h,    ax=0504h        ;  allocate linear mem block
  69. int     31h,    ax=0505h        ;  resize linear mem block
  70. int     31h,    ax=0506h        ;  get page fault attributes
  71. int     31h,    ax=0507h        ;  set page attributes
  72. int     31h,    ax=0508h        ;  map device in memory block
  73. int     31h,    ax=0509h        ;  map DOS mem in memory block
  74. int     31h,    ax=050Ah        ;  get mem block size & base
  75. int     31h,    ax=050Bh        ;  get mem info, ptr es:di
  76. int     31h,    ax=0600h        ;  lock linear region bx:cx
  77. int     31h,    ax=0601h        ;  unlock linear region bx:cx
  78. int     31h,    ax=0602h        ;  mark real mode region pagable
  79. int     31h,    ax=0603h        ;  relock real mode region bx:cx
  80. int     31h,    ax=0604h        ;  get page size into bx:cx
  81. int     31h,    ax=0700h        ;  mark paging canidates (Undoc)
  82. int     31h,    ax=0701h        ;  discard pages (Undoc)      
  83. int     31h,    ax=0702h        ;  mark as page-out candidate
  84. int     31h,    ax=0703h        ;  discard page bx:cx contents
  85. int     31h,    ax=0800h        ;  get liner from physical bx:cx
  86. int     31h,    ax=0801h        ;  free physical address mapping
  87. int     31h,    ax=0900h        ;  get/disable virtual int state
  88. int     31h,    ax=0901h        ;  get/enable virtual int state
  89. int     31h,    ax=0902h        ;  get virtual int state in al
  90. int     31h,    ax=0A00h        ;  get API entry point in es:di
  91. int     31h,    ax=0B00h        ;  set debug watchpoint at bx:cx
  92. int     31h,    ax=0B01h        ;  clear debug watchpoint bx
  93. int     31h,    ax=0B02h        ;  get debug watchpoint bx state
  94. int     31h,    ax=0B03h        ;  reset debug watchpoint bx
  95. int     31h,    ax=0C00h        ;  install resident callback 
  96. int     31h,    ax=0C01h        ;  terminate and stay resident
  97. int     31h,    ax=0D00h        ;  allocate shared memory es:di
  98. int     31h,    ax=0D01h        ;  free shared memory si:di
  99. int     31h,    ax=0D02h        ;  serialize on shared mem si:di
  100. int     31h,    ax=0D03h        ;  free serialized shared mem
  101. int     31h,    ax=0E00h        ;  get co-processor status in ax
  102. int     31h,    ax=0E01h        ;  set co-processor emulation bx
  103.  
  104.