Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!oliveb!amiga!cbmvax!jesup From: jesup@cbmvax.UUCP (Randell Jesup) Newsgroups: comp.sys.amiga.tech Subject: Re: Trackdisk bug Keywords: Trackdisk Bug TD_RAWREAD TD_RAWWRITE Message-ID: <7335@cbmvax.UUCP> Date: 17 Jul 89 18:44:17 GMT References: <1015@tukki.jyu.fi> Reply-To: jesup@cbmvax.UUCP (Randell Jesup) Organization: Commodore Technology, West Chester, PA Lines: 20 In article <1015@tukki.jyu.fi> trossi@tukki.jyu.fi (Timo Rossi) writes: >I have found a bug in trackdisk.device TD_RAWREAD and TD_RAWWRITE commands. >sometimes TD_RAWREAD and TD_RAWWRITE fail with error code -4 (IOERR_BADLENGTH). >After disassembling the code I found that trackdisk.device compares the >io_Length field with the contents of memory location $8000 when it should >compare it with number $8000. Apparently a '#'-sign is missing from the code. Quite true. I think we announced that this error exists, thought not the exact cause. Do NOT modify location $8000, that is almost always in use by something, such as a trackdisk buffer. The error cannot be patched via setpatch, unfortunately (we tried). It has been corrected for 1.4. The error will usually show up on 1-drive machines. On two drive machines, things fall in memory such that it almost always works (2 3.5" drives, that is, in addition to the 5.25"). -- Randell Jesup, Keeper of AmigaDos, Commodore Engineering. {uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.cbm.commodore.com BIX: rjesup Common phrase heard at Amiga Devcon '89: "It's in there!"