📄 readme.si
字号:
-e xxxx:yyyy 66 31 c9 8a 0e 41 0d 41
-w
-q
ren s-ice.bin s-ice.exe
-------------------------------------------------------------------
52. WINDOWS WON"T LOAD WHEN S-ICE IS PRESENT
-------------------------------------------------------------------
Solution:
Make sure BREAK is OFF inside Soft-ICE
Put a /M:1 after HIMEM.SYS in CONFIG.SYS
-------------------------------------------------------------------
53. REGISTER WINDOW OVEWRITTEN WITH DS:XXXX IN LOWER RIGHT
-------------------------------------------------------------------
Problem: The FLAGS in the register window are overwritten by
a referenced memory address ( DS:XXXX= ).
Solution:
Patch S-ICE.EXE as follows:
ren s-ice.exe s-ice.bin
debug s-ice.bin
-s cs+1000 lffff E8 91 FC
( prints out an address in xxxx:yyyy format )
-e xxxx:yyyy 90 90 90
-w
-q
ren s-ice.bin s-ice.exe
-----------------------------------------------------------------
54. SOFT-ICE DOES NOT POP UP PROPERLY WHEN RUNNING BRIEF
-----------------------------------------------------------------
Problem: When running BRIEF ( editor is actually on screen ),
CTRL-D causes the machine to beep and a reboot is needed.
Solution: This is a problem that occurred since 2.7 and the addition
of 43 and 50 line mode. An extra video page is being used and
an equation in Soft-ICE was producing a negative result.
Patch s-ice.exe as follows
ren s-ice.exe s-ice.bin
debug s-ice.bin
-r
-s cs+1000 lffff 66 2B CE F3
( prints out an address in xxxx:yyyy format )
-e xxxx:yyyy 90 90 90
-s cs+1000 lffff 66 2B CF
( prints out an address in xxxx:yyyy format )
-e xxxx:yyyy 90 90 90
-w
-q
ren s-ice.bin s-ice.exe
---------------------------------------------------------------
55. USING SOFT-ICE WITH QL10DOS.SYS
---------------------------------------------------------------
Problem: When SL10DOS.SYS is loaded, you get errors on disk
accesses. QL10DOS.SYS is a new driver being shipped for SCSI
hard disks.
Solution: You must load drivers in CONFIG.SYS in the following
order-
device=s-ice.exe
device=ql10dos.sys
device=himem.sys
device=funnel.sys
-------------------------------------------------------------------
*******************************************************************
The following apply to Versions 2.62 and EARLIER ONLY !!!!
*******************************************************************
-------------------------------------------------------------------
56. FLOPPY HANGS WHEN SOFT-ICE INSTALLED (GP ERROR IN CACHE)
-------------------------------------------------------------------
Problem: Floppy hangs when Soft-ICE is installed, on protected
mode instruction in BIOS (F000:xxxx). Instruction is MOV EAX,CRx.
Analysis: Some older Phoenix BIOS ROM's handled cache operations
in protected mode. BIOS ROM must be replaced or you must update to
Soft-ICE 2.6+, which emulates this instruction without generating
a protection error. Some Gateway 2000 486's have this older BIOS.
-------------------------------------------------------------------
57. TURBO DEBUGGER IN 43-LINE MODE
-------------------------------------------------------------------
Problem: Soft-ICE with Turbo Debugger in 43 line mode beeps and
dies.
Solution: patch s-ice.exe as follows:
ren s-ice.exe s-ice.bin
debug s-ice.bin
-r (get value of CS register)
-e (cs+1000h):b993 7f
-w
-q
ren s-ice.bin s-ice.exe
-------------------------------------------------------------------
58. WRONG LINE #'S IN "STACK" COMMAND
-------------------------------------------------------------------
Problem: Line numbers displayed by STACK command are wrong,
typically very large (28xxx)
Solution: patch s-ice.exe as follows:
ren s-ice.exe s-ice.bin
debug s-ice.bin
-e cs:626f
(should print "08.")
0a (change 08 to 0a)
-w
-q
ren s-ice.bin s-ice.exe
-------------------------------------------------------------------
59. GP ERROR DISASSEMBLING OR STEPPING THRU CODE
-------------------------------------------------------------------
Problem: General Protection Error when disassembling or stepping
thru code.
Solution: patch s-ice.exe as follows:
ren s-ice.exe s-ice.bin
debug s-ice.bin
(Note: in newer versions search from CS+1000)
-r
-s cs:0 lffff 81 7c 01 4e 56 74
(prints address in xxxx:yyyy format; offset should be E3D8)
-e xxxx:yyyy 90 90 90 90 90 90 90 90 90 90 90 90 90 (13 NOP's)
-w
-q
ren s-ice.bin s-ice.exe
-------------------------------------------------------------------
60. "ENTER PATH..." FOR BORLAND C++
-------------------------------------------------------------------
Problem: Prints "enter path for" for all source files.
Solution: Patch LDR.EXE as follows:
ren ldr.exe ldr.bin
debug ldr.exe
-e 8cec
02. 03 (change 02 to 03)
-w
-q
ren ldr.bin ldr.exe
-------------------------------------------------------------------
61. USING SOFT-ICE 2.60 & EARLIER WITH MSVC or BORLAND 3.1
-------------------------------------------------------------------
Problem: Can't load a MSVC or BORLAND 3.1 program into Soft-ICE
Solution: To be compatible with MSVC or BORLAND 3.1, you must have
version 2.62 or higher.
-------------------------------------------------------------------
62. USING SOFT-ICE 2.5x & EARLIER WITH MICROSOFT C/C++ 7.00
-------------------------------------------------------------------
Problem: With the C/C++ 7.00 compiler, Microsoft changed the
format of the CodeView debug data.
Solution: Soft-ICE cannot read the C/C++ debug data directly
from the .EXE file. Use the MSYM method as follows:
Link without the "/CO" switch but with the "/MA" and "/LI"
switches.
After linking, run our MSYM.EXE utility on the .MAP file to
create a .SYM file which contains the debug data.
If there is no debug data in the .EXE file, Soft-ICE will look
for a .SYM file.
You should use MSYM version 2.4 (dated 8/24/92) or later; it can
be downloaded from this BBS. Earlier versions may work in some
cases.
NOTE: Microsoft's MAPSYM utility may create a .SYM file as part
of the compilation process. This .SYM file does not contain all the
debug data needed by Soft-ICE. You must use our MSYM.
-------------------------------------------------------------------
63. BPM BREAKPOINT REBOOTS (SOFT-ICE VERSION 2.60-2.62)
-------------------------------------------------------------------
Problem: BPM breakpoint with R verb or with any conditional
qualifier reboots the system when the breakpoint occurs (Soft-ICE
Version 2.60 - 2.62).
Solution: When a Soft-ICE source file was modified so that it
also could be used for Soft-ICE/W, some code which handled hardware
breakpoint re-entrancy was accidently deleted.
During the handling of a BPM breakpoint, if the "R" verb was
chosen or if there is a conditional qualifier, the contents of the
breakpoint location are read. Reading this address causes another
breakpoint to be generated, which re-enters the breakpoint handler
and reads the location again, causing still another, and so on
until the stack overwrites something and the system reboots.
To fix this, patch S-ICE.EXE as follows:
ren s-ice.exe s-ice.bin
debug s-ice.bin
-s 0 lffff f7 46 30 02 00 0f 85 00 00
(prints an address in xxxx:yyyy format)
-e xxxx:yyyy 0f 21 f0 66 50 66 33 c0 0f 23 f0 66 58 a2 64 01
-e xxxx:yyyy+10 a9 00 40 0f 85 a0 00 f7 46 30 02 00 0f 84 92 ff
-w
-q
ren s-ice.bin s-ice.exe
-------------------------------------------------------------------
64. BORLAND 4.0 PROGRAMS DO NOT LOAD INTO SOFT-ICE
-------------------------------------------------------------------
Problem: Can't load source or symbols for Borland 4.0 problems
Solution: Soft-ICE versions 2.62 and lower cannot handle Borland
4.0 symbols. The only solution is to upgrade.
-------------------------------------------------------------------
65. SNOW ON SCREEN WHEN USING WINDOWS (REAL MODE)
-------------------------------------------------------------------
Problem: Snow on screen when using Soft-ICE with Windows 3.0 in
real mode.
Solution: Increase the Windows space by decreasing the /TRA and
/SYM space used by Soft-ICE.
-------------------------------------------------------------------
66. LOADING IN OVER 16M MEMORY OR 16M MEMORY NOMINAL
-------------------------------------------------------------------
Problem: Over 16M memory, keeps rebooting when trying to install
Solution: patch s-ice.exe as follows:
ren s-ice.exe s-ice.bin
debug s-ice.bin
-s 0 lffff b4 88 cd 15
(prints 2 addresses in xxxx:yyyy format)
-e first-address b8 00 3b 90
-w
-q
ren s-ice.bin s-ice.exe
-------------------------------------------------------------------
67. COMPAQ REBOOTS WHEN TRYING TO LOAD SOFT-ICE
-------------------------------------------------------------------
Problem: SL based/non-BIMM Compaq system reboots when s-ice.exe is
installed.
Solution: change s-ice.exe as follows (NOTE - the syntax "cs+2000"
means add 2000 hex to the contents of the CS register and key in
this number):
ren s-ice.exe s-ice.bin
debug s-ice.bin
-s 0 lffff '03C'
(prints an address in xxxx:yyyy format)
-e address ff
-r (get CS)
-s cs+2000:0 lffff '03C'
(prints an address in xxxx:yyyy format)
-e address ff
-w
-q
ren s-ice.bin s-ice.exe
Also, if the keyword COMPAQ is in the S-ICE.DAT file, comment it
out with a semicolon.
NOTE: This problem has also occurred on other brands of computer
which used a Compaq BIOS to control an IDE disk drive.
-------------------------------------------------------------------
68. USING SOFT-ICE ON A PENTIUM SYSTEM
-------------------------------------------------------------------
The following changes must be made when using Soft-ICE on a
Pentium system (NOTE - the syntax "cs+2000" means add 2000 Hex to
the contents of the CS register and key in this number):
ren s-ice.exe s-ice.bin
debug s-ice.bin
-r (get CS)
-s cs+2000:0 lffff 2e 83 06
(prints an address in xxxx:yyyy format)
-e address 64
-s cs+2000:0 lffff 2e c7 06
(prints two addresses in xxxx:yyyy format)
-e first-address 64
-w
-q
ren s-ice.bin s-ice.exe
-------------------------------------------------------------------
69. LDR HANGS WHEN LOADING SYMBOLS
-------------------------------------------------------------------
Problem: LDR.EXE hangs when loading symbols or the symbolic
names are all junk characters.
Solution: LDR stores the symbolic names in 5K blocks for parsing
to extended memory. When a block is filled, there is no check for
the end of the symbols, so if the last name exactly fills the last
block, LDR continues processing and hangs. The following patch
inserts a check for the symbol count = 0 at the end of a block.
ren ldr.exe ldr.bin
debug ldr.bin
-s 0 lffff 0f 8f 05 00
(prints an address in xxxx:yyyy format)
-e xxxx:yyyy 77 05 e2 e8 eb 1b 90 49 e3 17
-w
-q
ren ldr.bin ldr.exe
-------------------------------------------------------------------
70. BAD PRINTOUT OF SOURCE LINES IN BACK TRACE
-------------------------------------------------------------------
Problem: Source lines sent to printer when printing back trace
buffer are blank or all 0F characters.
Solution: Source lines are routed through a routine which puts
the actual character in AH, and puts 0F into AL The printer routine
reads the contents of AL. To correct this, patch S-ICE.EXE to swap
AL and AH when AL = 0F, as follows:
NOTE: This patch begins at the address + 2, i.e., at the "ee"
ren s-ice.exe s-ice.bin
debug s-ice.bin
-s 0 lffff 3d 4a ee
(prints an address in xxxx:yyyy format)
-e xxxx:yyyy+2 3c 0f 75 02 88 e0 ee b9 05 00 e2 fe 42 bb a0 00
-e xxxx:yyyy+12 ec 51 b9 05 00 e2 fe 59 a8 80 75 07 e2 f2 4b 74
-e xxxx:yyyy+22 1b eb ed b0 0d 42 ee b9 05 00 e2 fe
-w
-q
ren s-ice.bin s-ice.exe
-------------------------------------------------------------------
71. BACK TRACE PRINTOUT HAS LONG BLOCKS OF SPACES
-------------------------------------------------------------------
Problem: While printing the back trace buffer, long blocks of
spaces are printed when a field overruns into the next field.
Solution: Patch S-ICE.EXE as follows to print a single space
if a negative or zero count results when calculating the number of
spaces to get to a specific column:
ren s-ice.exe s-ice.bin
debug s-ice.bin
-r (get contents of CS register)
-s cs+1000:0 lffff d0 e4 d0 e4 d0 e4 d0 e4
(prints an address in xxxx:yyyy format)
-e xxxx:yyyy c0 e4 04 0a c4 8a c8 b5 00 2a 0e e3 3f 7d 03 b9
-e xxxx:yyyy+10 01 00
-w
-q
ren s-ice.bin s-ice.exe
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -