
; expr.asm
 extern PPLEN, PPLEN_ONLY_PREFIXES, a_addr, alloc_seg, alloc_size
 extern amis_multiplex_number, asm_options, asm_startoptions
 extern auxbuff_current_size, auxbuff_segorsel, behind_r_u_addr
 extern bp_offset, code_seg, code_size, d_addr, dcount_addr
 extern dcpm_addr, dd_default_length, dd_default_lines, dd_text_and
 extern debuggerfunction, default_pp_count, default_tp_count
 extern default_tt_count, device_header_address, device_mcb_paragraphs
 extern dwcount_addr, dz_addr, e_addr, encodedmach87, entryseg_size
 extern env_size, envseg, erc, errret
 extern extdata, extdata_size, extdata_used, extseg, extseg_size
 extern extseg_used, flagbits.amount, flagnames, flagvaron
 extern getrange_is_uu, getrange_lines, has_mmx, hhresult
 extern history.segorsel, historyseg_size, immseg, input_file_handles
 extern input_file_handles.active, internalflags, internalflags2
 extern internalflags3, intr8_limit, io_columns, io_columns_getline
 extern io_end_buffer, io_flags, io_levels, io_rows, io_start_buffer
 extern line_out, line_out_end, linkinfoaddress, load_data
 extern load_input_file, load_input_file.active, load_unit_flags
 extern loaddata_loadedfrom, machine, maxmachinetype, messageseg
 extern messageseg_size, mmxbuff, msg.as, msg.end, msg.executing
 extern msg.executing_value_range, msg.from, msg.in, msg.length
 extern msg.linear, msg.lines, msg.lr, msg.nd, msg.nottaken
 extern msg.nt, msg.or, msg.questionmark, msg.r, msg.stack_overflow
 extern msg.stack_overflow.caller, msg.stack_overflow.cond
 extern msg.stack_overflow.indirection, msg.stack_overflow.linear
 extern msg.stack_overflow.parens, msg.stack_overflow.precedence
 extern msg.stack_overflow.value_in, msg.t, msg.taken, msg.to
 extern msg.value, msgtable_value_range, options, options2, parent
 extern ppbytes, priorrc, psp22, pspdbe, pspdbg
 extern qqtermcode, rc_count, rc_limit, re_count, re_limit
 extern reading_access_variables, reg16names, reg8names, reg_cs
 extern reg_ds, reg_efl, reg_eip, reg_esp, search_results
 extern serial_columns, serial_fifo_size, serial_keep_timeout
 extern serial_rows, serial_use_baseport, serial_use_dl
 extern serial_use_fifo, serial_use_intnum, serial_use_irqmask
 extern serial_use_params, serial_var_baseport, serial_var_dl
 extern serial_var_fifo, serial_var_intnum, serial_var_irqmask
 extern serial_var_params, sscounter, stack, startoptions
 extern table_length_keywords, throwsp, transfer_ext_cx
 extern try_amis_multiplex_number, try_debugger_amis_multiplex_number
 extern types, types.addresses_minus_end, types.end, u_addr
 extern usertermcode, uu_default_length, uu_default_lines, vregs
 extern vregs.amount, writing_access_variables
 extern flagbits, regs

