home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / cbm / 5626 < prev    next >
Encoding:
Internet Message Format  |  1993-01-26  |  2.3 KB

  1. Path: sparky!uunet!news.univie.ac.at!alijku11!k3027e7
  2. Organization: Johannes Kepler University Linz - Computing Center
  3. Date: Tue, 26 Jan 1993 14:59:56 CET
  4. From: <K3027E7@ALIJKU11.BITNET>
  5. Message-ID: <93026.145956K3027E7@ALIJKU11.BITNET>
  6. Newsgroups: comp.sys.cbm
  7. Subject: Re: 2 Q's: BMI & SAVE@
  8. References: <1993Jan22.062624.23025@netcom.com> <30370@optima.cs.arizona.edu>
  9.  <1993Jan24.043922.20002@netcom.com> <C1Ds7u.M53@ddsw1.mcs.com>
  10. Lines: 40
  11.  
  12.  
  13. dattier@ddsw1.mcs.com (DWT) writes:
  14.  
  15. >Specifying the drive number works.  Scratching first and then saving does
  16. >not (unless you scratch, initialize, and then save).  Thinking that
  17.  
  18.   My 1541 is 8 years old and so probably contains all the bugs
  19. existing. I have had trouble with messed up disks when using
  20. SAVE "@:name",8 .
  21.   Since then I have been using  OPEN 1,8,15,"s:name": SAVE "name",8  and
  22. I can't remember problems with that. Note that I never use drive
  23. numbers.
  24.   So to find out for sure: Does anybody know a sequence of commands that
  25. generates this bug, so we can all check out our 1541s ?
  26.  
  27. >be the result of carelessness about disk ID's and initializing.  (The 1541
  28. >doesn't automatically initialize when a disk is inserted but only if the disk
  29. >ID is different.)  Take a disk out of a 1541 and insert a different disk with
  30.  
  31.   Also the write protection lightbarrier is used to detect a disk change.
  32. This check is done during the IRQ-Routine. However during data transfer
  33. this routine can be disabled.
  34.   Therefore you can savely use disks with equal IDs as long as you don't
  35. change disks while there is access to the drive by the computer.
  36.  
  37.   You can see the disk change detection work if you open a file and then
  38. remove the disk:
  39.   Type  OPEN 2,8,2,"NAME,S,W"  and the red light will go on. When removing
  40. the disk the LED will go off as the 1541 detects the disk change and
  41. allows no further writing to the file.
  42.   However if you type  OPEN 2,8,2,"NAME,S,W":CMD 2  the light will stay
  43. on after removing the disk as the drive is listening for data from the
  44. computer and therefore not checking the lightbarrier. If you insert a
  45. new disk with an equal ID then the 1541 will continue writing it's file
  46. there and completely mess up the new disk.
  47.   WARNING: Don't try this with disks that contain data you want to keep!
  48.  
  49.  
  50. Richard Hable
  51. k3027e7@edvz.uni-linz.ac.at
  52.