flat assembler
Message board for the users of flat assembler.
  
       
      Index
      > OS Construction > floppy disk wear n tear | 
  
| Author | 
  | 
              
| 
                  
                   edfed 04 Jan 2010, 17:35 
                  3 times is enough.
 
                  
                1 sector at a time, 3 retries (if cf set or reset (don't remember exact value) i tested many possibilities with bios. the only who always works is that one. then, do that: Code: mov eax,LBA ; do LBA addressing for simplicity LOOP: dec [count] jl .end call read inc eax /LOOP .end: read: call lba2bioschs int13h jc .end int13h jc .end int 13h jc .end .error: .end: /read  | 
              |||
                  
  | 
              
| 
                  
                   Dex4u 04 Jan 2010, 21:54 
                  I always use one sector at a time  and have the same test PC and floppy drives for over 5 years, with no problems with wear etc. 
                  
                 | 
              |||
                  
  | 
              
| 
                  
                   GhostXoPCorp 04 Jan 2010, 21:55 
                  thanks 
                  _________________ Oh that divide overflow. Just jumps out of the bushes every time to scare the day lights out of me.  | 
              |||
                  
  | 
              
| 
                  
                   Tyler 04 Jan 2010, 23:30 
                  Have you ever run out of retries? 
                  
                 | 
              |||
                  
  | 
              
| 
                  
                   ManOfSteel 04 Jan 2010, 23:39 
                  It happens with dead/dying disks with bad sectors.
 
                  
                The FDC can be quite "stubborn", but 3 retries should be good.  | 
              |||
                  
  | 
              
< Last Thread | Next Thread >  | 
    
Forum Rules: 
  | 
    
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.