flat assembler
Message board for the users of flat assembler.

Index > OS Construction > Hard Disk Access

Author
Thread Post new topic Reply to topic
Geek



Joined: 01 Jun 2005
Posts: 26
Geek 01 Jun 2005, 19:12
In order to properly use a HD bootloader I need to know how to calculate the drive's size -(GB, MB, KB ect,.).

Can someone please show me how to do this using math.
It needs to work with most disks, I cant use a method that takes a number off of a label on the drive itself, i need math.

Please help. Sad

_________________
Death is not the opposite of life, rather, it is the absence of it.
Post 01 Jun 2005, 19:12
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.