home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 8 / CDASC08.ISO / VRAC / INTSPY10.ZIP / INTSPY.INI < prev    next >
Encoding:
INI File  |  1993-05-13  |  13.8 KB  |  307 lines

  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ;;
  3. ;; Depending on the setup parameter specified at the command line, intspy
  4. ;; starts reading one of the following sections. These sections contain
  5. ;; one or more lines like:
  6. ;;
  7. ;;     interruptnumber=descriptionsection
  8. ;;
  9. ;; Intspy installs interrupt monitors for all specified interrupts. What is
  10. ;; printed depends on the descriptions found in [descriptionsection].
  11. ;;
  12. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  13.  
  14. ; The default when no setup is specified at the command line. Log all
  15. ; calls for accessing files.
  16. [intspy.default]
  17. 21=21_file
  18.  
  19. ; Log all calls for accessing files.
  20. [intspy.file]
  21. 21=21_file
  22.  
  23. ; Log all open file calls.
  24. [intspy.open]
  25. 21=21_open
  26.  
  27. ; Log all calls related to networks.
  28. [intspy.network]
  29. 21=21_network
  30.  
  31. ; Log all interrupt 21h calls.
  32. [intspy.21]
  33. 21=21_all
  34.  
  35. ; Log all interrupt 2fh calls.
  36. [intspy.2f]
  37. 2f=2f_all
  38.  
  39. ; Log all interrupt 21h and interrupt 2fh calls.
  40. [intspy.system]
  41. 21=21_all
  42. 2f=2f_all
  43.  
  44. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  45. ;;
  46. ;; The following sections describe what is printed when an interrupt occurs.
  47. ;; These sections contain lines like:
  48. ;;
  49. ;;     mask=format,var1,var2,...
  50. ;;
  51. ;; Mask contains 1 to 8 pairs of hexadecimal digits or the wildcard ??.
  52. ;; When the interrupt to be monitored occurs, these pairs are compared with 
  53. ;; the registers AH, AL, BH, BL, CH, CL, DH and DL.
  54. ;;
  55. ;; Format is a format string to be passed to fprintf().
  56. ;;
  57. ;; Var1, var2, etc, are optinal variables to be passed to fprintf().
  58. ;;
  59. ;; If the entry matches the actual register values when an interrupt occurs,
  60. ;; fprintf(...,format,var1,var2,...) is executed.
  61. ;;
  62. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  63.  
  64. ; Default used when setup is a hexadecimal number and there is no section
  65. ; [intspy.setup].
  66. [default]
  67. ??="int%02.2x(ax=0x%04.4x,bx=0x%04.4x,cx=0x%04.4x,dx=0x%04.4x)\n",intno,ax,bx,cx,dx
  68.  
  69. ; All 21h calls for accessing files.
  70. [21_file]
  71. 0f="open_file_with_fcb(fcb)\n"
  72. 10="close_file_with_fcb(fcb)\n"
  73. 11="find_first_file_with_fcb(fcb)\n"
  74. 12="find_next_file_with_fcb(fcb)\n"
  75. 16="create_file_with_fcb(fcb)\n"
  76. 17="rename_file_with_fcb(fcb)\n"
  77. 13="delete_file_with_fcb(fcb)\n"
  78. 3c="create_file_with_handle(filename=\"%s\",attrib=0x%04.4x)\n",dsdx,cx
  79. 3d="open_file_with_handle(filename=\"%s\")\n",dsdx
  80. 3e="close_file_with_handle(handle=%d)\n",bx
  81. 41="delete_file(filename=\"%s\")\n",dsdx
  82. 4300="get_file_attrib(filename=\"%s\")\n",dsdx
  83. 45="duplicate_file_handle(old_handle=%d)\n",bx
  84. 46="force_duplicate_file_handle(old_handle=%d,new_handle=%d)\n",bx,cx
  85. 4e="find_first_file(filespec=\"%s\",attrib=0x%04.4x)\n",dsdx,cx
  86. 4f="find_next_file()\n"
  87. 56="rename_file(old_name=\"%s\",new_name=\"%s\")\n",dsdx,esdi
  88. 5a="create_temporary(temp_path=\"%s\",attrib=0x%04.4x)\n",dsdx,cx
  89. 5b="create_new(filename=\"%s\",attrib=0x%04.4x)\n",dsdx,cx
  90. 6c="ext_open_create(filename=\"%s\",mode=0x%02.2x,attrib=0x%04.4x,action=0x%04.4x)\n",dssi,bx,cx,dx
  91.  
  92. ; All 21h calls for opening files.
  93. [21_open]
  94. 0f="open_file_with_fcb(fcb)\n"
  95. 16="create_file_with_fcb(fcb)\n"
  96. 3c="create_file_with_handle(filename=\"%s\",attrib=0x%04.4x)\n",dsdx,cx
  97. 3d="open_file_with_handle(filename=\"%s\")\n",dsdx
  98. 5a="create_temporary(temp_path=\"%s\",attrib=0x%04.4x)\n",dsdx,cx
  99. 5b="create_new(filename=\"%s\",attrib=0x%04.4x)\n",dsdx,cx
  100. 6c="ext_open_create(filename=\"%s\",mode=0x%02.2x,attrib=0x%04.4x,action=0x%04.4x)\n",dssi,bx,cx,dx
  101.  
  102. ; All 21h calls related to networks.
  103. [21_network]
  104. 4409="is_drive_remote(drive=%d)\n",bl
  105. 440a="is_file_or_device_remote(handle=%d)\n",bx
  106. 5e00="get_machine_name(buffer)\n"
  107. 5e02="set_printer_setup(index=%04.4x,string_length=%d,string=\"%s\")\n",bx,cx,dsdx
  108. 5e03="get_printer_setup(index=%04.4x,buffer)\n",bx
  109. 5f02="get_assign_list_entry(index=%04.4x,local_name=\"%s\",network_name=\"%s\")\n",bx,dssi,esdi
  110. 5f03="make_network_connection(device_code=%02.2x,user_value=%04.4x,local_name=\"%s\",network_name=\"%s\")\n",bl,cx,dssi,esdi
  111. 5f04="delete_network_connection(local_name=\"%s\")\n",dssi
  112. 6501="get_extended_country_information(codepage=%d,info_size=%d,country_code=%d,extcountryinfo_struct)\n",bx,cx,dx
  113.  
  114. ; All interrupt 21h calls.
  115. [21_all]
  116. 00="terminate_program()\n"
  117. 01="read_keyboard_with_echo()\n"
  118. 02="display_character(chr=0x%02.2x)\n",al
  119. 03="auxiliary_input()\n"
  120. 04="auxiliary_output(chr=0x%02.2x)\n",al
  121. 05="print_character(chr=0x%02.2x)\n",al
  122. 06="direct_console_io(io_switch=0x%02.2x)\n",al
  123. 07="direct_console_input()\n"
  124. 08="read_keyboard_without_echo()\n"
  125. 09="display_string(str)\n"
  126. 0a="buffered_keyboard_input(buffer)\n"
  127. 0b="" ; "check_keyboard_status()\n"
  128. 0c="flush_buffer_read_keyboard(chr=0x%02.2x)\n",al
  129. 0d="reset_drive()\n"
  130. 0e="set_default_drive(drive=%d)\n",al
  131. 0f="open_file_with_fcb(fcb)\n"
  132. 10="close_file_with_fcb(fcb)\n"
  133. 11="find_first_file_with_fcb(fcb)\n"
  134. 12="find_next_file_with_fcb(fcb)\n"
  135. 13="delete_file_with_fcb(fcb)\n"
  136. 14="sequential_read(fcb)\n"
  137. 15="sequential_write(fcb)\n"
  138. 16="create_file_with_fcb(fcb)\n"
  139. 17="rename_file_with_fcb(fcb)\n"
  140. 19="get_default_drive()\n"
  141. 1a="set_disk_transfer_address(dta)\n"
  142. 1b="get_default_drive_data()\n"
  143. 1c="get_drive_data(drive=%d)\n",dl
  144. 1f="get_default_dpb()\n"
  145. 21="random_read(fcb)\n"
  146. 22="random_write(fcb)\n"
  147. 23="get_file_size(fcb)\n"
  148. 24="set_random_record_number(fcb)\n"
  149. 25="set_interupt_vector(vector=0x%02.2x,handler=0x%04.4x%04.4x)\n",al,ds,dx
  150. 26="create_new_psp(segment_psp=0x%02.2x)\n",dx
  151. 27="random_block_read(number_of_records=%d,fcb)\n",cx
  152. 28="random_block_write(number_of_records=%d,fcb)\n",cx
  153. 29="parse_filename(input=\"%s\",fcb,control=0x%02.2x)\n",dssi,al
  154. 2a="get_date()\n"
  155. 2b="set_date(year=%d,month=%d,day=%d)\n",cx,dh,dl
  156. 2c="get_date()\n"
  157. 2d="set_date(hour=%d,minutes=%d,seconds=%d.%02.2d)\n",ch,cl,dh,dl
  158. 2e="set_reset_verify_flag(flag=%d)\n",al
  159. 2f="get_disk_transfer_address()\n"
  160. 30="get_version_number()\n"
  161. 31="keep_program()"
  162. 32="get_dpb(drive=%d)\n",dl
  163. 3300="get_ctrl_c_check_flag()\n"
  164. 3301="set_ctrl_c_check_flag(breakflag=%d)\n",dl
  165. 3305="get_startup_drive()\n"
  166. 3305="get_ms_dos_version()\n"
  167. 34="get_indos_flag_address()\n"
  168. 35="get_interrupt_vector(vector_number=0x%02.2x)\n",al
  169. 36="get_disk_free_space(drive=%d)\n",dl
  170. 38="get_set_country_information(country_code=%d,buffer)\n",bx
  171. 39="create_directory(dirname=\"%s\")\n",dsdx
  172. 3a="remove_directory(dirname=\"%s\")\n",dsdx
  173. 3b="change_current_directory(dirname=\"%s\")\n",dsdx
  174. 3c="create_file_with_handle(filename=\"%s\",attrib=0x%04.4x)\n",dsdx,cx
  175. 3d="open_file_with_handle(filename=\"%s\")\n",dsdx
  176. 3e="close_file_with_handle(handle=%d)\n",bx
  177. 3f="read_file_or_device(handle=%d,buffer,n=%d)\n",bx,cx
  178. 40="write_file_or_device(handle=%d,buffer,n=%d)\n",bx,cx
  179. 41="delete_file(filename=\"%s\")\n",dsdx
  180. 42="move_file_pointer(handle=%d,offset=0x%04.4x%04.4x,origin=%d)\n",bx,cx,dx,al
  181. 4300="get_file_attrib(filename=\"%s\")\n",dsdx
  182. 4301="set_file_attrib(filename=\"%s\",attrib=0x%04.4x)\n",dsdx,cx
  183. 4400="get_device_data(handle=%d)\n",bx
  184. 4401="set_device_data(handle=%d,device_status=0x%04.4x)\n",bx,dx
  185. 4402="receive_control_data_from_character_device(handle=%d,max_bytes=%d,buffer)\n",bx,cx
  186. 4403="sent_control_data_to_character_device(handle=%d,max_bytes=%d,buffer)\n",bx,cx
  187. 4404="receive_control_data_from_block_device(drive=%d,max_bytes=%d,buffer)\n",bx,cx
  188. 4405="sent_control_data_to_block_device(drive=%d,max_bytes=%d,buffer)\n",bx,cx
  189. 4406="check_device_input_status(handle=%d)\n",bx
  190. 4407="check_device_output_status(handle=%d)\n",bx
  191. 4408="does_device_use_removable_media(drive=%d)\n",bl
  192. 4409="is_drive_remote(drive=%d)\n",bl
  193. 440a="is_file_or_device_remote(handle=%d)\n",bx
  194. 440b="set_sharing_retry_count(c_pause=%d,c_retries=%d)\n",cx,dx
  195. 440c??????45="set_iteration_count(handle=%d,catagory=%02.2x)\n",bx,ch
  196. 440c??????4a="select_code_page(handle=%d,catagory=%02.2x,codepage_struct)\n",bx,ch
  197. 440c??????4c="start_code_page_prepare(handle=%d,catagory=%02.2x,codepage_struct)\n",bx,ch
  198. 440c??????4c="end_code_page_prepare(handle=%d,catagory=%02.2x)\n",bx,ch
  199. 440c??????5f="set_display_mode(handle=%d,catagory=%02.2x,displaymode_struct)\n",bx,ch
  200. 440c??????65="get_iteration_count(handle=%d,catagory=%02.2x)\n",bx,ch
  201. 440c??????6a="query_selected_code_page(handle=%d,catagory=%02.2x,codepage_struct)\n",bx,ch
  202. 440c??????6b="query_code_page_prepare_list(handle=%d,catagory=%02.2x,cplist_struct)\n",bx,ch
  203. 440c??????7f="get_display_mode(handle=%d,catagory=%02.2x,displaymode_struct)\n",bx,ch
  204. 440d????0840="set_device_parameters(drive=%d,driveparams_struct)\n",bl
  205. 440d????0841="write_track_on_logical_drive(drive=%d,rwblock_struct)\n",bl
  206. 440d????0842="format_track_on_logical_drive(drive=%d,fvblock_struct)\n",bl
  207. 440d????0846="set_media_id(drive=%d,mid_struct)\n",bl
  208. 440d????0860="get_device_parameters(drive=%d,deviceparams_struct)\n",bl
  209. 440d????0861="read_track_on_logical_drive(drive=%d,rwblock_struct)\n",bl
  210. 440d????0862="verify_track_on_logical_drive(drive=%d,fvblock_struct)\n",bl
  211. 440d????0866="get_media_id(drive=%d,mid_struct)\n",bl
  212. 440d????0868="sense_media_type(drive=%d,buffer)\n",bl
  213. 440e="get_logical_drive_map(drive=%d)\n",bl
  214. 440f="set_logical_drive_map(drive=%d)\n",bl
  215. 4410="query_ioctl_handle(handle=%d,category=%02.2x,function=%02.2x)\n",bx,ch,cl
  216. 4410????08="query_ioctl_device(drive=%d,function=%02.2x)\n",bl,cl
  217. 45="duplicate_file_handle(old_handle=%d)\n",bx
  218. 46="force_duplicate_file_handle(old_handle=%d,new_handle=%d)\n",bx,cx
  219. 47="get_current_directory(buffer,drive=%d)\n",dl
  220. 48="allocate_memory(size=%d)\n",bx
  221. 49="free_allocated_memory(segment=0x%04.4x)\n",es
  222. 4a="set_memory_block_size(size=%d,segment=0x%04.4x)\n",bx,es
  223. 4b00="load_and_execute_program(program=\"%s\",loadexec_struct)\n",dsdx
  224. 4b01="load_program(program=\"%s\",load_struct)\n",dsdx
  225. 4b03="load_overlay(program=\"%s\",loadoverlay_struct)\n",dsdx
  226. 4b05="set_execution_state(execstate_struct)\n"
  227. 4c="end_program(return_value=%d)\n",al
  228. 4d="get_child_program_return_value()\n"
  229. 4e="find_first_file(filespec=\"%s\",attrib=0x%04.4x)\n",dsdx,cx
  230. 4f="find_next_file()\n"
  231. 50="set_psp_address(segment=0x%04.4x)\n",bx
  232. 51="get_psp_address()\n"
  233. 54="get_verify_state()\n"
  234. 56="rename_file(old_name=\"%s\",new_name=\"%s\")\n",dsdx,esdi
  235. 5700="get_file_date_and_time(handle=0x%04.4x)\n",bx
  236. 5701="set_file_date_and_time(handle=0x%04.4x,time=0x%04.4x,date=0x%04.4x)\n",bx,cx,dx
  237. 5800="get_allocation_strategy()\n"
  238. 5801="set_allocation_strategy(strategy=0x%04.4x)\n",bx
  239. 5802="get_upper_memory_link()\n"
  240. 5803="set_upper_memory_link(link_flag=%d)\n",bx
  241. 59="get_extended_error()\n"
  242. 5a="create_temporary(temp_path=\"%s\",attrib=0x%04.4x)\n",dsdx,cx
  243. 5b="create_new(filename=\"%s\",attrib=0x%04.4x)\n",dsdx,cx
  244. 5c="lock_unlock_file(handle=%d,offset=0x%04.4x%04.4x,length=0x%04.4x%04.4x,lock_flag=%d)\n",bx,cx,dx,si,di,al
  245. 5d0a="set_extended_error(error_struct)\n"
  246. 5e00="get_machine_name(buffer)\n"
  247. 5e02="set_printer_setup(index=%04.4x,string_length=%d,string=\"%s\")\n",bx,cx,dsdx
  248. 5e03="get_printer_setup(index=%04.4x,buffer)\n",bx
  249. 5f02="get_assign_list_entry(index=%04.4x,local_name=\"%s\",network_name=\"%s\")\n",bx,dssi,esdi
  250. 5f03="make_network_connection(device_code=%02.2x,user_value=%04.4x,local_name=\"%s\",network_name=\"%s\")\n",bl,cx,dssi,esdi
  251. 5f04="delete_network_connection(local_name=\"%s\")\n",dssi
  252. 6501="get_extended_country_information(codepage=%d,info_size=%d,country_code=%d,extcountryinfo_struct)\n",bx,cx,dx
  253. 6502="get_uppercase_table(codepage=%d,buffer_size=%d,buffer)\n",bx,cx
  254. 6504="get_filename_uppercase_table(codepage=%d,buffer_size=%d,buffer)\n",bx,cx
  255. 6505="get_filename_character_table(codepage=%d,buffer_size=%d,buffer)\n",bx,cx
  256. 6506="get_collate_sequence_table(codepage=%d,buffer_size=%d,buffer)\n",bx,cx
  257. 6507="get_double_byte_character_set(codepage=%d,buffer_size=%d,buffer)\n",bx,cx
  258. 6520="convert_character(chr=%02.2x)\n",dl
  259. 6521="convert_string(string_length=%d,string)\n",cx
  260. 6522="convert_asciiz_string(string=\"%s\")\n",dsdx
  261. 6601="get_global_code_page()\n"
  262. 6602="set_global_code_page(codepage=%d)\n",bx
  263. 67="set_maximum_handle_count(handles=%d)\n",bx
  264. 68="commit_file(handle=%d)\n",bx
  265. 6c="ext_open_create(filename=\"%s\",mode=0x%04.4x,attrib=0x%04.4x,action=0x%04.4x)\n",dssi,bx,cx,dx
  266. ??="int21(ax=0x%04.4x,bx=0x%04.4x,cx=0x%04.4x,dx=0x%04.4x)\n",ax,bx,cx,dx
  267.  
  268. ; All interrupt 2f calls.
  269. [2f_all]
  270. 0100="get_print_exe_installed_state()\n"
  271. 0101="add_file_to_queue(filename=\"%s\")\n",dsdx
  272. 0102="remove_file_from_print_queue(filename=\"%s\")\n",dsdx
  273. 0103="cancel_all_files_in_print_queue()\n"
  274. 0104="hold_print_jobs_and_get_status()\n"
  275. 0105="release_print_jobs()\n"
  276. 0106="get_printer_device()\n"
  277. 0600="get_assign_com_installed_state()\n"
  278. 1000="get_share_exe_installed_state()\n"
  279. 1100="get_network_installed_state()\n"
  280. 1400="get_nlsfunc_exe_installed_state()\n"
  281. 1680="" ; "ms_dos_idle_call()\n"
  282. 1681="disable_task_switches()\n"
  283. 1682="enable_task_switches()\n"
  284. 1a00="get_ansi_sys_installed_state()\n"
  285. 4300="get_himem_sys_installed_state()\n"
  286. 4310="get_himem_sys_entry_point_address()\n"
  287. 4800="get_doskey_com_installed_state()\n"
  288. 4810="read_command_line(buffer)\n"
  289. 4b010000="build_notification_chain(service=0x%04.4x%04.4x)\n",cx,dx
  290. 4b020000="detect_switcher()\n"
  291. 4b030000="allocate_switcher_id(service=0x%04.4x)\n",di
  292. 4b04="free_switcher_id(id=0x%04.4x,service=0x%04.4x)\n",bx,di
  293. 4b050000="identify_instance_data(service=0x%04.4x%04.4x)\n",cx,bx
  294. ad80="get_keyb_com_version_number()\n"
  295. ad81="set_keyb_com_active_code_page(codepage=%d)\n",bx
  296. ad82="set_keyb_com_country_flag(country_flag=0x%02.2x)\n",bl
  297. ad83="get_keyb_com_country_flag()\n",bl
  298. b000="get_graftabl_com_installed_state()\n"
  299. b700="get_append_exe_installed_state()\n"
  300. b702="get_append_exe_version()\n"
  301. b704="get_append_exe_directory_list_address()\n"
  302. b706="get_append_exe_modes_flag()\n"
  303. b707="set_append_exe_modes_flag(modes=0x%04.4x)\n",bx
  304. b711="set_true_name_flag()\n"
  305. ??="int2f(ax=0x%04.4x,bx=0x%04.4x,cx=0x%04.4x,dx=0x%04.4x)\n",ax,bx,cx,dx
  306.  
  307.