Path: utzoo!utgpu!water!watmath!clyde!rutgers!ucsd!ucbvax!EMX.UTEXAS.EDU!mknox From: mknox@EMX.UTEXAS.EDU (Margaret H. Knox) Newsgroups: comp.os.cpm Subject: ARCHIVE patch Message-ID: <8802090447.AA01823@emx.utexas.edu> Date: 9 Feb 88 04:47:23 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 26 The old ARCHIVE patch (aka ARCHIVE.ASM) had a bug which caused copies to diskettes with 'removeable media' checking to report BDOS DISK R/O errors. Isaac Salzman came out with a one-byte simple patch to fix the problem. Unfortunately, it was TO simple. It disabled completely the disk-change checking in the BDOS. Did anyone ever come up with a better fix for this problem? (Apparently clearing the archive bit was NOT updating the directory checksum used by the disk-change check routine.) I tried substituting the similar patch out of BBACK622.LBR (called ARCH.ASM), but it seems to have a different problem. 1. Create a file FOO.BAR 2. Set the ARCHIVE bit 3. Edit FOO.BAR 4. Examine the directory. The *new* file FOO.BAR has the ARCHIVE bit set, but the old file location (now FOO.BAK) has been cleared. Any suggestions (before I start disassembling more of BDOS)? tnx