Patch for DOSLFN 0.40e (Users)
Hello,
as some of you are probably aware of, DOSLFN 0.40e from Jason Hood has (a) serious bug(s) that may cause corruption of directory entries.
I was able to track (one of) the bug(s) down. After the bug was fixed, I didn't experience corruptions anymore as of yet, but there is no guarantee. That's why I post the fix here: you should try it and report your experiences.
Also, the fix is for the source code only, because DOSLFN is copyrighted software - you will have to assemble and link the source.
1. change DOSLFN.ASM
@@pop_open_only:
pop ax
if 1
;--- japheth: BX is not set to a DIRENT here!
;--- so we cant copy anything to/from [bx] as it's done below.
call Copy_FCB_8P3_from_FCB_to_DI
jmp SFN_6C_CallOld ;just call old int 21h, ax=6c00h
endif
@@open_only:
2. assemble and link DOSLFN.ASM to DOSLFN.COM:
tasm -m5 -la doslfn.asm
tlink -3 -t -s doslfn.obj
---
MS-DOS forever!
Complete thread:
- Patch for DOSLFN 0.40e - Japheth, 03.09.2011, 08:18 (Users)
- Patch for DOSLFN 0.40e - ecm, 03.09.2011, 15:24
- Patch for DOSLFN 0.40e - Rugxulo, 03.09.2011, 21:53
- Patch for DOSLFN 0.40e - Rugxulo, 03.09.2011, 23:31
- Patch for DOSLFN 0.40e - Japheth, 04.09.2011, 03:14
- Patch for DOSLFN 0.40e | INT $21 / AX=$71A6 (GFIBH) - DOS386, 04.09.2011, 12:52
- Patch for DOSLFN 0.40e | INT $21 / AX=$71A6 (GFIBH) - Laaca, 11.09.2011, 22:19
- Patch for DOSLFN 0.40e | INT $21 / AX=$71A6 (GFIBH) - RayeR, 12.09.2011, 13:51
- Patch for DOSLFN 0.40e (Japheth) - Rugxulo, 17.09.2011, 20:02
- Patch for DOSLFN 0.40e (Japheth) - RayeR, 19.09.2011, 15:18
- Patch for DOSLFN 0.40e (Japheth) - tikbalang, 19.09.2011, 16:08
- Patch for DOSLFN 0.40e (Japheth) - tikbalang, 19.09.2011, 16:26
- Patch for DOSLFN 0.40e (Japheth) - Rugxulo, 19.09.2011, 23:22
- Patch for DOSLFN 0.40e (Japheth) - tikbalang, 19.09.2011, 16:26
- Patch for DOSLFN 0.40e (Japheth) - tikbalang, 19.09.2011, 16:08
- Patch for DOSLFN 0.40e (Japheth) - RayeR, 19.09.2011, 15:18
- Patch for DOSLFN 0.40e (Japheth) - Rugxulo, 17.09.2011, 20:02
- Patch for DOSLFN 0.40e | INT $21 / AX=$71A6 (GFIBH) - RayeR, 12.09.2011, 13:51
- Patch for DOSLFN 0.40e | INT $21 / AX=$71A6 (GFIBH) - Laaca, 11.09.2011, 22:19
- Patch for DGJPP 2.04 - DOS386, 06.09.2011, 06:23
- Patch for DOSLFN 0.40e | INT $21 / AX=$71A6 (GFIBH) - DOS386, 04.09.2011, 12:52
- Patch for DOSLFN 0.40e - Japheth, 04.09.2011, 03:14
- Patch for DOSLFN 0.40e - Rugxulo, 03.09.2011, 23:31