quantass
01-07-2004, 06:43 PM
My SCSI Host Adapter's BIOS has been wiped clean and the only way of getting it restored seems to be the supplied tool FLASH4.EXE from Adaptec. Unfortunately the tool refuses to reflash my adapter's bios because it is wiped clean. Go figure. It seems this is a good time to learn a bit about disassmbling/debugging a .EXE file. My goal is to patch the FLASH4.EXE file so that it bypasses the failsafe and reflashes my bios. I dont see the harm.
The file is 100KB, .EXE file under MSDOS using DJGPP Protected Mode.
I keep getting the error message "No BIOS Detected" from the FLASH4.EXE file so I figure if I had a tool which allowed me to search the file's disassmbled contents for where the phrase is used then worked backwards to find a condition statement (ie. JNZ) I could patch the area to skip to the correct location. What DOS based tool can help me do this? Under Windows I used a tool entitled Olly Debugger which was quite decent but unfortunately since the FLASH4.EXE file refuses to run under Windows Im forced to find a DOS based solution.
Thanks for any help.
The file is 100KB, .EXE file under MSDOS using DJGPP Protected Mode.
I keep getting the error message "No BIOS Detected" from the FLASH4.EXE file so I figure if I had a tool which allowed me to search the file's disassmbled contents for where the phrase is used then worked backwards to find a condition statement (ie. JNZ) I could patch the area to skip to the correct location. What DOS based tool can help me do this? Under Windows I used a tool entitled Olly Debugger which was quite decent but unfortunately since the FLASH4.EXE file refuses to run under Windows Im forced to find a DOS based solution.
Thanks for any help.