home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR4 / V12N16.ZIP / FINDIR.ZIP / FINASM.ZIP / IRQSTRUC.INC < prev    next >
Text File  |  1993-08-24  |  4KB  |  135 lines

  1. ;---------------------------------------------------------------    
  2. ;irqstruc.inc - structures for FINDIRQ Utility                 |
  3. ;--------------------------------------------------------------|
  4. ;FINDIRQ Copyright (c) 1993                                    |
  5. ;                                                              |
  6. ;Rick Knoblaugh All rights reserved.                           |
  7. ;First Appeared in PC MAGAZINE, US Edition,                    |
  8. ;September 28, 1993                                            |
  9. ;--------------------------------------------------------------|
  10. ; 4/17/93                      Rick Knoblaugh                  |
  11. ;--------------------------------------------------------------|
  12.  
  13. doub_word       struc   
  14. d_offset        dw      ?
  15. d_segment       dw      ?
  16. doub_word       ends    
  17.  
  18. psp             struc
  19. psp_int20       dw      ?
  20. psp_nextpar     dw      ?
  21.                 db      ?
  22. psp_farcall     db      5 dup(?)
  23. psp_termadrs    dd      ?                       ;int 22h  address
  24. psp_cntrlc      dd      ?                       ;int 23h  address
  25. psp_crit_err    dd      ?                       ;int 24h  address
  26.                 dw      11 dup(?)
  27. psp_environ_seg dw      ?
  28.                 dw      23 dup(?)
  29. psp_fcb1        db      16 dup(?)
  30. psp_fcb2        db      16 dup(?)
  31.                 dd      ?
  32. psp_cmd_len     db      ?                       ;length of cmd tail
  33. psp_cmd_tail    db      ?
  34. psp             ends
  35.  
  36. cmd_dispatch    struc
  37. cmd_routine     dw      ?
  38. cmd_switch      db      ?
  39. cmd_dispatch    ends
  40.  
  41. disp_data       struc   
  42. str_col         db      ?
  43. str_row         db      ?
  44. str_attrib      db      ?
  45. str_data        db      ?
  46. disp_data       ends
  47.  
  48. disp_data2      struc   
  49. str_colp        db      ?
  50. str_rowp        db      ?
  51. str_attribp     db      ?
  52. str_data_ptr    dw      ?
  53. disp_data2      ends
  54.  
  55. isr_data        struc
  56. int_number      db      ?
  57. isr_routine     dw      ?
  58. old_isr         dw      ?
  59. isr_data        ends 
  60.  
  61. device_desc_off struc
  62. descrip         dw      0               ;offset of first description                
  63. ;;;DESC_ENTRY      equ  ($ - descrip)   ;for masm 6, this is better than equ 2
  64.                 dw      0               ;offset of 2nd description, etc.
  65.                 dw      0               
  66.                 dw      0               ;up to 4 of them
  67. device_desc_off ends
  68. DESC_ENTRY      equ     2               ;size of each entry
  69.  
  70.  
  71. list_lists      struc                   ;list of lists call info
  72. list_dk         db      22h dup(?)
  73. nul_dev_head    db      ?
  74. list_lists      ends 
  75.  
  76. list_lists30    struc                   ;list of lists call info  (DOS 3.0)
  77. list_dk30       db      28h dup(?)
  78. nul_dev_head30  db      ?
  79. list_lists30    ends 
  80.  
  81.  
  82. dev_header      struc
  83. dev_chain       dd      ?
  84. dev_attrib      dw      ?
  85. dev_stratr      dw      ?
  86. dev_intr        dw      ?
  87. dev_char_name   db      ?                       ;first byte device name (char drivers)
  88. dev_header      ends
  89.  
  90. CHAR_NAME_LEN   equ     8
  91.  
  92. drv_descrip     struc
  93. drv_name        db      8 dup(?)
  94. drv_name_term   db      ?
  95. drv_descrip     ends
  96.  
  97. mast_slave      struc
  98. d_master        db      ?
  99. d_slave         db      ?
  100. mast_slave      ends
  101.  
  102. mcb_struc       struc
  103. mcb_sig         db      ?
  104. mcb_owner       dw      ?
  105. mcb_size        dw      ?
  106. mcb_resv        db      3 dup(?)
  107. mcb_fname       db      8 dup(?)
  108. mcb_struc       ends
  109.  
  110.  
  111.  
  112.  
  113.  
  114. equip_list      record  num_prt_bits:2, eq_resv1:2, num_com_bits:3, eq_resv2:1, \
  115.                         num_dsk:2, vid_mode:2, pc_plan:1, point_dev:1, \
  116.                         math_co:1, boot_flop:1
  117.  
  118.  
  119. pcpic           record  pclpt1:1, pcflop:1, pchard:1, pccom1:1, \
  120.                         pccom2:1, pcvga:1, pckey:1, pctimer:1
  121.  
  122.  
  123.  
  124. atpic1          record  atlpt1:1, atflop:1, atlpt2:1, atcom1:1, \
  125.                         atcom2:1, atcas:1, atkey:1, attimer:1
  126.  
  127. atpic2          record  atirq15:1, athard:1, atmath:1, atirq12:1, \
  128.                         atirq11:1, atirq10:1, atvga:1, atclock:1
  129.  
  130.  
  131.  
  132.  
  133. ;------end of irqstruc.inc
  134.  
  135.