; run.asm
 extern ..@aa_access_end, ..@aa_access_start, ..@dd_access_end
 extern ..@dd_access_start, ..@ee_access_end, ..@ee_access_start
 extern ..@ee_interactive_access_end, ..@ee_interactive_access_start
 extern ..@hh_indirection_memory_access_end
 extern ..@hh_indirection_memory_access_start
 extern ..@readmem_fault_skip_4_near_call, ..@rr_access_end
 extern ..@rr_access_start, ..@rr_variable_read_access_end
 extern ..@rr_variable_read_access_start
 extern ..@rr_variable_write_access_end
 extern ..@rr_variable_write_access_start, ..@sss_access_end
 extern ..@sss_access_start, ..@uu_access_end, ..@uu_access_start
 extern ..@uu_referenced_memory_access_end
 extern ..@uu_referenced_memory_access_start, ..@uu_simulate_cmps_end
 extern ..@uu_simulate_cmps_start, ..@uu_simulate_scas_end
 extern ..@uu_simulate_scas_start, InDOS_or_BIOS_IO, PPLEN_ONLY_STRING
 extern auxbuff_behind_last_silent
 extern auxbuff_start_silent, bInDbg, b_bplist.bp, b_bplist.counter
 extern b_bplist.disabled_mask, b_bplist.idbuffer, b_bplist.used_mask
 extern b_bplist.when, bb_deferred_message_in_lineout_behind
 extern bp_display_offset, calcpointbit, cmd2_reset_re, cmd_goto
 extern debug22.cleartraceflag, decbyte, dmycmd, dumpregs_extended
 extern enable_rh, entry_to_code_seg, entry_to_code_segsel, eqflag
 extern eqladdr, exccsip, exception_csip, exception_stack, excloc
 extern g_bplist.bp, g_bplist.used_count, get_set_id_offset_length
 extern getc_if_any, getcseipbyte, getint2324, getpsp
 extern gg_deferred_message, gg_first_cseip_linear
 extern gg_next_cseip_linear, guard_auxbuff.1_or_2, idle, in_getinput
 extern int19msg, internalflags6, intr8_counter, lastcmd, msg.again
 extern msg.alreadytsr, msg.area_aa_access, msg.area_dd_access
 extern msg.area_ee_access, msg.area_ee_interactive_access
 extern msg.area_hh_indirection_memory_access, msg.area_rr_access
 extern msg.area_rr_variable_read_access
 extern msg.area_rr_variable_write_access, msg.area_run_access
 extern msg.area_sss_access, msg.area_uu_access
 extern msg.area_uu_referenced_memory_access
 extern msg.area_uu_simulate_cmps, msg.area_uu_simulate_scas
 extern msg.bb_hit.1, msg.bb_hit.2.counter, msg.bb_hitpass_id.after
 extern msg.bb_hitpass_id.long, msg.bb_hitpass_id.short, msg.bb_pass.1
 extern msg.cant_bp_linear, msg.cant_bp_linear.address1
 extern msg.cant_bp_reason, msg.cant_bp_reason0, msg.cant_bp_reason1
 extern msg.cant_bp_reason2, msg.cant_bp_reason3
 extern msg.cant_bp_reason3.value, msg.cant_bp_reasonu
 extern msg.cant_bp_restore, msg.cant_bp_restore.value
 extern msg.cant_bp_the, msg.cant_bp_type_gg
 extern msg.cant_bp_type_permanent, msg.cant_bp_type_permanent.index
 extern msg.cant_bp_type_proceed, msg.cant_bp_write, msg.ctrlc
 extern msg.empty_message, msg.goto, msg.invalidpsp, msg.list
 extern msg.list_bp.address1, msg.list_bp.first, msg.list_bp.second
 extern msg.list_bp.third, msg.list_bp.value, msg.list_bp_csip_16
 extern msg.list_bp_none, msg.list_bp_not_cseip, msg.notyettsr
 extern msg.nowattached, msg.nowtsr1, msg.nowtsr2, msg.psphooked
 extern msg.pspnotfound, msg.remember, msg.selfownedpsp, msg.silent
 extern msg.warnprefix, msg.while, msg.while_not_true
 extern msg.while_terminated_after, msg.while_terminated_before
 extern oldcols, oldcrtp, oldcsrpos, oldmr, options3
 extern options6, pp_instruction, pp_operand, progexit, progtrm
 extern rc, reg_eax, reg_es, reg_gs, reg_ss
 extern run_int, run_sp, run_sp_reserve, savesp, setcseipbyte
 extern setint2324, setpsp, setpspdbg
 extern showstring, silence_dump, spadjust, swapscreen
 extern tmode0, tmode1, tmodes, tmodev, tpg_possible_breakpoint
 extern tpg_proceed_bp, tt_silent_mode_number, vpage, vrows
 extern while_buffer, while_buffer.length, writemem

 extern ..@getcseipbyte_fault_skip_2_near_call
 extern ..@setcseipbyte_fault_skip_2_near_call
 extern ..@writemem_fault_skip_4_near_call_a
 extern ..@writemem_fault_skip_4_near_call_b, int0Cmsg, int0Dmsg
 extern int0msg, int18msg, int1msg, int3msg, int6msg
 extern int8_kbd_msg, int8msg, runint_ctrlc_msg, serial_flags

