home *** CD-ROM | disk | FTP | other *** search
/ The Unsorted BBS Collection / thegreatunsorted.tar / thegreatunsorted / programming / misc_programming / readme.si < prev    next >
Text File  |  1995-07-06  |  44KB  |  1,026 lines

  1.       SOFT-ICE FOR DOS OPERATING PROBLEMS FILE
  2.            Updated 11/08/94
  3.  
  4.       List of subjects within this file
  5.  
  6.   1.  SOURCE OUT OF SYNCH OR NO SOURCE DISPLAY
  7.   2.  EXE NOT FOUND
  8.   3.  NO SOURCE DISPLAY OR CANNOT FIND SOURCE
  9.   4.  CTRL-ALT-DEL DOESN'T WORK
  10.   5.  STRUCTURES NOT DISPLAYED
  11.   6.  NETWORK TIMEOUT
  12.   7.  VCPI DOESN'T WORK
  13.   8.  SOFT-ICE HANGS AFTER BEING ENTERED AND EXITED
  14.   9.  OUT OF SYMBOL SPACE
  15.   10. ALT-SYS-RQ HANGS ON EXIT
  16.   11. BPINT 2 BYTES OFF IN CODE
  17.   12. ACTION NMI DOESN'T TRANSFER TO CV
  18.   13. BACK TRACE DOESN'T WORK
  19.   14. KEYBOARD LOCKS AFTER NUM-LOCK OR CAPS-LOCK
  20.   15. LONG PATH TO .EXE FILE IS TRUNCATED
  21.   16. .COM FILE
  22.   17. PRT-SC NOT WORKING ON OLD-STYLE KEYBOARD
  23.   18. "INT 10 DOES NOT POINT TO..."
  24.   19. VERTICAL LINES ON SCREEN
  25.   20. TAPE BACKUP DOESN'T WORK WHEN S-ICE INSTALLED
  26.   21. OLIVETTI LAPTOP KYBD LOCKS UP
  27.   22. KEYBOARD 1 CHAR OFF
  28.   23. PROGRAM BLOWS UP WHEN LOADED WITH LDR
  29.   24. BPAND DOESN'T WORK
  30.   25. LOAD HI AREA IS NOT CLEARED ON WARM BOOT
  31.   26. COMPAQ ProSignia 486 WITH EISA SCSI DRIVE (VIRTUAL DMA)
  32.   27. USING SOFT-ICE WITH AN ADAPTEK SCSI DRIVE
  33.   28. MIXED BC/SI SCREEN OR BPM ON STACK DOESN'T WORK
  34.   29. USING FOREIGN KEYBOARDS
  35.   30. DEBUGGING DOS-EXTENDED OR PROTECTED MODE PROGRAMS
  36.   31. SOFT-ICE REBOOTS 
  37.   32. INVALID OP-CODE REPORTED BY Soft-ICE
  38.   33. GP FAULT REPORTED BY Soft-ICE
  39.   34. GP FAULT WHILE LOADING MSC 7/8 PROGRAM
  40.   35. BOUNDS-CHECKER "STACK" GIVES GP FAULT WHEN SOFT-ICE IS LOADED
  41.   36. USING WITH CODEVIEW 4.0
  42.   37. RUNNING IN A DOS BOX
  43.   38. TRYING TO DISPLAY FLOATING POINT NUMBERS
  44.   39. RUNNING OUT OF MEMORY WITH BORLAND 4.0 IDE
  45.   40. HOT KEY FAILS TO POP UP Soft-ICE
  46.   41. USING MEMORY ABOVE 16 MEG
  47.   42. "NO HIGH MEMORY AVAILABLE" MESSAGE 
  48.   43. "CAN'T FIND S-ICE.EXE" MESSAGE WHEN RUNNING UPDATESI.EXE
  49.   44. USING WITH OVERLAYED PROGRAMS
  50.   45. USING WITH SPAWNED PROGRAMS
  51.   46. LOADING DOUBLESPACE HIGH
  52.   47. "Error Loading A Source File"
  53.   48. FAULT WHILE TRYING TO DISPLAY A GLOBAL SYMBOL
  54.   49. ALTSCR DOES NOT WORK IN VERSION 2.7
  55.   50. GPF ON PUSH FD OR POP FD ( using back door command/BREAK ON )
  56.   51. LDR OF TSR CAUSES A BLOW UP THE NEXT TIME THE TSR IS RUN
  57.   52. WINDOWS WONT'T LOAD WHEN SI-DOS IS PRESENT    
  58.   53. REGISTER WINDOW OVEWRITTEN WITH DS:XXXX IN LOWER RIGHT    
  59.   54. SOFT-ICE DOES NOT POP UP PROPERLY WHEN RUNNING BRIEF
  60.   55. USING SOFT-ICE WITH QL10DOS.SYS
  61.   
  62.   The following apply to Versions 2.62 and EARLIER ONLY !!!!
  63.  
  64.   56. FLOPPY HANGS WHEN SOFT-ICE INSTALLED (GP ERROR IN CACHE)
  65.   57. TURBO DEBUGGER IN 43-LINE MODE
  66.   58. WRONG LINE #'S IN "STACK" COMMAND
  67.   59. GP ERROR DISASSEMBLING OR STEPPING THRU CODE
  68.   60. "ENTER PATH..." FOR BORLAND C++
  69.   61. USING SOFT-ICE 2.60 & EARLIER WITH MSVC or BORLAND 3.1
  70.   62. USING SOFT-ICE 2.5x & EARLIER WITH MICROSOFT C/C++ 7.00
  71.   63. BPM BREAKPOINT REBOOTS (SOFT-ICE VERSION 2.60-2.62)
  72.   64. BORLAND 4.0 PROGRAMS DO NOT LOAD INTO SOFT-ICE
  73.   65. SNOW ON SCREEN WHEN USING WINDOWS (REAL MODE)
  74.   66. LOADING IN OVER 16M MEMORY OR 16M MEMORY NOMINAL
  75.   67. COMPAQ REBOOTS WHEN TRYING TO LOAD SOFT-ICE
  76.   68. USING SOFT-ICE ON A PENTIUM SYSTEM
  77.   69. LDR HANGS WHEN LOADING SYMBOLS
  78.   70. BAD PRINTOUT OF SOURCE LINES IN BACK TRACE
  79.   71. BACK TRACE PRINTOUT HAS LONG BLOCKS OF SPACES
  80.   
  81.   -------------------------------------------------------------------
  82.   1.  SOURCE OUT OF SYNCH OR NO SOURCE DISPLAY
  83.   -------------------------------------------------------------------
  84.   Problem: Source display is out of synchronism or no source is
  85.   displayed.
  86.   Solution: There are 3 reasons why this happens:
  87.    A header file (.h) has code or data within it. These files
  88.    should contain definitions and declarations only. This is the only
  89.    reason which applies to C language programs.
  90.    A module has no public symbol at the start, or has no public
  91.    symbols. This can occur in Pascal, Assembly and some other
  92.    languages.
  93.    A code module is not class "CODE". The linker will put this
  94.    module after the Data, separated from the rest of the Code. This
  95.    only applies to Assembly language programs.
  96.  
  97.   -------------------------------------------------------------------
  98.   2.  EXE NOT FOUND
  99.   -------------------------------------------------------------------
  100.   Problem: Message ".EXE not found" displayed when doing LDR xxx.SYM 
  101.   on a driver.
  102.   Solution: make a .EXE file by copying the .SYM file.
  103.  
  104.   -------------------------------------------------------------------
  105.   3.  NO SOURCE DISPLAY OR CANNOT FIND SOURCE
  106.   -------------------------------------------------------------------
  107.   Problem: no source display or cannot find source files
  108.  
  109.   Reasons why no source display:
  110.       1: no debug data in the .EXE file, and no .SYM file
  111.       2: not enough /SYM space reserved
  112.       3. no source line # info in debug data
  113.       4. used LDR program-name.EXE
  114.   Reasons why cannot find source files:
  115.       1. used path to LDR (becomes default path)
  116.       2. did not SET SRC=....
  117.       3. source files not in current directory
  118.  
  119.   -------------------------------------------------------------------
  120.   4.  CTRL-ALT-DEL DOESN'T WORK
  121.   -------------------------------------------------------------------
  122.   Problem: Ctrl-Alt-Del won't reboot on IBM Model 55SX, Dell,
  123.   Northgate, DTK, AST and some other systems.
  124.   Solution: The keyboard controller on these systems does not
  125.   recognize the reboot command (send FE to port 64). To fix this,
  126.   change s-ice.exe as follows:
  127.  
  128.   ren s-ice.exe s-ice.bin
  129.   debug s-ice.bin
  130.   -s cs:0 lffff b0 fe e6 64
  131.   (prints 2 addresses in xxxx:yyyy format)
  132.   -e address1 90 90 90 90 bb 01
  133.   -e address2 90 90 90 90 bb 01
  134.   -w
  135.   -q
  136.   ren s-ice.bin s-ice.exe
  137.  
  138.   -------------------------------------------------------------------
  139.   5.  STRUCTURES NOT DISPLAYED
  140.   -------------------------------------------------------------------
  141.   Problem: Soft-ICE does not display members of structures
  142.   Solution: You must find the base of the structure, then calculate
  143.   the offset of the member you wish to display, then dump that 
  144.   address.
  145.  
  146.   -------------------------------------------------------------------
  147.   6.  NETWORK TIMEOUT
  148.   -------------------------------------------------------------------
  149.   Problem: Network disconnects when Soft-ICE is used.
  150.   Solution: When the Soft-ICE screen is popped up, all interrupts
  151.   are disabled. If it is left up too long, the server may disconnect
  152.   your workstation from the network. You should exit Soft-ICE every
  153.   10 minutes to allow the network to access your computer.
  154.   Alternatively, you may be able to increase the timeout. For
  155.   Netware 3.x, you can control the timeout with SET statements from
  156.   the console command line, or in AUTOEXEC.NCF.
  157.  
  158.   -------------------------------------------------------------------
  159.   7.  VCPI DOESN'T WORK
  160.   -------------------------------------------------------------------
  161.   Problem: VCPI client programs like LOTUS, ORACLE, BORLAND IDE etc. 
  162.   don't work.
  163.   Solution: VCPI programs require the /EMM switch with at least
  164.   500K.
  165.  
  166.   -------------------------------------------------------------------
  167.   8.  SOFT-ICE HANGS AFTER BEING ENTERED AND EXITED
  168.   -------------------------------------------------------------------
  169.   Problem: On systems with a JET Keyboard Controller chip, the
  170.   keyboard hangs after Soft-ICE is entered and exited.
  171.   Solution: Patch Soft-ICE as follows:
  172.     ren s-ice.exe s-ice.bin
  173.     debug s-ice.bin
  174.     -s 0 lffff b0 d0 e6 64
  175.     (prints address in xxxx:yyyy format)
  176.     -e yyyy+1 ee   (change d0 to ee)
  177.     -e yyyy+3 60   (change 64 to 60)
  178.     -w
  179.     -q
  180.     ren s-ice.bin s-ice.exe
  181.  
  182.   -------------------------------------------------------------------
  183.   9.  OUT OF SYMBOL SPACE
  184.   -------------------------------------------------------------------
  185.   Problem: LDR prints "out of symbol space"
  186.   Solution: This results when the LDR.EXE for version 2.0/2.1 is
  187.   used when version 2.5 or higher of S-ICE.EXE is loaded.
  188.  
  189.   -------------------------------------------------------------------
  190.   10. ALT-SYS-RQ HANGS ON EXIT
  191.   -------------------------------------------------------------------
  192.       Problem: On some systems, when Alt-Sys-Rq key is assigned to pop
  193.   up Soft-Ice, the system hangs upon exit.
  194.   Solution: there is a timing problem in some systems because of
  195.   the length of time it takes to complete the analysis of this key,
  196.   and so the system gets stuck in the "Alt On" state. The user either
  197.   must press the Alt key to release this state before exiting, or
  198.   must assign a different key to pop up Soft-ICE.
  199.  
  200.   -------------------------------------------------------------------
  201.   11. BPINT 2 BYTES OFF IN CODE
  202.   -------------------------------------------------------------------
  203.   Problem: BPINT breakpoint displays code 2 bytes ahead of actual
  204.   INT.
  205.   Solution: "BREAK ON" is set in S-ICE.DAT. Delete it.
  206.  
  207.   -------------------------------------------------------------------
  208.   12. ACTION NMI DOESN'T TRANSFER TO CV
  209.   -------------------------------------------------------------------
  210.   Problem: ACTION NMI doesn't transfer control to CodeView
  211.   Solution: BPX won't work with NMI, must use BPM-X. Also must set
  212.     up CodeView to intercept NMI.
  213.  
  214.   -------------------------------------------------------------------
  215.   13. BACK TRACE DOESN'T WORK
  216.   -------------------------------------------------------------------
  217.   Problem: Back Trace operation doesn't work
  218.   Solution: When Soft-ICE is run with Bounds-Checker, BC monopolizes 
  219.   the Paging hardware, so the BPR commands in Soft-ICE do not work. 
  220.   The "BOUNDS OFF" command does not help. The only solution is to run
  221.   Soft-ICE separately.
  222.  
  223.   -------------------------------------------------------------------
  224.   14. KEYBOARD LOCKS AFTER NUM-LOCK OR CAPS-LOCK
  225.   -------------------------------------------------------------------
  226.   Problem: Keyboard locks up after keying NUM-LOCK or CAPS-LOCK
  227.   Solution: Some early AMI BIOS ROM's have a timing problem in the
  228.   keyboard controller. Boot the system and read the BIOS serial
  229.   number: if it ends with KA,KB,KC,KD,KE or KF, this is one of the
  230.   bad chips. Even though AMI has not made these chips since 1986,
  231.   some computer manufacturers still have them in stock. The only
  232.   solution is to replace the keyboard controller chip. AMI contact:
  233.   Sam on 404-263-8181.
  234.  
  235.   -------------------------------------------------------------------
  236.   15. LONG PATH TO .EXE FILE IS TRUNCATED
  237.   -------------------------------------------------------------------
  238.   Problem: Using LDR with long path to .EXE file, can't find file,
  239.   prints truncated path.
  240.   Solution: Use the SUBST command to create a virtual drive for a
  241.   long path.
  242.  
  243.   -------------------------------------------------------------------
  244.   16. .COM FILE
  245.   -------------------------------------------------------------------
  246.   Problem: .COM file will not load properly
  247.   Solution: Delete the .EXE file if there is one. Note that because a 
  248.   .COM file does not contain debug info, you should run MSYM on the 
  249.   MAP file, LDR the program, and then do a SYMLOC CS to align. 
  250.  
  251.   -------------------------------------------------------------------
  252.   17. PRT-SC NOT WORKING ON OLD-STYLE KEYBOARD
  253.   -------------------------------------------------------------------
  254.   Problem: Print Screen doesn't work with old (100) keyboard.
  255.   Solution: change s-ice.exe as follows:
  256.      ren s-ice.exe s-ice.bin
  257.      debug s-ice.bin
  258.      -s cs:0 lffff 80 fc 47
  259.      (prints address)
  260.      -u address
  261.      kkkk:nnnn      CMP AH,47
  262.       .
  263.       .
  264.       .
  265.      kkkk:mmmm      TEST BYTE PTR [ZZZZ],20
  266.       .
  267.       .
  268.       .
  269.      kkkk:nnnn      CMP AL,2A
  270.      kkkk:pppp      JZ XXXX
  271.      kkkk:qqqq      CMP BYTE PTR [YYYY],00
  272.      kkkk:rrrr      JZ WWWW
  273.    Change last two lines to:
  274.      kkkk:qqqq      TEST BYTE PTR [ZZZZ],20
  275.      kkkk:rrrr      JNZ WWWW
  276.    Typically this is f6 06 19 0a 20 75 (ZZZZ = 0A19)
  277.      -w
  278.      -q
  279.      ren  s-ice.bin s-ice.exe
  280.  
  281.   -------------------------------------------------------------------
  282.   18. "INT 10 DOES NOT POINT TO..."
  283.   -------------------------------------------------------------------
  284.   Problem: displays message "INT 10 does not point to E000"
  285.   Solution: This message is displayed when the Video card is a
  286.   Hercules graphics adapter or some monochrome cards. Patch Soft-ICE
  287.   as follows:
  288.      ren s-ice.exe s-ice.bin
  289.      debug s-ice.bin
  290.      -r        (get CS)
  291.      -s cs+2000:0 lffff b8 00 e0
  292.      (prints address in xxxx:yyyy format)
  293.      -e xxxx:yyyy+2 ff   (change e0 to ff)
  294.      -w
  295.      -q
  296.      ren s-ice.bin s-ice.exe
  297.  
  298.  
  299.   -------------------------------------------------------------------
  300.   19. VERTICAL LINES ON SCREEN
  301.   -------------------------------------------------------------------
  302.   Problem: Vertical lines on the screen when running graphics
  303.   programs.
  304.   Solution: EMM Map is set up for backfilling; run EMMSETUP and
  305.   restore A000 block to VVVV so video memory is not being accessed
  306.   incorrectly.
  307.  
  308.   -------------------------------------------------------------------
  309.   20. TAPE BACKUP DOESN'T WORK WHEN S-ICE INSTALLED
  310.   -------------------------------------------------------------------
  311.   Problem: The tape backup fails.
  312.   Solution: This is caused by the time that Soft-ICE takes up
  313.   during an interrupt call. It can result from Soft-ICE being loaded
  314.   into 16-bit memory. Try loading Soft-ICE into 32-bit extended
  315.   memory and see if that works. Also, unload Soft-ICE thru "S-ICE /U"
  316.   on the command line. Then do the tape backup and reload Soft-ICE
  317.   thru "S-ICE".
  318.  
  319.   -------------------------------------------------------------------
  320.   21. OLIVETTI LAPTOP KYBD LOCKS UP
  321.   -------------------------------------------------------------------
  322.   Problem: Keyboard locks up on SCROLL LOCK, NUM LOCK or CAPS LOCK
  323.   on an Olivetti laptop (M316) with Olivetti BIOS.
  324.   Solution: Install Lantistic's KBFLOW program. This is public
  325.   domain software.
  326.  
  327.   -------------------------------------------------------------------
  328.   22. KEYBOARD 1 CHAR OFF
  329.   -------------------------------------------------------------------
  330.   Problem: Keyboard is 1 character behind the actual keystrokes.
  331.   Solution: This problem occurred when the program LAN MAN REDIRECTOR
  332.   was installed.
  333.  
  334.   -------------------------------------------------------------------
  335.   23. PROGRAM BLOWS UP WHEN LOADED WITH LDR
  336.   -------------------------------------------------------------------
  337.   Problem: Program loads OK, but blows up when loaded with LDR.
  338.   Solution: LDR changes the stack by 1 word. If the initialization
  339.   code uses absolute offsets to read data from the stack, it will
  340.   read the wrong locations.
  341.  
  342.   -------------------------------------------------------------------
  343.   24. BPAND DOESN'T WORK
  344.   -------------------------------------------------------------------
  345.   The BPAND command does not work for BPX type breakpoints. This
  346.   includes F9 style point-and-shoot breakpoints. You must use a
  347.   hardware type of breakpoint such as BPIO or BPM X.
  348.  
  349.   Also, the order in which the breakpoints are listed in the
  350.   BPAND command is not significant; they do not have to occur in that
  351.   specific order. The break will occur when all the breakpoints
  352.   listed have occurred at least once.
  353.  
  354.  
  355.   -------------------------------------------------------------------
  356.   25. LOAD HI AREA IS NOT CLEARED ON WARM BOOT
  357.   -------------------------------------------------------------------
  358.   Problem: On CTRL-ALT-DEL the programs loaded high remain in place,
  359.   so no space is available to load high.
  360.   Solution: Erase the first 16 bytes of the 1st load high area. The
  361.   program ZERO.SYS should be loaded immediately after Soft-ICE in the
  362.   CONFIG.SYS file to do this automatically upon rebooting.
  363.  
  364.   -------------------------------------------------------------------
  365.   26. COMPAQ ProSignia 486 WITH EISA SCSI DRIVE (VIRTUAL DMA)
  366.   -------------------------------------------------------------------
  367.   Problem: On bootup, displays a message that the current EMS memory
  368.   manager does not support Virtual DMA.
  369.   Solution: Load the driver SCSIC710.SYS in your CONFIG.SYS file.This
  370.   driver is available on our BBS or from Compaq. The load syntax is
  371.   as follows:
  372.  
  373.   DEVICE = [drive:][path]SCSIC710.SYS [/N] [/D]
  374.  
  375.   PARAMETERS:
  376.  
  377.   /N   This parameter directs SCSIC710 not to display on-screen
  378.        messages.
  379.  
  380.   /D   This parameter forces SCSIC710 to always use double
  381.        buffering.
  382.  
  383.   NOTE:  When using this driver in conjunction with Compaq's
  384.   EXTDISK.SYS, EXTDISK must be loaded first.
  385.  
  386.   -------------------------------------------------------------------
  387.   27. USING SOFT-ICE WITH AN ADAPTEK SCSI DRIVE
  388.   -------------------------------------------------------------------
  389.   When using Soft-ICE with an Adaptek SCSI drive, the SCSI driver
  390.   ASPI4DOS.SYS must be loaded before S-ICE.EXE in the CONFIG.SYS.
  391.   The user reporting this also had FUNNEL.SYS and UMB.SYS installed,
  392.   and was able to load all his driver and T&SR's high.
  393.  
  394.   -------------------------------------------------------------------
  395.   28. MIXED BC/SI SCREEN OR BPM ON STACK DOESN'T WORK
  396.   -------------------------------------------------------------------
  397.   Problem: Mixed BC/SI screen, or BPM that doesn't catch a change
  398.   on the stack.
  399.   Solution: This can occur when a stack is outside the program
  400.   space and Bounds-Checker is being run with Soft-ICE. If a CALL is
  401.   made, a Page Fault occurs when the return address is written to the
  402.   stack, and it overwrites the return address. Also, if there is a
  403.   breakpoint on a PUSH instruction, before the Bounds-Checker screen
  404.   is completely written, it is overwritten by the Soft-ICE screen.
  405.   One way to identify this type of problem is that it won't happen if
  406.   Soft-ICE is single-stepped.
  407.   The only cure is to change to a stack within the program space.
  408.  
  409.   -------------------------------------------------------------------
  410.   29. USING FOREIGN KEYBOARDS
  411.   -------------------------------------------------------------------
  412.    Soft-ICE supports only the US keyboard: however, in some cases
  413.   it is possible to patch it to allow using foreign keyboards.
  414.   To simplify this process, we have written a program to replace
  415.   the keycode table with a file containing another table, plus a
  416.   document describing how to make such a keycode table file. It is on
  417.   our BBS under the name KEYBOARD.ZIP, and on CompuServe under the 
  418.   name KEYBOA.ZIP. It includes a example for the German keyboard.
  419.  
  420.   -------------------------------------------------------------------
  421.   30. DEBUGGING DOS-EXTENDED OR PROTECTED MODE PROGRAMS
  422.   -------------------------------------------------------------------
  423.   Problem: Soft-ICE GPFs when trying to debug a DOS-EXTENDED program
  424.   or a protected mode program.
  425.   Solution: There is no workaround for this. Soft-ICE is a protected-
  426.   mode program and cannot be run with other protected-mode programs.
  427.  
  428.   -------------------------------------------------------------------
  429.   31. SOFT-ICE REBOOTS 
  430.   -------------------------------------------------------------------
  431.   Problem:  System reboots when you install Soft-ICE. 
  432.   Solution: There are several reasons why Soft-ICE may reboot your 
  433.   system. They are:
  434.  
  435.   1.) Failure to run EMMSETUP on S-ICE.EXE
  436.   2.) Having POWER.EXE in config.sys on low power systems 
  437.   3.) Installing HIGHMEM.SYS before S-ICE.EXE in config.sys
  438.   4.) If reboot is occuring on a BPM (R) with Soft-ICE 2.60-2.62,
  439.   see item #55
  440.   5.) If running on a PENTIUM with Soft-ICE ver 2.61 or less, see
  441.   item #59 in this document.
  442.   6.) If running on a COMPAQ with Soft-ICE ver 2.61 or less, see
  443.   item #60 in this document.
  444.   7.) It has been reported that some systems with CYREX cpu's reboot.
  445.   There is no known fix for this problem.
  446.   8.) Many 486 systems will reboot if you attempt to run S-ICE.EXE
  447.   from the DOS command line. The cause is unknown. There is  
  448.   currently no fix for this problem.
  449.   9.) On certain older COMPAQ models the following patch is needed
  450.   to run with Soft-ICE 2.62 and greater:
  451.  
  452.    Patch Soft-ICE as follows
  453.    ren s-ice.exe s-ice.bin
  454.    debug s-ice.bin
  455.    -s 0 lffff 'XOM'
  456.    (prints out an address in xxxx:yyyy format. Offset should be 17B3)
  457.    -e xxxx:(offset - 2) 30 33 43
  458.    -w
  459.    -q
  460.    ren s-ice.bin s-ice.exe
  461.   
  462.   -------------------------------------------------------------------
  463.   32. INVALID OP-CODE REPORTED BY Soft-ICE
  464.   -------------------------------------------------------------------
  465.   Problem: An INVALID OP-CODE is reported by Soft-ICE.
  466.   Solution: The following things can cause INVALID OP-CODE ERRORS:
  467.    1.) Failure to run EMMSETUP on S-ICE.EXE before installing
  468.    2.) Running with SMARTDRIVE or another DISK CACHING program  
  469.    3.) If Borland compiler, put /EMM 500 in S-ICE.EXE line of 
  470.       CONFIG.SYS.
  471.  
  472.   -------------------------------------------------------------------
  473.   33. GP FAULT REPORTED BY Soft-ICE 
  474.   -------------------------------------------------------------------
  475.   Problem: A GP fault is reported by Soft-ICE.
  476.   Solution: The following things can cause G.P. Faults:        
  477.    1.) Failure to run EMMSETUP on S-ICE.EXE before installing
  478.    2.) Running with another Memory Manager (HIGHMEM.SYS is ok)    
  479.    3.) Running with SMARTDRIVE or another DISK CACHING program  
  480.    4.) Running Soft-ICE versions prior to 2.5 under DOS 6.x
  481.  
  482.   -------------------------------------------------------------------
  483.   34. GP FAULT WHILE LOADING MSC 7/8 PROGRAM
  484.   -------------------------------------------------------------------
  485.   Problem: A GP fault occurs while loading a MSC 7/8 (Visual C)
  486.    program. The DI register is FFFF and the IP register is A99C.
  487.   Solution: This occurs when a module compiled with debug data
  488.    has no line number information. The code which processes line 
  489.    number information does not have a check for a count of zero, so it
  490.    handles it as if the count were 64K. The following patch inserts a 
  491.    check for zero into the code.
  492.  
  493.   Patch LDR.EXE as follows:
  494.  
  495.     ren ldr.exe ldr.bin
  496.     debug ldr.bin
  497.     -s 0 lffff 0f 84 11 00 53
  498.     (displays address)
  499.     -e address     74 11 53 26 8b 04 bb 06 00 f7 e3 8b d8 2e 8b 97
  500.     -e address+10  ce 09 5b 83 c6 04 83 c3 04 e3 1a
  501.     -w
  502.     -q
  503.     ren ldr.bin ldr.exe
  504.  
  505.   -------------------------------------------------------------------
  506.   35. BOUNDS-CHECKER "STACK" GIVES GP FAULT WHEN SOFT-ICE IS LOADED
  507.   -------------------------------------------------------------------
  508.   Problem: A GP fault occurs from doing a STACK command in Bounds-
  509.    Checker while Soft-ICE is loaded. The IP for the code displayed is
  510.    0000, and the ESI register has FFFF in the upper word.
  511.   Solution: When Soft-ICE is loaded, Bounds-Checker minimizes its
  512.    memory requirements by using some of the Soft-ICE routines. Some of
  513.    these routines put an FFFF in the upper word of the EBX register
  514.    when Bounds-Checker expects it to be 0000. EBX is later added to 
  515.    ESI, and when ESI is subsequently used as a pointer, the invalid
  516.    address it contains causes a GP fault. This can be corrected by 
  517.    zeroing the upper word of EBX with a MOVZX EBX,BX instruction.
  518.  
  519.   Patch S-ICE.EXE as follows:
  520.  
  521.     ren s-ice.exe s-ice.bin
  522.     debug s-ice.bin
  523.     -s 0 lffff 66 03 f3 26 67 8b 06
  524.     (displays address)
  525.     -e address     66 0f b7 db 66 03 f3 26 67 8b 06 80 f9 01 74 07
  526.     -e address+10  80 f9 02 74 1f
  527.     -w
  528.     -q
  529.     ren s-ice.bin s-ice.exe
  530.   
  531.   -------------------------------------------------------------------
  532.   36. USING WITH CODEVIEW 4.0
  533.   -------------------------------------------------------------------
  534.   CODEVIEW 4.0 that comes with Microsoft C-7 and C-8 is a protected
  535.   mode program and cannot be run with Soft-ICE for DOS.
  536.  
  537.   -------------------------------------------------------------------
  538.   37. RUNNING IN A DOS BOX
  539.   -------------------------------------------------------------------
  540.   Soft-ICE for DOS cannot be used to debug an application that is    
  541.   running in a Windows DOS box. Use Soft-ICE for windows instead.
  542.   
  543.   -------------------------------------------------------------------
  544.   38. TRYING TO DISPLAY FLOATING POINT NUMBERS
  545.   -------------------------------------------------------------------
  546.   Floating point numbers cannot be displayed by Soft-ICE for DOS.
  547.  
  548.   -------------------------------------------------------------------
  549.   39. RUNNING OUT OF MEMORY WITH BORLAND 4.0 IDE
  550.   -------------------------------------------------------------------
  551.   If you are out of memory running with the Borland 4.0 IDE try 
  552.   increasing the value of the /EMM switch on the S-ICE.EXE line in 
  553.   CONFIG.SYS.
  554.   
  555.   -------------------------------------------------------------------
  556.   40. HOT KEY FAILS TO POP UP Soft-ICE
  557.   -------------------------------------------------------------------
  558.   Problem: Keying the hot key sequence fails to pop up Soft-ICE 
  559.   screen.
  560.   Solution: Turn on the BREAK option from the Soft-ICE command line.
  561.   This should prevent the keyboard from being disabled and allow you
  562.   to pop up the SI window at any time. This option will make your
  563.   program run somewhat slower.
  564.   
  565.   -------------------------------------------------------------------
  566.   41. USING MEMORY ABOVE 16 MEG
  567.   -------------------------------------------------------------------
  568.   You cannot use Soft-ICE for DOS with memory above 16 meg. Soft-ICE
  569.   loads itself at the top of the first 16 meg and fools DOS into 
  570.   thinking that is all there is.
  571.   
  572.   -------------------------------------------------------------------
  573.   42. "NO HIGH MEMORY AVAILABLE" MESSAGE 
  574.   -------------------------------------------------------------------
  575.   This usually means you have allocated to much memory with the /EMM,
  576.   /EXT or the /SYM switches on the S-ICE.EXE line in CONFIG.SYS.
  577.   
  578.   -------------------------------------------------------------------
  579.   43. "CAN'T FIND S-ICE.EXE" MESSAGE WHEN RUNNING UPDATESI.EXE
  580.   -------------------------------------------------------------------
  581.   This occurs when you are trying to update Soft-ICE to a newer 
  582.   version using updatesi.exe. Check your path to current S-ICE.EXE.
  583.   Make sure it is not on a DOS 6.x compressed volume. If it is the
  584.   update program will not be able to find it.
  585.  
  586.   -------------------------------------------------------------------
  587.   44. USING WITH OVERLAYED PROGRAMS
  588.   -------------------------------------------------------------------
  589.   Soft-ICE works very well with older Microsoft overlay managers. It 
  590.   does not work with Microsoft MOVE or Borland VROOM. RTLink has 
  591.   caused many problems in the past that will be addressed in the 2.7 
  592.   release of Soft-ICE.
  593.   
  594.   -------------------------------------------------------------------
  595.   45. USING WITH SPAWNED PROGRAMS
  596.   -------------------------------------------------------------------
  597.   Soft-ICE for DOS allows for the loading of two symbol tables.
  598.   See the TABLE command in the Addendum to the manual for details.
  599.   
  600.   -------------------------------------------------------------------
  601.   46. LOADING DOUBLESPACE HIGH
  602.   -------------------------------------------------------------------
  603.   DOUBLESPACE cannot be loaded with with Nu-Mega's LD.SYS. You should
  604.   use UMB.SYS with LOADHIGH commands.
  605.   
  606.   -------------------------------------------------------------------
  607.   47. "Error Loading A Source File"
  608.   -------------------------------------------------------------------
  609.   Problem: This message appears when loading a program with LDR
  610.   Solution: The following are reasons for this message
  611.     * Path to the source files is too long.  Max 40 characters
  612.     * File is somehow protected by DOS
  613.     * File has been packed by something other than CV-PACK
  614.     * File has been written on a UNIX style editor that puts
  615.       only line feeds at the end of lines instead of
  616.       carriage return - line feed
  617.  
  618.   ------------------------------------------------------------------
  619.   48. FAULT WHILE TRYING TO DISPLAY A GLOBAL SYMBOL
  620.   ------------------------------------------------------------------
  621.  
  622.   Problem : Soft-ICE blows up when trying to display a global symbol
  623.       Version 2.7 only
  624.   Solution : Patch S-ice.exe as follows:
  625.  
  626.     ren s-ice.exe s-ice.bin
  627.     debug s-ice.bin
  628.     -r
  629.     -s cs+1000:0 lffff 01 74 28
  630.      ( prints out an address in xxxx:yyyy format )
  631.     -e xxxx:yyyy 02
  632.     -w
  633.     -q
  634.     ren s-ice.bin s-ice.exe
  635.  
  636.   -----------------------------------------------------------------
  637.   49. ALTSCR DOES NOT WORK IN VERSION 2.7
  638.   -----------------------------------------------------------------
  639.   Problem: ALTSCR command does not work in version 2.7
  640.   Solution: Patch S-ICE.EXE as follows:
  641.     
  642.     ren s-ice.exe s-ice.bin
  643.     debug s-ice.bin
  644.     -r
  645.     -s cs+1000:0 lffff 80 3E 14 78
  646.     ( Prints out two addresses in xxxx:yyyy format )
  647.     -e xxxx:yyyy C7 06 C8 99 28 00 90
  648.     ( Use the first address printed )
  649.     -e xxxx:yyyy C7 06 C8 99 30 00 90
  650.     ( Use the second address printed )
  651.     -w
  652.     -q
  653.     ren s-ice.bin s-ice.exe
  654.  
  655.   -----------------------------------------------------------------
  656.   50. GPF ON PUSH FD OR POP FD ( using back door command/BREAK ON )
  657.   _________________________________________________________________
  658.  
  659.   Problem: A GPF occurs in SI on a PUSH FD or POP FD instruction.
  660.   Solution: Patch S-ICE.EXE as follows
  661.  
  662.     ren s-ice.exe s-ice.bin
  663.     debug s-ice.bin
  664.     -s 0 lffff 0F 85 EA FA
  665.       ( prints out an address in xxxx:yyyy fashion )
  666.     -e xxxx:yyyy 0F 85 09 FB
  667.     -w
  668.     -q
  669.     ren s-ice.bin s-ice.exe
  670.  
  671.   -------------------------------------------------------------------
  672.   51. LDR OF TSR CAUSES A BLOW UP THE NEXT TIME THE TSR IS RUN
  673.   -------------------------------------------------------------------
  674.   Problem: This problem was shown when a guy loaded a TSR into Soft
  675.   ICE, then did an EXIT, then ran the TSR again which caused a fault
  676.   inside of Soft-ICE. It was narrowed down to the fact that Soft-ICE
  677.   was using the ECX register but had never zeroed the high half.
  678.   
  679.   Solution:  Patch S-ICE.EXE as follows:
  680.  
  681.     ren s-ice.exe s-ice.bin
  682.     debug s-ice.bin
  683.     -s 0 lffff 8A 0E 41 0D FE C1 B5 00 F3
  684.         ( prints out address in xxxx:yyyy format )
  685.     -e xxxx:yyyy 66 31 c9 8a 0e 41 0d 41
  686.     -w
  687.     -q
  688.     ren s-ice.bin s-ice.exe
  689.  
  690.   -------------------------------------------------------------------
  691.   52. WINDOWS WON"T LOAD WHEN S-ICE IS PRESENT
  692.   -------------------------------------------------------------------
  693.   Solution:
  694.     Make sure BREAK is OFF inside Soft-ICE
  695.     Put a /M:1 after HIMEM.SYS in CONFIG.SYS
  696.  
  697.   -------------------------------------------------------------------
  698.   53. REGISTER WINDOW OVEWRITTEN WITH DS:XXXX IN LOWER RIGHT    
  699.   -------------------------------------------------------------------
  700.   Problem:  The FLAGS in the register window are overwritten by
  701.   a referenced memory address ( DS:XXXX= ).
  702.   Solution:
  703.     Patch S-ICE.EXE as follows:
  704.  
  705.     ren s-ice.exe s-ice.bin
  706.     debug s-ice.bin
  707.     -s cs+1000 lffff E8 91 FC
  708.       ( prints out an address in xxxx:yyyy format )
  709.     -e xxxx:yyyy 90 90 90
  710.     -w
  711.     -q
  712.     ren s-ice.bin s-ice.exe
  713.  
  714.    -----------------------------------------------------------------
  715.    54. SOFT-ICE DOES NOT POP UP PROPERLY WHEN RUNNING BRIEF
  716.    -----------------------------------------------------------------
  717.    Problem: When running BRIEF ( editor is actually on screen ), 
  718.    CTRL-D causes the machine to beep and a reboot is needed.
  719.  
  720.    Solution: This is a problem that occurred since 2.7 and the addition
  721.    of 43 and 50 line mode.  An extra video page is being used and
  722.    an equation in Soft-ICE was producing a negative result.
  723.    Patch s-ice.exe as follows
  724.  
  725.     ren s-ice.exe s-ice.bin
  726.     debug s-ice.bin
  727.     -r
  728.     -s cs+1000 lffff 66 2B CE F3
  729.       ( prints out an address in xxxx:yyyy format )
  730.     -e xxxx:yyyy 90 90 90
  731.     -s cs+1000 lffff 66 2B CF
  732.       ( prints out an address in xxxx:yyyy format )
  733.     -e xxxx:yyyy 90 90 90
  734.     -w
  735.     -q
  736.     ren s-ice.bin s-ice.exe
  737.  
  738.     ---------------------------------------------------------------
  739.     55. USING SOFT-ICE WITH QL10DOS.SYS
  740.     ---------------------------------------------------------------
  741.     Problem:  When SL10DOS.SYS is loaded, you get errors on disk
  742.     accesses.  QL10DOS.SYS is a new driver being shipped for SCSI
  743.       hard disks.
  744.  
  745.       Solution: You must load drivers in CONFIG.SYS in the following
  746.       order-
  747.         device=s-ice.exe
  748.         device=ql10dos.sys
  749.         device=himem.sys
  750.         device=funnel.sys
  751.     
  752.  
  753.  
  754.   -------------------------------------------------------------------
  755.  
  756.   *******************************************************************
  757.   The following apply to Versions 2.62 and EARLIER ONLY !!!!
  758.   *******************************************************************
  759.  
  760.   -------------------------------------------------------------------
  761.   56. FLOPPY HANGS WHEN SOFT-ICE INSTALLED (GP ERROR IN CACHE)
  762.   -------------------------------------------------------------------
  763.   Problem: Floppy hangs when Soft-ICE is installed, on protected
  764.   mode instruction in BIOS (F000:xxxx). Instruction is MOV EAX,CRx.
  765.   Analysis: Some older Phoenix BIOS ROM's handled cache operations
  766.   in protected mode. BIOS ROM must be replaced or you must update to
  767.   Soft-ICE 2.6+, which emulates this instruction without generating
  768.   a protection error. Some Gateway 2000 486's have this older BIOS.
  769.  
  770.   -------------------------------------------------------------------
  771.   57. TURBO DEBUGGER IN 43-LINE MODE
  772.   -------------------------------------------------------------------
  773.   Problem: Soft-ICE with Turbo Debugger in 43 line mode beeps and
  774.   dies.
  775.   Solution: patch s-ice.exe as follows:
  776.    ren s-ice.exe s-ice.bin
  777.    debug s-ice.bin
  778.    -r       (get value of CS register)
  779.    -e (cs+1000h):b993 7f
  780.    -w
  781.    -q
  782.    ren s-ice.bin s-ice.exe
  783.  
  784.   -------------------------------------------------------------------
  785.   58. WRONG LINE #'S IN "STACK" COMMAND
  786.   -------------------------------------------------------------------
  787.   Problem: Line numbers displayed by STACK command are wrong,
  788.   typically very large (28xxx)
  789.   Solution: patch s-ice.exe as follows:
  790.     ren s-ice.exe s-ice.bin
  791.     debug s-ice.bin
  792.     -e cs:626f
  793.        (should print "08.")
  794.        0a             (change 08 to 0a)
  795.     -w
  796.     -q
  797.     ren s-ice.bin s-ice.exe
  798.  
  799.   -------------------------------------------------------------------
  800.   59. GP ERROR DISASSEMBLING OR STEPPING THRU CODE
  801.   -------------------------------------------------------------------
  802.   Problem: General Protection Error when disassembling or stepping
  803.   thru code.
  804.   Solution: patch s-ice.exe as follows:
  805.   ren s-ice.exe s-ice.bin
  806.   debug s-ice.bin
  807.   (Note: in newer versions search from CS+1000)
  808.   -r
  809.   -s cs:0 lffff 81 7c 01 4e 56 74
  810.   (prints address in xxxx:yyyy format; offset should be E3D8)
  811.   -e xxxx:yyyy 90 90 90 90 90 90 90 90 90 90 90 90 90 (13 NOP's)
  812.   -w
  813.   -q
  814.   ren s-ice.bin s-ice.exe
  815.  
  816.   -------------------------------------------------------------------
  817.   60. "ENTER PATH..." FOR BORLAND C++
  818.   -------------------------------------------------------------------
  819.   Problem: Prints "enter path for" for all source files.
  820.   Solution: Patch LDR.EXE as follows:
  821.      ren ldr.exe ldr.bin
  822.      debug ldr.exe
  823.      -e 8cec
  824.       02. 03         (change 02 to 03)
  825.      -w
  826.      -q
  827.      ren ldr.bin ldr.exe
  828.  
  829.   -------------------------------------------------------------------
  830.   61. USING SOFT-ICE 2.60 & EARLIER WITH MSVC or BORLAND 3.1
  831.   -------------------------------------------------------------------
  832.   Problem: Can't load a MSVC or BORLAND 3.1 program into Soft-ICE
  833.   Solution: To be compatible with MSVC or BORLAND 3.1, you must have
  834.     version 2.62 or higher.
  835.  
  836.   -------------------------------------------------------------------
  837.   62. USING SOFT-ICE 2.5x & EARLIER WITH MICROSOFT C/C++ 7.00
  838.   -------------------------------------------------------------------
  839.   Problem: With the C/C++ 7.00 compiler, Microsoft changed the
  840.        format of the CodeView debug data.
  841.   Solution: Soft-ICE cannot read the C/C++ debug data directly
  842.   from the .EXE file. Use the MSYM method as follows:
  843.  
  844.   Link without the "/CO" switch but with the "/MA" and "/LI"
  845.   switches.
  846.   After linking, run our MSYM.EXE utility on the .MAP file to
  847.   create a .SYM file which contains the debug data.
  848.  
  849.   If there is no debug data in the .EXE file, Soft-ICE will look
  850.   for a .SYM file.
  851.  
  852.   You should use MSYM version 2.4 (dated 8/24/92) or later; it can
  853.   be downloaded from this BBS. Earlier versions may work in some
  854.   cases.
  855.   NOTE: Microsoft's MAPSYM utility may create a .SYM file as part
  856.   of the compilation process. This .SYM file does not contain all the
  857.   debug data needed by Soft-ICE. You must use our MSYM.
  858.  
  859.   -------------------------------------------------------------------
  860.   63. BPM BREAKPOINT REBOOTS (SOFT-ICE VERSION 2.60-2.62)
  861.   -------------------------------------------------------------------
  862.   Problem: BPM breakpoint with R verb or with any conditional
  863.   qualifier reboots the system when the breakpoint occurs (Soft-ICE
  864.   Version 2.60 - 2.62).
  865.   Solution: When a Soft-ICE source file was modified so that it
  866.   also could be used for Soft-ICE/W, some code which handled hardware
  867.   breakpoint re-entrancy was accidently deleted.
  868.     During the handling of a BPM breakpoint, if the "R" verb was
  869.   chosen or if there is a conditional qualifier, the contents of the
  870.   breakpoint location are read. Reading this address causes another
  871.   breakpoint to be generated, which re-enters the breakpoint handler
  872.   and reads the location again, causing still another, and so on
  873.   until the stack overwrites something and the system reboots.
  874.     To fix this, patch S-ICE.EXE as follows:
  875.  
  876.    ren s-ice.exe s-ice.bin
  877.    debug s-ice.bin
  878.    -s 0 lffff f7 46 30 02 00 0f 85 00 00
  879.      (prints an address in xxxx:yyyy format)
  880.    -e xxxx:yyyy     0f 21 f0 66 50 66 33 c0 0f 23 f0 66 58 a2 64 01
  881.    -e xxxx:yyyy+10  a9 00 40 0f 85 a0 00 f7 46 30 02 00 0f 84 92 ff
  882.    -w
  883.    -q
  884.    ren s-ice.bin s-ice.exe
  885.  
  886.   -------------------------------------------------------------------
  887.   64. BORLAND 4.0 PROGRAMS DO NOT LOAD INTO SOFT-ICE
  888.   -------------------------------------------------------------------
  889.   Problem: Can't load source or symbols for Borland 4.0 problems
  890.   Solution: Soft-ICE versions 2.62 and lower cannot handle Borland 
  891.   4.0 symbols.  The only solution is to upgrade.
  892.  
  893.   -------------------------------------------------------------------
  894.   65. SNOW ON SCREEN WHEN USING WINDOWS (REAL MODE)
  895.   -------------------------------------------------------------------
  896.   Problem: Snow on screen when using Soft-ICE with Windows 3.0 in
  897.   real mode.
  898.   Solution: Increase the Windows space by decreasing the /TRA and
  899.   /SYM space used by Soft-ICE.
  900.  
  901.   -------------------------------------------------------------------
  902.   66. LOADING IN OVER 16M MEMORY OR 16M MEMORY NOMINAL
  903.   -------------------------------------------------------------------
  904.   Problem: Over 16M memory, keeps rebooting when trying to install
  905.   Solution: patch s-ice.exe as follows:
  906.      ren s-ice.exe s-ice.bin
  907.      debug s-ice.bin
  908.      -s 0 lffff b4 88 cd 15
  909.      (prints 2 addresses in xxxx:yyyy format)
  910.      -e first-address b8 00 3b 90
  911.      -w
  912.      -q
  913.      ren s-ice.bin s-ice.exe
  914.  
  915.   -------------------------------------------------------------------
  916.   67. COMPAQ REBOOTS WHEN TRYING TO LOAD SOFT-ICE
  917.   -------------------------------------------------------------------
  918.   Problem: SL based/non-BIMM Compaq system reboots when s-ice.exe is
  919.        installed.
  920.   Solution: change s-ice.exe as follows (NOTE - the syntax "cs+2000"
  921.   means add 2000 hex to the contents of the CS register and key in
  922.   this number):
  923.      ren  s-ice.exe s-ice.bin
  924.      debug s-ice.bin
  925.      -s 0 lffff '03C'
  926.      (prints an address in xxxx:yyyy format)
  927.      -e address ff
  928.      -r        (get CS)
  929.      -s cs+2000:0 lffff '03C'
  930.      (prints an address in xxxx:yyyy format)
  931.      -e address ff
  932.      -w
  933.      -q
  934.      ren s-ice.bin s-ice.exe
  935.  
  936.    Also, if the keyword COMPAQ is in the S-ICE.DAT file, comment it
  937.    out with a semicolon.
  938.  
  939.    NOTE: This problem has also occurred on other brands of computer
  940.    which used a Compaq BIOS to control an IDE disk drive.
  941.  
  942.   -------------------------------------------------------------------
  943.   68. USING SOFT-ICE ON A PENTIUM SYSTEM
  944.   -------------------------------------------------------------------
  945.    The following changes must be made when using Soft-ICE on a
  946.    Pentium system (NOTE - the syntax "cs+2000" means add 2000 Hex to
  947.    the contents of the CS register and key in this number):
  948.  
  949.      ren  s-ice.exe s-ice.bin
  950.      debug s-ice.bin
  951.      -r        (get CS)
  952.      -s cs+2000:0 lffff 2e 83 06
  953.      (prints an address in xxxx:yyyy format)
  954.      -e address 64
  955.      -s cs+2000:0 lffff 2e c7 06
  956.      (prints two addresses in xxxx:yyyy format)
  957.      -e first-address 64
  958.      -w
  959.      -q
  960.      ren s-ice.bin s-ice.exe
  961.  
  962.   -------------------------------------------------------------------
  963.   69. LDR HANGS WHEN LOADING SYMBOLS
  964.   -------------------------------------------------------------------
  965.   Problem: LDR.EXE hangs when loading symbols or the symbolic
  966.   names are all junk characters.
  967.   Solution: LDR stores the symbolic names in 5K blocks for parsing
  968.   to extended memory. When a block is filled, there is no check for
  969.   the end of the symbols, so if the last name exactly fills the last
  970.   block, LDR continues processing and hangs. The following patch
  971.   inserts a check for the symbol count = 0 at the end of a block.
  972.  
  973.   ren ldr.exe ldr.bin
  974.   debug ldr.bin
  975.   -s 0 lffff 0f 8f 05 00
  976.   (prints an address in xxxx:yyyy format)
  977.   -e xxxx:yyyy 77 05 e2 e8 eb 1b 90 49 e3 17
  978.   -w
  979.   -q
  980.   ren ldr.bin ldr.exe
  981.  
  982.   -------------------------------------------------------------------
  983.   70. BAD PRINTOUT OF SOURCE LINES IN BACK TRACE
  984.   -------------------------------------------------------------------
  985.   Problem: Source lines sent to printer when printing back trace
  986.   buffer are blank or all 0F characters.
  987.   Solution: Source lines are routed through a routine which puts
  988.   the actual character in AH, and puts 0F into AL The printer routine
  989.   reads the contents of AL. To correct this, patch S-ICE.EXE to swap
  990.   AL and AH when AL = 0F, as follows:
  991.  
  992.   NOTE: This patch begins at the address + 2, i.e., at the "ee"
  993.  
  994.   ren s-ice.exe s-ice.bin
  995.   debug s-ice.bin
  996.   -s 0 lffff 3d 4a ee
  997.   (prints an address in xxxx:yyyy format)
  998.   -e xxxx:yyyy+2  3c 0f 75 02 88 e0 ee b9 05 00 e2 fe 42 bb a0 00
  999.   -e xxxx:yyyy+12 ec 51 b9 05 00 e2 fe 59 a8 80 75 07 e2 f2 4b 74
  1000.   -e xxxx:yyyy+22 1b eb ed b0 0d 42 ee b9 05 00 e2 fe
  1001.   -w
  1002.   -q
  1003.   ren s-ice.bin s-ice.exe
  1004.  
  1005.   -------------------------------------------------------------------
  1006.   71. BACK TRACE PRINTOUT HAS LONG BLOCKS OF SPACES
  1007.   -------------------------------------------------------------------
  1008.   Problem: While printing the back trace buffer, long blocks of
  1009.   spaces are printed when a field overruns into the next field.
  1010.   Solution: Patch S-ICE.EXE as follows to print a single space
  1011.   if a negative or zero count results when calculating the number of
  1012.   spaces to get to a specific column:
  1013.  
  1014.   ren s-ice.exe s-ice.bin
  1015.   debug s-ice.bin
  1016.   -r              (get contents of CS register)
  1017.   -s cs+1000:0 lffff d0 e4 d0 e4 d0 e4 d0 e4
  1018.   (prints an address in xxxx:yyyy format)
  1019.   -e xxxx:yyyy    c0 e4 04 0a c4 8a c8 b5 00 2a 0e e3 3f 7d 03 b9
  1020.   -e xxxx:yyyy+10 01 00
  1021.   -w
  1022.   -q
  1023.   ren s-ice.bin s-ice.exe
  1024.  
  1025. 
  1026.