home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.asm.x86      Ahh, the lost art of x86 assembly      4,675 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 3,392 of 4,675   
   bilsch to All   
   mechanics of file operations in 16 bit r   
   10 May 18 20:20:36   
   
   From: king621@nospicedham.comcast.net   
      
   I'm writing 16 bit real mode programming using NASM.  I will have a text   
   editor and need to do file open, save, copy in FAT16 file system.  The   
   partition is 2GB and cluster size is 32k. I don't know exactly how much   
   memory space will be available - hopefully much of   
   0x00600 to 0xA0000. It will not necessarily work on any PC - we'll see.   
      
   My question.  File operations need to access a 256 sector FAT (128k) and   
   a 32 sector root directory (16K), and files could need 32k open at a   
   time - ideally more. The I've never done anything like this.  I assume   
   the file operations are done accessing parts of FAT and root at a time   
   and not the whole 144k.  144k is a lot of space.  I need to have a   
   smaller FAT and smaller cluster size. I also need to juggle between   
   portion of file in memory and portion on disk at a given time.  Any   
   suggestions?  TIA.   Bill S.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca