home *** CD-ROM | disk | FTP | other *** search
INI File | 1993-05-13 | 13.8 KB | 307 lines |
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;;
- ;; Depending on the setup parameter specified at the command line, intspy
- ;; starts reading one of the following sections. These sections contain
- ;; one or more lines like:
- ;;
- ;; interruptnumber=descriptionsection
- ;;
- ;; Intspy installs interrupt monitors for all specified interrupts. What is
- ;; printed depends on the descriptions found in [descriptionsection].
- ;;
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
- ; The default when no setup is specified at the command line. Log all
- ; calls for accessing files.
- [intspy.default]
- 21=21_file
-
- ; Log all calls for accessing files.
- [intspy.file]
- 21=21_file
-
- ; Log all open file calls.
- [intspy.open]
- 21=21_open
-
- ; Log all calls related to networks.
- [intspy.network]
- 21=21_network
-
- ; Log all interrupt 21h calls.
- [intspy.21]
- 21=21_all
-
- ; Log all interrupt 2fh calls.
- [intspy.2f]
- 2f=2f_all
-
- ; Log all interrupt 21h and interrupt 2fh calls.
- [intspy.system]
- 21=21_all
- 2f=2f_all
-
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;;
- ;; The following sections describe what is printed when an interrupt occurs.
- ;; These sections contain lines like:
- ;;
- ;; mask=format,var1,var2,...
- ;;
- ;; Mask contains 1 to 8 pairs of hexadecimal digits or the wildcard ??.
- ;; When the interrupt to be monitored occurs, these pairs are compared with
- ;; the registers AH, AL, BH, BL, CH, CL, DH and DL.
- ;;
- ;; Format is a format string to be passed to fprintf().
- ;;
- ;; Var1, var2, etc, are optinal variables to be passed to fprintf().
- ;;
- ;; If the entry matches the actual register values when an interrupt occurs,
- ;; fprintf(...,format,var1,var2,...) is executed.
- ;;
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
- ; Default used when setup is a hexadecimal number and there is no section
- ; [intspy.setup].
- [default]
- ??="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
-
- ; All 21h calls for accessing files.
- [21_file]
- 0f="open_file_with_fcb(fcb)\n"
- 10="close_file_with_fcb(fcb)\n"
- 11="find_first_file_with_fcb(fcb)\n"
- 12="find_next_file_with_fcb(fcb)\n"
- 16="create_file_with_fcb(fcb)\n"
- 17="rename_file_with_fcb(fcb)\n"
- 13="delete_file_with_fcb(fcb)\n"
- 3c="create_file_with_handle(filename=\"%s\",attrib=0x%04.4x)\n",dsdx,cx
- 3d="open_file_with_handle(filename=\"%s\")\n",dsdx
- 3e="close_file_with_handle(handle=%d)\n",bx
- 41="delete_file(filename=\"%s\")\n",dsdx
- 4300="get_file_attrib(filename=\"%s\")\n",dsdx
- 45="duplicate_file_handle(old_handle=%d)\n",bx
- 46="force_duplicate_file_handle(old_handle=%d,new_handle=%d)\n",bx,cx
- 4e="find_first_file(filespec=\"%s\",attrib=0x%04.4x)\n",dsdx,cx
- 4f="find_next_file()\n"
- 56="rename_file(old_name=\"%s\",new_name=\"%s\")\n",dsdx,esdi
- 5a="create_temporary(temp_path=\"%s\",attrib=0x%04.4x)\n",dsdx,cx
- 5b="create_new(filename=\"%s\",attrib=0x%04.4x)\n",dsdx,cx
- 6c="ext_open_create(filename=\"%s\",mode=0x%02.2x,attrib=0x%04.4x,action=0x%04.4x)\n",dssi,bx,cx,dx
-
- ; All 21h calls for opening files.
- [21_open]
- 0f="open_file_with_fcb(fcb)\n"
- 16="create_file_with_fcb(fcb)\n"
- 3c="create_file_with_handle(filename=\"%s\",attrib=0x%04.4x)\n",dsdx,cx
- 3d="open_file_with_handle(filename=\"%s\")\n",dsdx
- 5a="create_temporary(temp_path=\"%s\",attrib=0x%04.4x)\n",dsdx,cx
- 5b="create_new(filename=\"%s\",attrib=0x%04.4x)\n",dsdx,cx
- 6c="ext_open_create(filename=\"%s\",mode=0x%02.2x,attrib=0x%04.4x,action=0x%04.4x)\n",dssi,bx,cx,dx
-
- ; All 21h calls related to networks.
- [21_network]
- 4409="is_drive_remote(drive=%d)\n",bl
- 440a="is_file_or_device_remote(handle=%d)\n",bx
- 5e00="get_machine_name(buffer)\n"
- 5e02="set_printer_setup(index=%04.4x,string_length=%d,string=\"%s\")\n",bx,cx,dsdx
- 5e03="get_printer_setup(index=%04.4x,buffer)\n",bx
- 5f02="get_assign_list_entry(index=%04.4x,local_name=\"%s\",network_name=\"%s\")\n",bx,dssi,esdi
- 5f03="make_network_connection(device_code=%02.2x,user_value=%04.4x,local_name=\"%s\",network_name=\"%s\")\n",bl,cx,dssi,esdi
- 5f04="delete_network_connection(local_name=\"%s\")\n",dssi
- 6501="get_extended_country_information(codepage=%d,info_size=%d,country_code=%d,extcountryinfo_struct)\n",bx,cx,dx
-
- ; All interrupt 21h calls.
- [21_all]
- 00="terminate_program()\n"
- 01="read_keyboard_with_echo()\n"
- 02="display_character(chr=0x%02.2x)\n",al
- 03="auxiliary_input()\n"
- 04="auxiliary_output(chr=0x%02.2x)\n",al
- 05="print_character(chr=0x%02.2x)\n",al
- 06="direct_console_io(io_switch=0x%02.2x)\n",al
- 07="direct_console_input()\n"
- 08="read_keyboard_without_echo()\n"
- 09="display_string(str)\n"
- 0a="buffered_keyboard_input(buffer)\n"
- 0b="" ; "check_keyboard_status()\n"
- 0c="flush_buffer_read_keyboard(chr=0x%02.2x)\n",al
- 0d="reset_drive()\n"
- 0e="set_default_drive(drive=%d)\n",al
- 0f="open_file_with_fcb(fcb)\n"
- 10="close_file_with_fcb(fcb)\n"
- 11="find_first_file_with_fcb(fcb)\n"
- 12="find_next_file_with_fcb(fcb)\n"
- 13="delete_file_with_fcb(fcb)\n"
- 14="sequential_read(fcb)\n"
- 15="sequential_write(fcb)\n"
- 16="create_file_with_fcb(fcb)\n"
- 17="rename_file_with_fcb(fcb)\n"
- 19="get_default_drive()\n"
- 1a="set_disk_transfer_address(dta)\n"
- 1b="get_default_drive_data()\n"
- 1c="get_drive_data(drive=%d)\n",dl
- 1f="get_default_dpb()\n"
- 21="random_read(fcb)\n"
- 22="random_write(fcb)\n"
- 23="get_file_size(fcb)\n"
- 24="set_random_record_number(fcb)\n"
- 25="set_interupt_vector(vector=0x%02.2x,handler=0x%04.4x%04.4x)\n",al,ds,dx
- 26="create_new_psp(segment_psp=0x%02.2x)\n",dx
- 27="random_block_read(number_of_records=%d,fcb)\n",cx
- 28="random_block_write(number_of_records=%d,fcb)\n",cx
- 29="parse_filename(input=\"%s\",fcb,control=0x%02.2x)\n",dssi,al
- 2a="get_date()\n"
- 2b="set_date(year=%d,month=%d,day=%d)\n",cx,dh,dl
- 2c="get_date()\n"
- 2d="set_date(hour=%d,minutes=%d,seconds=%d.%02.2d)\n",ch,cl,dh,dl
- 2e="set_reset_verify_flag(flag=%d)\n",al
- 2f="get_disk_transfer_address()\n"
- 30="get_version_number()\n"
- 31="keep_program()"
- 32="get_dpb(drive=%d)\n",dl
- 3300="get_ctrl_c_check_flag()\n"
- 3301="set_ctrl_c_check_flag(breakflag=%d)\n",dl
- 3305="get_startup_drive()\n"
- 3305="get_ms_dos_version()\n"
- 34="get_indos_flag_address()\n"
- 35="get_interrupt_vector(vector_number=0x%02.2x)\n",al
- 36="get_disk_free_space(drive=%d)\n",dl
- 38="get_set_country_information(country_code=%d,buffer)\n",bx
- 39="create_directory(dirname=\"%s\")\n",dsdx
- 3a="remove_directory(dirname=\"%s\")\n",dsdx
- 3b="change_current_directory(dirname=\"%s\")\n",dsdx
- 3c="create_file_with_handle(filename=\"%s\",attrib=0x%04.4x)\n",dsdx,cx
- 3d="open_file_with_handle(filename=\"%s\")\n",dsdx
- 3e="close_file_with_handle(handle=%d)\n",bx
- 3f="read_file_or_device(handle=%d,buffer,n=%d)\n",bx,cx
- 40="write_file_or_device(handle=%d,buffer,n=%d)\n",bx,cx
- 41="delete_file(filename=\"%s\")\n",dsdx
- 42="move_file_pointer(handle=%d,offset=0x%04.4x%04.4x,origin=%d)\n",bx,cx,dx,al
- 4300="get_file_attrib(filename=\"%s\")\n",dsdx
- 4301="set_file_attrib(filename=\"%s\",attrib=0x%04.4x)\n",dsdx,cx
- 4400="get_device_data(handle=%d)\n",bx
- 4401="set_device_data(handle=%d,device_status=0x%04.4x)\n",bx,dx
- 4402="receive_control_data_from_character_device(handle=%d,max_bytes=%d,buffer)\n",bx,cx
- 4403="sent_control_data_to_character_device(handle=%d,max_bytes=%d,buffer)\n",bx,cx
- 4404="receive_control_data_from_block_device(drive=%d,max_bytes=%d,buffer)\n",bx,cx
- 4405="sent_control_data_to_block_device(drive=%d,max_bytes=%d,buffer)\n",bx,cx
- 4406="check_device_input_status(handle=%d)\n",bx
- 4407="check_device_output_status(handle=%d)\n",bx
- 4408="does_device_use_removable_media(drive=%d)\n",bl
- 4409="is_drive_remote(drive=%d)\n",bl
- 440a="is_file_or_device_remote(handle=%d)\n",bx
- 440b="set_sharing_retry_count(c_pause=%d,c_retries=%d)\n",cx,dx
- 440c??????45="set_iteration_count(handle=%d,catagory=%02.2x)\n",bx,ch
- 440c??????4a="select_code_page(handle=%d,catagory=%02.2x,codepage_struct)\n",bx,ch
- 440c??????4c="start_code_page_prepare(handle=%d,catagory=%02.2x,codepage_struct)\n",bx,ch
- 440c??????4c="end_code_page_prepare(handle=%d,catagory=%02.2x)\n",bx,ch
- 440c??????5f="set_display_mode(handle=%d,catagory=%02.2x,displaymode_struct)\n",bx,ch
- 440c??????65="get_iteration_count(handle=%d,catagory=%02.2x)\n",bx,ch
- 440c??????6a="query_selected_code_page(handle=%d,catagory=%02.2x,codepage_struct)\n",bx,ch
- 440c??????6b="query_code_page_prepare_list(handle=%d,catagory=%02.2x,cplist_struct)\n",bx,ch
- 440c??????7f="get_display_mode(handle=%d,catagory=%02.2x,displaymode_struct)\n",bx,ch
- 440d????0840="set_device_parameters(drive=%d,driveparams_struct)\n",bl
- 440d????0841="write_track_on_logical_drive(drive=%d,rwblock_struct)\n",bl
- 440d????0842="format_track_on_logical_drive(drive=%d,fvblock_struct)\n",bl
- 440d????0846="set_media_id(drive=%d,mid_struct)\n",bl
- 440d????0860="get_device_parameters(drive=%d,deviceparams_struct)\n",bl
- 440d????0861="read_track_on_logical_drive(drive=%d,rwblock_struct)\n",bl
- 440d????0862="verify_track_on_logical_drive(drive=%d,fvblock_struct)\n",bl
- 440d????0866="get_media_id(drive=%d,mid_struct)\n",bl
- 440d????0868="sense_media_type(drive=%d,buffer)\n",bl
- 440e="get_logical_drive_map(drive=%d)\n",bl
- 440f="set_logical_drive_map(drive=%d)\n",bl
- 4410="query_ioctl_handle(handle=%d,category=%02.2x,function=%02.2x)\n",bx,ch,cl
- 4410????08="query_ioctl_device(drive=%d,function=%02.2x)\n",bl,cl
- 45="duplicate_file_handle(old_handle=%d)\n",bx
- 46="force_duplicate_file_handle(old_handle=%d,new_handle=%d)\n",bx,cx
- 47="get_current_directory(buffer,drive=%d)\n",dl
- 48="allocate_memory(size=%d)\n",bx
- 49="free_allocated_memory(segment=0x%04.4x)\n",es
- 4a="set_memory_block_size(size=%d,segment=0x%04.4x)\n",bx,es
- 4b00="load_and_execute_program(program=\"%s\",loadexec_struct)\n",dsdx
- 4b01="load_program(program=\"%s\",load_struct)\n",dsdx
- 4b03="load_overlay(program=\"%s\",loadoverlay_struct)\n",dsdx
- 4b05="set_execution_state(execstate_struct)\n"
- 4c="end_program(return_value=%d)\n",al
- 4d="get_child_program_return_value()\n"
- 4e="find_first_file(filespec=\"%s\",attrib=0x%04.4x)\n",dsdx,cx
- 4f="find_next_file()\n"
- 50="set_psp_address(segment=0x%04.4x)\n",bx
- 51="get_psp_address()\n"
- 54="get_verify_state()\n"
- 56="rename_file(old_name=\"%s\",new_name=\"%s\")\n",dsdx,esdi
- 5700="get_file_date_and_time(handle=0x%04.4x)\n",bx
- 5701="set_file_date_and_time(handle=0x%04.4x,time=0x%04.4x,date=0x%04.4x)\n",bx,cx,dx
- 5800="get_allocation_strategy()\n"
- 5801="set_allocation_strategy(strategy=0x%04.4x)\n",bx
- 5802="get_upper_memory_link()\n"
- 5803="set_upper_memory_link(link_flag=%d)\n",bx
- 59="get_extended_error()\n"
- 5a="create_temporary(temp_path=\"%s\",attrib=0x%04.4x)\n",dsdx,cx
- 5b="create_new(filename=\"%s\",attrib=0x%04.4x)\n",dsdx,cx
- 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
- 5d0a="set_extended_error(error_struct)\n"
- 5e00="get_machine_name(buffer)\n"
- 5e02="set_printer_setup(index=%04.4x,string_length=%d,string=\"%s\")\n",bx,cx,dsdx
- 5e03="get_printer_setup(index=%04.4x,buffer)\n",bx
- 5f02="get_assign_list_entry(index=%04.4x,local_name=\"%s\",network_name=\"%s\")\n",bx,dssi,esdi
- 5f03="make_network_connection(device_code=%02.2x,user_value=%04.4x,local_name=\"%s\",network_name=\"%s\")\n",bl,cx,dssi,esdi
- 5f04="delete_network_connection(local_name=\"%s\")\n",dssi
- 6501="get_extended_country_information(codepage=%d,info_size=%d,country_code=%d,extcountryinfo_struct)\n",bx,cx,dx
- 6502="get_uppercase_table(codepage=%d,buffer_size=%d,buffer)\n",bx,cx
- 6504="get_filename_uppercase_table(codepage=%d,buffer_size=%d,buffer)\n",bx,cx
- 6505="get_filename_character_table(codepage=%d,buffer_size=%d,buffer)\n",bx,cx
- 6506="get_collate_sequence_table(codepage=%d,buffer_size=%d,buffer)\n",bx,cx
- 6507="get_double_byte_character_set(codepage=%d,buffer_size=%d,buffer)\n",bx,cx
- 6520="convert_character(chr=%02.2x)\n",dl
- 6521="convert_string(string_length=%d,string)\n",cx
- 6522="convert_asciiz_string(string=\"%s\")\n",dsdx
- 6601="get_global_code_page()\n"
- 6602="set_global_code_page(codepage=%d)\n",bx
- 67="set_maximum_handle_count(handles=%d)\n",bx
- 68="commit_file(handle=%d)\n",bx
- 6c="ext_open_create(filename=\"%s\",mode=0x%04.4x,attrib=0x%04.4x,action=0x%04.4x)\n",dssi,bx,cx,dx
- ??="int21(ax=0x%04.4x,bx=0x%04.4x,cx=0x%04.4x,dx=0x%04.4x)\n",ax,bx,cx,dx
-
- ; All interrupt 2f calls.
- [2f_all]
- 0100="get_print_exe_installed_state()\n"
- 0101="add_file_to_queue(filename=\"%s\")\n",dsdx
- 0102="remove_file_from_print_queue(filename=\"%s\")\n",dsdx
- 0103="cancel_all_files_in_print_queue()\n"
- 0104="hold_print_jobs_and_get_status()\n"
- 0105="release_print_jobs()\n"
- 0106="get_printer_device()\n"
- 0600="get_assign_com_installed_state()\n"
- 1000="get_share_exe_installed_state()\n"
- 1100="get_network_installed_state()\n"
- 1400="get_nlsfunc_exe_installed_state()\n"
- 1680="" ; "ms_dos_idle_call()\n"
- 1681="disable_task_switches()\n"
- 1682="enable_task_switches()\n"
- 1a00="get_ansi_sys_installed_state()\n"
- 4300="get_himem_sys_installed_state()\n"
- 4310="get_himem_sys_entry_point_address()\n"
- 4800="get_doskey_com_installed_state()\n"
- 4810="read_command_line(buffer)\n"
- 4b010000="build_notification_chain(service=0x%04.4x%04.4x)\n",cx,dx
- 4b020000="detect_switcher()\n"
- 4b030000="allocate_switcher_id(service=0x%04.4x)\n",di
- 4b04="free_switcher_id(id=0x%04.4x,service=0x%04.4x)\n",bx,di
- 4b050000="identify_instance_data(service=0x%04.4x%04.4x)\n",cx,bx
- ad80="get_keyb_com_version_number()\n"
- ad81="set_keyb_com_active_code_page(codepage=%d)\n",bx
- ad82="set_keyb_com_country_flag(country_flag=0x%02.2x)\n",bl
- ad83="get_keyb_com_country_flag()\n",bl
- b000="get_graftabl_com_installed_state()\n"
- b700="get_append_exe_installed_state()\n"
- b702="get_append_exe_version()\n"
- b704="get_append_exe_directory_list_address()\n"
- b706="get_append_exe_modes_flag()\n"
- b707="set_append_exe_modes_flag(modes=0x%04.4x)\n",bx
- b711="set_true_name_flag()\n"
- ??="int2f(ax=0x%04.4x,bx=0x%04.4x,cx=0x%04.4x,dx=0x%04.4x)\n",ax,bx,cx,dx
-
-