; bb.asm
 extern ..@bb_id_length, ..@bb_id_start, ..@bb_saved_linear
 extern ..@bb_when_length, ..@bb_when_start, b_bplist.id
 extern b_bplist.idbuffer.free
 extern b_bplist.whenbuffer, b_bplist.whenbuffer.free
 extern bootcmd, crlf, msg.all, msg.at
 extern msg.bb_no_new, msg.bb_when, msg.boot, msg.bp, msg.bpaddress
 extern msg.bpcontent, msg.bpcounter, msg.bpdisabled, msg.bpenabled
 extern msg.bpnone, msg.bpnone_at, msg.bpunused, msg.counter
 extern msg.existing, msg.id, msg.new, msg.notbu, msg.number
 extern msg.offset, msg.when, prnquit

; rr.asm
 extern InDOS_or_BIOS_output, cmdline_buffer
 extern cmdline_buffer.end, cmdline_buffer.position, disflags, ee0a
 extern error_expr, flagbits_for_40, flagbits_for_80, flagsoff
 extern flagsoff_style2, flagsoff_style3, flagson, flagson_style23
 extern get_memref_index_bx, getline00, getline_reset_notatty
 extern guard_rc, hexnyb.common, hhtype, hhvar, in_re
 extern mask_4byte, masks, memrefs, memrefs.free, msg.3byte
 extern msg.abort, msg.append, msg.byte, msg.count, msg.dword
 extern msg.highlight, msg.internal_error_no_mmx, msg.readonly
 extern msg.readonly_mem, msg.regs386, msg.regs386_off, msg.regs386_on
 extern msg.replace, msg.rh, msg.rv_mode.before, msg.rv_mode_r86m
 extern msg.rv_mode_v86m, msg.rvd, msg.rvd_deviceheader
 extern msg.rvd_not_device, msg.rvd_size, msg.rvm, msg.rvp
 extern msg.rvp_application, msg.rvp_boot, msg.rvp_device
 extern msg.rvp_device_attached, msg.rvp_tsr, msg.rvv
 extern msg.unexpected_auxbuff_guard, msg.unhighlight, msg.vm_auxseg
 extern msg.vm_codeseg, msg.vm_dataseg, msg.vm_entryseg, msg.vm_hisseg
 extern msg.vm_messageseg, msg.vp_dparent, msg.vp_dpra
 extern msg.vp_dpspsegment, msg.vp_parent, msg.vp_pra
 extern msg.vp_pspsegment, msg.word, operatorfunctions, psp_parent
 extern psp_pra, puts_break_line_more, putsline_break_line, re_buffer
 extern re_buffer.end, re_buffer.position, re_sp, regs_prior
 extern regs_prior.size, retn_expr, rh_count_number
 extern rh_display_with_count, shortflagbits, shortflagbits.amount
 extern shortflagsoff, shortflagson, silence_dump.rh
 extern silence_dump.rh.all, table_getline_prepare_ldebug
 extern table_getline_prepare_ms_debug, terminate_silent_dump
 extern terminate_silent_dump.if_nonnull

; rr.asm
 extern flagbits_for_shl, regs_prior.size_w

; aa.asm
 extern REP_LEN, SEGP_LEN, attach
 extern ext_aa_after_getline_handler, ext_aa_before_getline_handler
 extern ext_aa_inject_handler, immasm_length, immasm_rel1632_target
 extern immasm_rel8_target, msg.aa_internal_error, msg.attach
 extern prefixlist.after_segment, replist, segprfxtab, showmach
 extern skipalpha, sm1

; uu.asm
 extern A32P_LEN, GROUP7, MN_DB, MN_LOCK, MN_LOOP
 extern MN_LOOPNZ, MN_LOOPZ, MN_REP, MN_REPE, MN_REPNE
 extern MN_SEG, MN_WAIT, N_LOCK, N_LTABA, N_LTABO
 extern N_WTAB, O32P_AMOUNT, OPTYPES_BASE, REP_DIFF_LEN, REP_SAME_LEN
 extern SFPGROUP3, SGROUP4, SPARSE_BASE, a32prfxtab, dismach
 extern dmflags, has_87, immasm_far_target, immasm_imm16, locktab
 extern ltaba1, ltabo1, mach_87, mnlist, mnlist_a_suffix_allowed
 extern mnlist_o_suffix_allowed, mnlist_o_suffix_required
 extern msg.condjump, msg.condnotjump, msg.memrefs_invalid_internal
 extern msg.uninstall, msg.uu_internal_error, msg.uu_too_many_repeat
 extern needsmath, needsmath_L, needsmsg, needsmsg.digit_6_ofs
 extern needsmsg.digit_x_ofs, needsmsg_L, o32prfxtab, obsmach
 extern obsolete, obsolete_L, opindex, opinfo, oplists
 extern optypes, ppbytes.string, ppbytes.string_amount, reg_ebp
 extern reg_ebx, reg_ecx, reg_edi, reg_esi, reg_fs
 extern regmem, rgnam16, rgnam816, segrgnam, sibbyte
 extern sqztab, tab_to, uninstall, unused, wtab1

