flat assembler
Message board for the users of flat assembler.

Index > OS Construction > The 18 Mb FAT32 (USB boot and run) limit

Author
Thread Post new topic Reply to topic
Mike Gonta



Joined: 26 Dec 2010
Posts: 243
Mike Gonta 20 Apr 2012, 06:17
Not all PC's that support USB booting support the int 13h extensions for LBA addressing. The BIOS emulation
applies only to the legacy int 13h functions which use CHS addressing.
Code:
DRIVE     | Extensions  | LBA support  | C.   H.  S.         | LBA
__________|_____________|______________|_____________________|________________
          |             |
0         | No          | No           | 1024*  2*18 = 18Mb  | N/A
80h       | No          | No           | 1024*255*63 =  8Gb  | N/A
0 or 80h  | Yes         | No           | 1024*255*63 =  8Gb  | N/A
0 or 80h  | Yes         | Yes          | 1024*255*63 =  8Gb  | Size of drive
    

_________________
Mike Gonta
look and see - many look but few see

https://mikegonta.com


Last edited by Mike Gonta on 22 Apr 2012, 09:25; edited 3 times in total
Post 20 Apr 2012, 06:17
View user's profile Send private message Visit poster's website Reply with quote
smiddy



Joined: 31 Oct 2004
Posts: 557
smiddy 20 Apr 2012, 10:13
Interesting!

It has been a while so forgive my ignorance, wouldn't you have a bigger File Allocation Table with FAT32 (in sectors need per FAT) versus FAT12? Not that size may matter since we're using FASM to write our OS.

Does this also apply to USB CD/DVD/BD drives?
Post 20 Apr 2012, 10:13
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.