#---------------------------------------------------------------------------- # # IBM RETAIL APPLICATION AUTO-RESPONSE FILE # # Template auto-response file for virtualizing Microsoft Visual C++ 1.0 # and Microsoft Visual C++ 1.5 programs # # NOTE: This auto-response file is a starting point for you. You may need # to make changes to the commands here. # # TO USE: See the VML Quick Start section of the on-line help for a # detailed explanation. # # Copy this file to a different name; DO NOT MODIFY THIS FILE!!! # Follow the directions in the comments below. # #---------------------------------------------------------------------------- OUTPUT REGISTER.EXE # Provide the name of the .EXE file MAP=REGISTER.MAP # Create a .MAP file SILENT # do not echo this response file during linking #--------------------------------------------------------------------------- #--------------------------------------------------------------------------- # # RESIDENT SECTION MODULES: # # List all .OBJ files and third-party libraries which you do not wish to # virtualize. # VMMAXVECON #--------------------------------------------------------------------------- # Make some low level functions and modules resident and local # for VML stability #--------------------------------------------------------------------------- LOCALON MODULE handler.asm,error.c,syscall.asm FILE incics FILE inccrit FILE crt0datl # large memory model of crt0dat.obj FILE _filel # large memory model of _file.obj LOCALUNKNOWN LOCSYM _new8_handler,_new23_handler,_i9_handler #--------------------------------------------------------------------------- # Make main module, interrupts, and library modules resident for # VML stability and for improved performance #--------------------------------------------------------------------------- FUNCTION _main,_new8_handler,_new23_handler,_i9_handler LIBRARY poslibl # large memory model of poslib.lib LIBRARY toolsml # large memory model of toolsm.lib #--------------------------------------------------------------------------- # Make commonly called files, modules, functions, and tasks resident # for VML stability and for improved performance #--------------------------------------------------------------------------- FILE incmem FUNCTION _switch_task FUNCTION _timer FUNCTION _delay FUNCTION _sleep_hundredths FUNCTION _lock FUNCTION _tstrcpy,_tstrcat FUNCTION _add_node,_rewrite_node,_get_node,_remove_node,_free_nodes FUNCTION _makesystime FUNCTION _cmp FUNCTION _openf FUNCTION _rtp_instr FUNCTION _arabic_string FUNCTION _ctoi FUNCTION _parse FUNCTION _check_for_zero FUNCTION _doubleprecision FUNCTION _doubletolong FUNCTION _convert FUNCTION _put_err_msg FUNCTION _error_message FUNCTION _message FUNCTION _clear_message FUNCTION _wait_state FUNCTION _queue,_post_queue_request,_monitor_queue_status FUNCTION _user_switch_task #--------------------------------------------------------------------------- # Make video functions resident for improved performance #--------------------------------------------------------------------------- FUNCTION _trans_totals FUNCTION _pay_stats FUNCTION _SPROMPT,_SPROMPT2 FUNCTION _boxnoshadow FUNCTION _scroll FUNCTION _xscrnclr FUNCTION _xmvcur FUNCTION _xvdchar FUNCTION _xvdwrite FUNCTION _xdrawbox FUNCTION _xclrbox FUNCTION _xgtcur FUNCTION _xsetrect FUNCTION _xdsyrect FUNCTION _xboxrect FUNCTION _xfillrect FUNCTION _xclrrect FUNCTION _xsavescrn FUNCTION _xrestscrn FUNCTION _xsaverect FUNCTION _xrestrect FUNCTION _xvdattr FUNCTION _xvdhoriz FUNCTION _user_display_string #--------------------------------------------------------------------------- # Make user exit credit auth dialer task, any functions used by the # dialer task, and any user created tasks resident for VML stability. # In the example below, dialer_misc_function() is used by the user_dialer # task. If the dialer_misc_function() made calls to other functions that # are not resident by default then those functions would need to be # made resident by specifying the function names here. #--------------------------------------------------------------------------- FUNCTION _user_dialer FUNCTION _dialer_misc_function #--------------------------------------------------------------------------- VMMAXVECOFF #--------------------------------------------------------------------------- #--------------------------------------------------------------------------- # # VIRTUALIZED MODULES: # # List all .OBJ and third-party libraries which you wish to virtualize. # # NOTE 1: The "VML -- Virtual Memory Linking" chapter of the User's Guide # details many considerations for virtualizing a module. # We recommend that you turn on DEBUG and VMMURPHY (see below) # when you first virtualize a new module. # # NOTE 2: If you list a library after the SEPARATE command (and before the # VMENDPAGES command), the linker will try to virtualize any module # pulled in from the library. This may or may not be the desired # behavior; you can exercise more control over library virtualization # by listing the library in root and then using MODULE commands to # virtualize specific modules from the library. # # NOTE 3: Do not name third-party libraries here!! # # Look at the bottom of this file for a Pocket Soft-supplied # auto-response file. If one is not found, name the library in root # until you succeed in virtualizing your code, only. Once you succeed # in doing that, try having VMARFGEN.EXE create an auto-response file # for the library you wish to virtualize. Include that file in the # auto-response file list below. Then test with VMMURPHY and DEBUG on! # VMBEGINPAGES VMMAXVECON SECTION=REGISTER_POS-SECTION FILE register FILE incpos SECTION=POSA-SECTION FUNCTION _pos SECTION=01-SECTION FILE inc01 SECTION=01A-SECTION FUNCTION _config FUNCTION _read_keyboard_driver FUNCTION _open_files FUNCTION _get_register_id FUNCTION _open_register_files FUNCTION _postvoid FUNCTION _write_close FUNCTION _write_summ FUNCTION _check_for_reboot FUNCTION _read_prompts FUNCTION _free_prompts FUNCTION _cleanup FUNCTION _dblfix_check_for_double_keys FUNCTION _dblfix_setup_anpos_double_key FUNCTION _dblfix_setup_50k_double_key FUNCTION _dblfix_get_scan_code FUNCTION _dblfix_get_50k_position SECTION=02-SECTION FILE inc02 SECTION=03-SECTION FILE inc03 SECTION=03A-SECTION FUNCTION _check_start_of_day FUNCTION _set_date_time FUNCTION _greeting FUNCTION _close_down FUNCTION _close_message FUNCTION _please_wait FUNCTION _get_starting_bank FUNCTION _get_reg_id FUNCTION _master_z FUNCTION _write_z_string_20 FUNCTION _chk_for_active_reg FUNCTION _z_reports FUNCTION _cshz FUNCTION _cshx FUNCTION _drawer_count FUNCTION _get_counts FUNCTION _get_foreign FUNCTION _get_cash FUNCTION _get_media FUNCTION _get_id_number SECTION=03_2-SECTION FILE inc03_2 SECTION=03_2A-SECTION FUNCTION _time_entry FUNCTION _cancel_transaction FUNCTION _get_check_id FUNCTION _get_last_name FUNCTION _get_first_name FUNCTION _get_address1 FUNCTION _get_address2 FUNCTION _get_city FUNCTION _get_state FUNCTION _get_zipcode FUNCTION _get_phone FUNCTION _get_vat_code FUNCTION _color_size_width FUNCTION _get_dept_class FUNCTION _gst_tax_flag SECTION=05-SECTION FILE inc05 SECTION=05A-SECTION FUNCTION _all_cashiers FUNCTION _all_registers FUNCTION _all_spsns FUNCTION _media_report FUNCTION _statistics_report FUNCTION _reconciliation_report FUNCTION _deposit_report FUNCTION _spsn_report FUNCTION _single_spsn_report FUNCTION _consolidate_media FUNCTION _load_buckets FUNCTION _print_foreign FUNCTION _print_training FUNCTION _print_vat_breakdown FUNCTION _set_media_print_state FUNCTION _set_foreign_curr_print_state FUNCTION _line_item_printer_station FUNCTION _is_clean_item FUNCTION _create_clean_item_list FUNCTION _print_clean_receipt FUNCTION _print_clean_items SECTION=06-SECTION FILE inc06 SECTION=07-SECTION FILE inc07 SECTION=LAY-SECTION FILE inclay SECTION=FREF-SECTION FILE incpref SECTION=04_DRVR-SECTION FILE inc04 FILE incdrvr SECTION=MISC-SECTION FILE incmicr FILE incobj FILE incdemo FILE incgp FILE incflash FILE incrtlnk MODULE index.c SECTION=EVENT-SECTION FILE incevent # promotional events module SECTION=TOUCH-SECTION SAVEDATA CLASS FAR_DATA (INCTOUCH5_DATA) FILE inctouch # touch module SECTION=USER-SECTION FILE incuser # user exit module VMMAXVECOFF VMENDPAGES #--------------------------------------------------------------------------- #--------------------------------------------------------------------------- # # OTHER LINKER COMMANDS: # #READONLY # recommended for network environments VERBOSE 2 WARNING 3 MUSTBEVERSION 510. AUTOLOCAL #VMSHOWLOCAL # show assumptions made by AUTOLOCAL VIRTUALIZE CODE CODECLASS CODE SAVECLASS FAR_DATA VMRELOAD 25. STACK 5120. # Decimal 5K #--------------------------------------------------------------------------- # Compress the REGISTER.EXE file size. # Note that this compression option may not work under an OS/2 or Windows # virtual DOS session. You may need to use pure DOS for compression. # Also, compression will increase the memory requirements of the exeutable # due to the fact that decompression code must be added to the REGISTER.EXE. # Compression is not recommended unless you are trying to fit the # REGISTER.EXE onto an offline floppy disk where free disk space is much # less then on a hard drive. #--------------------------------------------------------------------------- #COMPRESS DEFAULT ON #--------------------------------------------------------------------------- #--------------------------------------------------------------------------- # # DEBUG COMMANDS: # # If you are having problems virtualizing your program, un-comment the # following lines to get run-time information from the VM nucleus. # #VMSTATISTICS # For VML statistics displayed at program termination #DEBUG=50 # For on-sceen 50 line mode debug information #DEBUG=RTLDEBUG.DAT # For sending debug information to DEBUG.DAT #VMMURPHY=FF # For maximal checking, use "VMMURPHY=FF" # See RTLink documentation for other VMMURPHY settings #CODEVIEW CVVERSION 5 # For codeview #--------------------------------------------------------------------------- #--------------------------------------------------------------------------- # # MEMORY MANAGEMENT COMMANDS: # # You may wish to adjust these VCACHE numbers depending on the memory needs # of your program. # #VCACHE ONLYCONVENTIONAL 20.% # original setting #VCACHE ONLYCONVENTIONAL 100.%,125.K # previously suggested for RAD VCACHE ONLYCONVENTIONAL 100.%,200.K # suggested for RAD #--------------------------------------------------------------------------- #VCACHE NOEXPANDED 15.% # original setting #VCACHE NOEXPANDED 100.%,175.K # previously suggested for RAD VCACHE NOEXPANDED 100.%,200.K # suggested for RAD #--------------------------------------------------------------------------- #VCACHE CONVENTIONAL 10.%,100.K # original setting #VCACHE CONVENTIONAL 100.%,175.K # previously suggested for RAD VCACHE CONVENTIONAL 100.%,200.K # suggested for RAD #--------------------------------------------------------------------------- #VCACHE EXPANDED 75.% # original setting VCACHE EXPANDED 100.%,50.K # suggested for RAD #--------------------------------------------------------------------------- VCACHE EXTENDED 100.%,50.K # suggested for RAD #--------------------------------------------------------------------------- #--------------------------------------------------------------------------- ############################################################################ # # Third party libraries # # Uncomment the lines below corresponding to the libraries you wish to # link into your VML program. These referenced auto-response files # do the work necessary to virtualize as much of the libraries as possible # # We recommend utilizing our support for LNK and LIB environment variables # to name the directories which contain the .LNK and .LIB files that you use. # # THIS IS IN NO WAY AN ENDORSEMENT OF CERTAIN LIBRARIES OVER OTHER # COMPARABLE LIBRARIES. # ############################################################################ #-------------------------------------------------------------------------# # DGE.LIB Graphics Library for Clipper 5.0, S87, C, etc... by Pinnacle # # Publishing # #-------------------------------------------------------------------------# #@DGEVM.LNK #----------------------------------------# # Greenleaf Software # #----------------------------------------# #@GCL320VM.LNK # Version 3.20 Communications Library #---------------------------------------------# # Quadbase SQL Library # #---------------------------------------------# #@QBSQLVM.LNK #-------------------------------------------------------------------# # Metawindows for Microsoft C # #-------------------------------------------------------------------# #@MW_AD1D.37C # MET_ADID.LIB V3.7C #@MW_D1DMC.37C # MW_D1DMC.LIB V3.7C #@MW_M567.41C # MET_XD1D.LIB V4.1C for Microsoft C v5.1, 6.0, C++ 7.0 #-------------------------------------------------------------------# # CodeBase Database Management # #-------------------------------------------------------------------# #@CB-M67.450 # M4.LIB version 4.50 for Microsoft C v6.0 and 7.0 #@CB-M67.500 # C4LIB.LIB version 5.00 for MS C v6.0 and 7.0 #@CB-M7PP.500 # C4LIB.LIB (C++) version 5.00 for MS C v7.0 #-------------------------------------------------------------------# # Raima Database Manager for Microsoft C # #-------------------------------------------------------------------# #@RDMQ-M67.321 # RDM QUERY.LIB version 3.21 for MSC-6.0 & 7.0 #@RDMV-M7.321 # RDM VISTAL.LIB version 3.21 for MSC-7.0 #-------------------------------------------------------------------# # Zinc Interface Library # #-------------------------------------------------------------------# #@ZIL_MSC7.LNK # ZIL.LIB v3.2 for Microsoft C++ 7.0 #@ZINCFMC7.350 # ZINC v3.5 for Microsoft C++ 7.0 (MSC Graphics) #@ZINCNMC7.350 # ZINC v3.5 for Microsoft C++ 7.0 (GFX Graphics) #-------------------------------------------------------------------# # C-scape Interface Management System # #-------------------------------------------------------------------# #@CS-M7.40 # M6LCSCAP.LIB v4.0 Interface Library for MS-C 7.0 #@CSOWL-M7.40 # M6LOWL.LIB v4.0 Oakland Windowing Lib. for MS-C 7.0 #--------------------------------------------------------------------------- #--------------------------------------------------------------------------- #----------------------------------------------------------------------------# # GRAPHICS.LIB Vicual C++ 1.0 graphics library from Microsoft # #----------------------------------------------------------------------------# #@MSVCGRAP.100 #----------------------------------------------------------------------------# # Link the Microsoft Visual C++ 1.0 language library into your virtual # # program # # # # NOTE: The .LNK files for languages libraries do not virtualize the # # libraries, by default. In very tight memory situations, you may want # # to do so; simply follow the directions within the specific .LNK file.# # # # This .LNK file for Visual C++ 1.0 library is compatible with the # # Visual C++ 1.5 library which is used for Retail Application/DOS. # #----------------------------------------------------------------------------# @MSVC10VM.LNK