; uu.asm
 extern reg_edx

; uu.asm
 extern MN_BSWAP, MN_O32

; uu.asm
 extern MN_A32

; amis.asm
 extern amisintr_offset, deviceshim_size, ext_amis_handler

; boot.asm
 extern boot_remember_seek_handle
 extern boot_remember_seek_offset, chkeol_or_then, cmd_goto.yy_entry
 extern display_y_or_ext, ext_cmdline, ext_finish.boot
 extern if_exists_found_open, if_exists_not_found
 extern if_exists_then_address, iseol?_or_then, loadoptiontable
 extern loadoptiontable.incompatible, loadsettings
 extern msdos7_message_table, msdos7_message_table.size
 extern msg.boot_access_error, msg.boot_and, msg.boot_auxbuff_crossing
 extern msg.boot_badchain, msg.boot_badclusters, msg.boot_badfat
 extern msg.boot_bpb_load_overlap, msg.boot_bpb_too_low
 extern msg.boot_cannot_set_both, msg.boot_dot_crlf
 extern msg.boot_file_not_found, msg.boot_file_too_big_error
 extern msg.boot_file_too_small_error, msg.boot_internal_error
 extern msg.boot_invalid_filename, msg.boot_invalid_heads
 extern msg.boot_invalid_sectors, msg.boot_out_of_memory_error
 extern msg.boot_partition_cycle_error, msg.boot_partition_not_found
 extern msg.boot_quit_fail, msg.boot_sector_not_power
 extern msg.boot_sector_too_large, msg.boot_sector_too_small
 extern msg.boot_segment_too_low, msg.boot_too_many_partitions_error
 extern msg.bootfail, msg.bootfail_check_mismatch
 extern msg.bootfail_check_mismatch.check_got
 extern msg.bootfail_check_mismatch.check_offset
 extern msg.bootfail_check_mismatch.check_value, msg.bootfail_code
 extern msg.bootfail_read, msg.bootfail_read_errorcode
 extern msg.bootfail_secsizediffer, msg.bootfail_sig
 extern msg.bootfail_sig_parttable, msg.bootfail_stack_underflow
 extern msg.bpb, msg.checkoffset, msg.checkvalue, msg.dir
 extern msg.dirinsteadsize, msg.emptydirname, msg.entry
 extern msg.guard_auxbuff_error, msg.hidden, msg.hiddenadd
 extern msg.maxpara, msg.minpara, msg.protocol, msg.quit, msg.read
 extern msg.sector, msg.sector_alt, msg.segment, msg.write
 extern msg.yy_empty, msg.yy_filename_empty, msg.yy_no_file
 extern msg.yy_requires_filename, msg.yy_too_large
 extern msg.yy_too_many_handles, terminator_in_line_in.offset
 extern terminator_in_line_in.value, throwret
 extern yy_boot_attempt_open_pathname, yy_boot_attempt_open_stack
 extern yy_is_script

; cc.asm
 extern count_var, hh.single, msg.clear, msg.clear_sequence
 extern msg.range, parsecm

; dd.asm
 extern auxbuff_current_size_minus_24, charcounter
 extern dstringaddr, dstringtype, firstmcb, firstumcb, intaddress
 extern lastint, lastint_is_86m_and_mcb, msg.di_empty, msg.di_error
 extern msg.di_freedos_reloc, msg.di_hidden, msg.di_hma, msg.di_iisp
 extern msg.di_jmpfar, msg.di_jmpfarindirect, msg.di_multiplex.1
 extern msg.di_multiplex.2, msg.di_multiplex.3, msg.di_nonstd_iisp
 extern msg.di_system_low, msg.di_system_mcb, msg.di_system_upper
 extern msg.di_testhook, msg.di_toomany, msg.di_uninst_iisp
 extern msg.header, msg.header.length, msg.invmcbadr, msg.prefixes
 extern msg.tableheader, msg.tableheadertop, msg.top, msg.trailer
 extern msg.trailer.length, smcbmsg_unknown, smcbtypes

