home bbs files messages ]

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

   alt.os.development      Operating system development chatter      4,255 messages   

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

   Message 2,905 of 4,255   
   JJ to muta...@gmail.com   
   Re: ISO CD image   
   26 Oct 21 00:56:09   
   
   From: jj4public@gmail.com   
      
   On Sat, 23 Oct 2021 05:50:18 -0700 (PDT), muta...@gmail.com wrote:   
   >   
   > Let me try again.   
   >   
   > Let's assume we have a real CDROM and a real hard disk   
   > and a real BIOS, but I'm writing the real BIOS and I'm making   
   > up my own specs for the BIOS, which OS vendors will need   
   > to comply to.   
   >   
   > Hard disks and CDROMs will be less than 2 GiB in size.   
   >   
   > Rather than expose the OS to the concept of sectors, I'm   
   > going to make everything byte-oriented. If you want to read   
   > 512 bytes, then do a bios->fread of 512 bytes, don't ask for   
   > a sector. Sector size may not be 512 bytes anyway.   
   >   
   > With bios->fopen, bios->fseek and bios->fread I am confident   
   > that an OS will be able to call my BIOS and implement a FAT   
   > file system.   
   >   
   > With those same functions above, I am not sure whether an   
   > OS will be able to read a normal/real CDROM.   
   >   
   > I'm willing to add/subtract metadata on the fly in my BIOS,   
   > but I'm still not sure a file system can be implemented. I'm   
   > not sure if the OS authors will insist that they need a   
   > bios->skip_to_track and bios->read_variable_sector or who   
   > knows what else functions.   
   >   
   > BFN. Paul.   
      
   Either way, a code would still be needed to translate sector addressing to   
   byte addressing; because disk storages are all sector based at hardware   
   level.   
      
   --- 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