home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.cbm
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!nucsrl!ddsw1!dattier
- From: dattier@ddsw1.mcs.com (DWT)
- Subject: Re: 2 Q's: BMI & SAVE@
- Message-ID: <C1Ds7u.M53@ddsw1.mcs.com>
- Date: Sun, 24 Jan 1993 23:07:06 GMT
- References: <1993Jan22.062624.23025@netcom.com> <30370@optima.cs.arizona.edu> <1993Jan24.043922.20002@netcom.com>
- Organization: Contributor Account at ddsw1, Chicago, Illinois 60657
- Lines: 59
-
- A poster whose name is lost to history:
-
- | >>>Could someone post the patch to fix the "@:fname" bug
-
- David DeSimone:
-
- | >>OPEN 15,8,15,"S0:fname" : CLOSE 15
- | >>SAVE "fname",8
-
- Chris McBride:
-
- | >Well This is the reason doing a simple scratch and save DOESN'T work.
- | >If you don't want this nasty bug to appear, you should ALWAYS use a
- | >"0:" in EVERY I mean EVERY command. In order for the above 'patch' to
- | >work correctly it should read:
-
- DeSimone again:
-
- | Huh?? If you always SCRATCH the file then SAVE, you will not run into
- | the @-save bug, because you're NOT USING @-save!! :)
-
- And now, yours truly:
-
- David, so if you never leave North America you can't catch the Hong Kong
- flu? If the same bug is triggered by scratch+save, then you haven't fallen
- afoul of the save+replace bug, you've fallen afoul of the scratch+save bug.
- It's no help to change the problem's name: you still have a confused disk.
-
- Chris was almost right. To avoid it, initialize first:
-
- open15,8,15,"i0":close15
- save"@0:filename",8
-
- or, if your well-being is predicated on believing that save@ is diabolical,
-
- open15,8,15,"i0"
- print#15,"s0:filename"
- close15
- save"0:filename",8
-
- Specifying the drive number works. Scratching first and then saving does
- not (unless you scratch, initialize, and then save). Thinking that
- scratching and then saving protects you so much that you can leave out
- the drive number is really asking for trouble. ("As long as you say you're
- a virgin, it's ok with me if you don't wear a condom.")
-
- Credit to Ken Arnold for this one: a lot of disk messes blamed on save@ might
- be the result of carelessness about disk ID's and initializing. (The 1541
- doesn't automatically initialize when a disk is inserted but only if the disk
- ID is different.) Take a disk out of a 1541 and insert a different disk with
- the same ID, and the 1541 treats it as the same disk and uses the first
- disk's BAM unless told to initialize. WARNING: the disk ID that counts is
- the one written into every sector at formatting time, not the cosmetic one
- painted into the data portion of track 18, sector 0, for easy reading. The
- worst programs ever written for the 1541 are those that change the cosmetic
- ID so that the user can get into serious trouble.
-
- David W. Tamkin Box 59297 Northtown Station, Illinois 60659-0297
- dattier@ddsw1.mcs.com CompuServe: 73720,1570 MCI Mail: 426-1818
-