; debug.asm
 extern UnhookInterruptForce, UnhookInterruptForceSim, aa
 extern adusetup, bb, boot_ebdaflag, boot_initcode
 extern boot_new_memsizekib, boot_old_memsizekib, cc, code_start, ddd
 extern device_initcode, driveno, dumpregs_extended.exit, ee
 extern eld_linkcall.call_cmd3, end_of_ldebug_code, entry_int3_retf
 extern errcarat, ff, get_86m_interrupt_handler_no_dos, get_columns
 extern getline_close_file, getline_close_file.resetstuff, gg, hh
 extern hh_depth, hh_depth_of_single_term, hhflag, ia_restore, ii
 extern immasm, install_86m_interrupt_handler, int22, int2D, intr0
 extern intr0C, intr0D, intr1, intr18, intr19
 extern intr3, intr6, intr8, linkinfo, ll
 extern ll3, ll_copy_cmdline_and_fcbs
 extern ll_copy_cmdline_and_fcbs.have_cx
 extern mm, msg.NULblank, msg.asmoptions_1, msg.boothelp
 extern msg.build_array, msg.build_long_amount, msg.build_short_amount
 extern msg.build_version_amount, msg.cannot_hook_2D.invalid
 extern msg.cannot_hook_2D.nofree, msg.cannotbootquit_memsizes
 extern msg.condhelp, msg.ensure_no_memory, msg.expressionhelp
 extern msg.flaghelp, msg.flags_1, msg.guard_rc_error
 extern msg.guard_re_error, msg.help_array, msg.help_array_amount
 extern msg.help_re, msg.help_run, msg.help_source, msg.keep
 extern msg.license, msg.line_out_overflow, msg.n_toolongname
 extern msg.n_toolongtail, msg.nobootsupp, msg.options_array
 extern msg.options_array_amount, msg.options_pages, msg.options_scan
 extern msg.options_scan_amount, msg.qq_a_terminated
 extern msg.qq_a_unterminated, msg.qq_device_no_c, msg.qq_device_no_d
 extern msg.qq_device_none_selected, msg.qq_unterm
 extern msg.rc_limit_reached, msg.re, msg.re_limit_reached
 extern msg.reghelp, msg.rh_disabled, msg.rh_enabled, msg.run
 extern msg.serial_cannot_hook, msg.serial_cannot_hook.new_int
 extern msg.serial_cannot_hook.old_int, msg.serial_cannot_unhook
 extern msg.serial_cannot_unhook.int, msg.serial_cannot_unhook.nowarn
 extern msg.serial_late_unhook, msg.serial_late_unhook.int
 extern msg.serial_no_keep_enter, msg.serial_no_keep_timer
 extern msg.serial_request_keep, msg.source, msg.string_build
 extern msg.string_options, msg.string_version
 extern msg.tsr_cannot_terminate_attached, msg.varhelp, oo, ph_msg, pp
 extern putrunint, putsz_exthelp, rr, run, section.DEVICESHIM.vstart
 extern serial_clean_up, serial_clear_fifos, serial_eoi
 extern serial_init_UART, serial_install_interrupt_handler
 extern serial_interrupt_handler, serial_uninstall_interrupt_handler
 extern set_irq, setscreen, sleep_delta_limit, sleep_highest_delta
 extern sss, tpg_initialise_empty_auxbuff.reset
 extern transfer_to_ext_puts_getline, tt, update_inttab_optional, uu
 extern vv, vv_disable, vv_set, ww, yy

; debug.asm
 extern eld_linkcall

; ee.asm
 extern bufend, bufnext, fillbuf, fullbsout
 extern getline_is_input_file?, line_in, linecounter, load_extension
 extern msg.ext, notatty, prehak1, run2324

; hh.asm
 extern hh_div_active, hh_div_dividend, hh_div_divisor
 extern msg.base, msg.group, msg.hh_div_remainder, msg.width

; iioo.asm
 extern if_exists_length, if_exists_si, if_exists_sp
 extern install, msg.exists, msg.install, msg.not, msg.then
 extern msg.y, resetrc, yy_or_ext_no_guard_re

; immasm.asm
 extern aa_ret, addrr, condmsg, error_mirror, index
 extern msg.immasm_error_eip, presizeflags, reg32addr, segmnt
 extern segrgaddr

; msg.asm
 extern ..@boot_scan_dir_return_fat16_root_entry
 extern ..@boot_scan_dir_return_filenotfound
 extern ..@boot_scan_dir_return_subdir_or_fat32_entry
 extern alloc_size_not_reserved, asciitablenames, boot_init_foundname
 extern configpath, configpath.dir_end, device_quittable_regs, dpmi32
 extern execblk.cmdline, ext_command_handler, ext_finish.bp_is_set
 extern ext_handle, ext_inject_handler, ext_preprocess_handler
 extern ext_puts_copyoutput_handler, ext_puts_getline_handler
 extern ext_puts_handler, ext_var, ext_var_amount, ext_var_format
 extern ext_var_size, extcssel, extdssel, handle_scan_dir_entry
 extern handle_scan_dir_not_found, history.first, history.last
 extern indirect_array_errfix, init_executable_pathname
 extern init_executable_pathname.end, internalflags4, internalflags5
 extern internalflags7, isvariable_morebyte_nameheaders.ext
 extern lastcmd_transfer_ext_address, lastcmd_transfer_ext_entry
 extern line_in.end, linkcall_table, load_adr_dirbuf_segment
 extern load_check_dir_attr, load_data_lowest, load_kernel_name
 extern load_yy_direntry, load_yyname_input, load_yyname_next
 extern near_transfer_ext_address, near_transfer_ext_entry
 extern next_reserved_segment, options4, options5, options7
 extern patcharea_intrtn, patcharea_intrtn.segment
 extern patcharea_intrtn.size, patcharea_run, patcharea_run.segment
 extern patcharea_run.size, pm_2_86m_0, promptlen, reserved_address
 extern scriptspath, scriptspath.dir_end
 extern sss_silent_count, sss_silent_count_used, stack_end, swch1
 extern while_buffer.end

; msg.asm
 extern install_trying

; init.asm
 extern ..@init_behind, ..@init_first
 extern ..@patch_no386_ds_6_DATA_ENTRY
 extern ..@patch_no386_ds_code_or_entry
 extern ..@patch_no386_iret_code_or_entry, behind_code_truncated
 extern behind_init, behind_messagesegment_nobits
 extern behind_messagesegment_nobits_truncated, debug22
 extern device_header.next, devint23, devint24, entry_retf
 extern execblk.fcb1, execblk.fcb2, ext_data_area, extcall_table.ret
 extern extcall_table.segsel, fileext, hVdd, immasm_buffer, initcont
 extern initcont.boot_entry, initcont.device, inttab, inttab.i06
 extern inttab.i2D, inttab_number_variable, line_out_overflow
 extern linkcall_table.code1, linkcall_table.entry
 extern linkcall_table.init, oldmode, pInDOS, pSDA, regs.size
 extern switchar, trim_overflow, var_addr_entries
 extern var_addr_entries.amount

; install.asm
 extern installflags, msg.alreadydisabled
 extern msg.alreadyenabled, msg.toggle, msg.trydisable, msg.tryenable

; ints.asm
 extern debuggeramissig, inttab_optional

; lineio.asm
 extern auxbuff_amount_silent, cmd3_set_options
 extern determine_quiet_output, eldheader, getc_repeat_idle
 extern getline_timer_func, handle_ctrl_c, if_exists_found_closed
 extern if_exists_found_ext_open, indos_remember_seek_function
 extern indos_remember_seek_handle, indos_remember_seek_offset
 extern input_file_handles.to_close, msg.configkeyword
 extern msg.eld_error_code, msg.eld_load_error, msg.emptykeyword
 extern msg.eof, msg.executablekeyword, msg.ext_error_internal
 extern msg.ext_error_invalid, msg.ext_error_io, msg.ext_error_oom
 extern msg.freedos_ctrlc_workaround, msg.goto_empty
 extern msg.goto_not_file, msg.goto_not_found.1, msg.goto_not_found.2
 extern msg.history_internal_error, msg.more, msg.more_over
 extern msg.more_over_size, msg.more_size, msg.rh_step.1
 extern msg.rh_step.2, msg.scriptskeyword, msg.silent_error, msg.sof
 extern msg.unexpected_noneol_rc, msg.unexpected_noneol_re
 extern msg.yy_error_file_open, msg.yy_filename_missing_unquote
 extern msg.yy_no_dos, qq, section.DATASTACK.vstart
 extern serial_check_receive_char, serial_receive_char
 extern serial_send_char, skip_rh, yy_boot
 extern yy_boot_clear_remember_seek, yy_boot_close_file, yy_boot_read
 extern yy_boot_remember_seek, yy_boot_seek_current
 extern yy_boot_seek_start, yy_try_scriptspath
 extern yy_try_scriptspath.didnotyettry
 extern yy_try_scriptspath.nokeywordused

; ll.asm
 extern doserr8, ensuredebuggeeloaded, execblk, execblk.csip
 extern execblk.sssp, msg.hexerror, msg.ll_unterm, msg.not_while_indos
 extern msg.tsr_cannot_ll, parselw, reading
 extern terminate_attached_process, ww1, ww15, zeroregs

; mm.asm
 extern has_287, has_copr, msg.c0, msg.cr, msg8088
 extern msgx86, no_copr, parsecm_have_address

; serialp.asm
 extern baseport, msg.no_progress, rxfifo, rxhead
 extern rxtail, serial_fcr_setting, serial_installed_intnum
 extern serial_save_dl, serial_save_ier, serial_save_irq_mask
 extern serial_save_irq_off, serial_save_lcr, serial_save_mcr, txfifo
 extern txhead, txtail

; ss.asm
 extern msg.matches, msg.reverse, msg.seconds, msg.sleep
 extern msg.ticks, sleep_repeat_idle

; vv.asm
 extern csrpos, msg.nokeep, msg.off, msg.on, msg.vv_disabled
 extern msg.vv_enable_failure, xmsdrv, xmsmove

; ww.asm
 extern diskful, doserr11, doserr2, doserr3, doserr5
 extern drive, drivenumber, dskerrs, not_while_indos, nowhexe
 extern nownull, openerr, openerr1, writing, wwmsg1
 extern wwmsg2


 extern bCSAttr, lDEBUG_CODE_to_lDEBUG_CODE2_nearcall_helper

 extern hook2F.not_in_dos

 extern cmd4.int3, lDEBUG_CODE2_dualret_helper
 extern lDEBUG_CODE2_to_lDEBUG_CODE_nearcall_helper
 extern lDEBUG_CODE_to_lDEBUG_CODE2_dualcall_helper, msg.bu
 extern msg.bu_relocated, msg.bu_relocated.sign

 extern nopmsupp

 extern bAddr32

 extern descriptor, descriptor.attrib, descriptor.base
 extern descriptor.limit, gatewrong, msg.d.a_error, msg.d.a_error_code
 extern msg.d.a_success, msg.d.a_success_sel, msg.d.b_error
 extern msg.d.b_error_code, msg.d.b_success, msg.d.d_error
 extern msg.d.d_error_code, msg.d.d_success, msg.d.l_error
 extern msg.d.l_error_code, msg.d.l_success, msg.d.t_error
 extern msg.d.t_error_code, msg.d.t_success, msg.deschelp, msg.ofs32
 extern nodesc

 extern ..@patch_tsr_quit_run, areastruc_entry.qq_entry, cssel
 extern ddebugareas.next, debug2F, dpmidisable, dpmientry, dpmihook
 extern dpmihookamis, dpmihookcs, dpmiwatch, end_of_ldebug_code2
 extern findinstalleddebugger, get_messagesegsel, handle_mode_changed
 extern i23pm, msg.cannotpmquit, msg.desc, msg.dpmi_no_hook, msg.msdos
 extern msg.qq_device_pm, msg.qq_still_pm, msg.qqlate_areas_error
 extern msg.readonly_verifysegm, msg.readonly_verifysegm.selector
 extern mydpmientry, nodosext, oldi2F, pm_reset_handlers, scratchsel
 extern sr_state, switchmode, uninstall_areas.qq_entry

 extern i24pm

 extern auxbuff_switchbuffer_size, code2_seg, code2_sel, code2_size
 extern code_sel, daresult, dssel, immsel
 extern lDEBUG_CODE2_to_lDEBUG_CODE_dualcall_helper
 extern lDEBUG_CODE_dualret_helper, messagesel, msg.desctype
 extern msg.stack_overflow.desctype

 extern cmd3_mirror

 extern ..@patch_entry_seg, ..@patch_no386_ds_4, ..@patch_no386_ds_5
 extern ..@patch_no386_ds_entry_pmint21_1
 extern ..@patch_no386_ds_entry_pmint21_2, areas_fun, areas_sub
 extern ddebugareas.prev, linkcall_table.code2

 extern areas_struc, msg.areasalreadyinstalled
 extern msg.areasalreadyuninstalled, msg.areasinstalled
 extern msg.areasnodebuggerfound, msg.areasnotinstalled
 extern msg.areasnotinstalled.code, msg.areasnotsupported
 extern msg.areasuninstalled, msg.areasuninstalled.code

 extern intcall_return_parameter_es_parameter_ds
 extern lDEBUG_CODE_to_lDEBUG_CODE_dualcall_helper, pop_if, push_if

 extern isextenderavailable, msg.cannotpmload, nodosextinst

 extern install_areas, patcharea_pm_exc, patcharea_pm_exc.segment
 extern patcharea_pm_exc.size

 extern pmint21

 extern debuggerexception, entry_to_code_sel, exc6msg, excCmsg
 extern excDmsg, excEmsg, intrtn2_entry, pmintsave.int21

 extern convsegs, convsegs.amount_fixed, convsegs.end_fixed
 extern dpmi_pm2rm, dpmi_pmsav, dpmi_rm2pm, dpmi_rmsav, endexctab
 extern exc_first, exc_second, excsave, exctab, installdpmimsg
 extern intrtn_entry.from_installdpmi, pmintsave, pminttab
 extern pminttab.end, setrmaddr, silence_delete_one_string.internal

 extern msg.rv_mode_dpmi_16, msg.rv_mode_dpmi_32, msg.vm_code2seg
 extern msg.vm_selector, msg.vp_dpspsel, msg.vp_pspsel, psp_selector

 extern ..@getcseipbyte_fault_skip_6_near_call
 extern ..@hh_code1_indirection_memory_access_end
 extern ..@hh_code1_indirection_memory_access_start
 extern ..@readmem_fault_skip_2_near_call
 extern ..@setcseipbyte_fault_skip_6_near_call
 extern ..@writemem_fault_skip_2_near_call_a
 extern ..@writemem_fault_skip_2_near_call_b, behind_code
 extern behind_code2, convsegs.amount, ddebugareas
 extern getline_extra_int22.cleartraceflag, msg.list_bp_cseip_32

 extern MN_O16

 extern MN_A16

 extern relocatedzero

 extern msg.bu_disabled

 extern reset_interrupts, set_interrupts

 extern startoptions6

 extern currentposition, msg.loader_bottom_not_allowed
 extern msg.loader_too_low_load

 extern intr_loader_18, intr_loader_19, moveloader_hook_ints

 extern loader_query, loader_transfer_cmd3, loader_transfer_relocate

 extern cmd3_int_disable.set_bx_to_dx, cmd3_int_enable.set_bx_to_dx
 extern ldebug_code_size, movesegrefstable, movetable
 extern movetable.bottom, msg.isalready, msg.isnow, msg.loader_error
 extern msg.move, msg.move_auxbuff_error, msg.move_auxdown
 extern msg.move_auxup, msg.move_ebdanottop, msg.move_empty
 extern msg.move_int_error, msg.move_int_panic
 extern msg.move_must_be_bottom, msg.move_nottop, msg.move_oom
 extern msg.move_rpl, msg.move_toolargeebda, msg.unsupportedmove
 extern qq_int_unhook_sim.set_bx_to_dx

 extern moveloader.already, moveloader.bottom_to_hidden
 extern moveloader.bottom_to_top, moveloader.hidden_to_bottom
 extern moveloader.hidden_to_top, moveloader.top_to_bottom
 extern moveloader.top_to_hidden

 extern moveloader.specificerror, moveloader_check_serial, msg.godebug
 extern msg.loader_extra, msg.loader_flag, msg.loader_loadseg_low
 extern msg.loader_must_be_hidden, msg.loader_sign, msg.loader_stack
 extern msg.loadsupportsignature, msg.loadsupportsignature.size

 extern depack, hshrink_memory_source.offset
 extern hshrink_memory_source.segment, indirect_hshrink_message_buffer
 extern msg.hshrink_error, nontruncated_hshrink_message_buffer

 extern truncated_hshrink_message_buffer

 extern patch_boothelp_uncompressed
