Page 1 of 1
Fat12 routines
Posted: Wed Feb 13, 2002 12:00 am
by phenomenic
I'm looking for fat12 rotines! (nasm code plz)
RE:Fat12 routines
Posted: Fri Feb 15, 2002 12:00 am
by Guest
>On 2002-02-13 05:24:50, phenomenic wrote:
>I'm looking for fat12 rotines! (nasm code plz)
Doesn't anybody look at the LINKS on this page!?
There's no shortage of fat12 drivers out there,
I'm sure you can find some, or (perish the
thought!) write you own!
RE:Fat12 routines
Posted: Sat Feb 16, 2002 12:00 am
by Guest
>On 2002-02-13 05:24:50, phenomenic wrote:
>I'm looking for fat12 rotines! (nasm code plz)
Not as easy as it sounds; most FAT
implementations are actually in C these days,
while many assmbly FAT samples predate NASM.
I found a few things that may help, though:
http://www.ansanest.com/josh/boot3.htm
- a boot loader that loads in a FAT and directory.
http://www.cs.plu.edu/pub/faculty/csce3 ... /home.html
- sample code from a class on ASM programming,
with a few FAT12 examples
Also, here's a detailed description of FAT12, in
case you decide to something wacky, like, oh,
code a version of it yourself.
http://www.maverick.subnet.dk/FileSyste ... ystem.html
FAT12 itself is fairly trivial; the hard part is
the read/write routines underlying it. My
previous posting on the subject gave some goosd
advice about actually doing this.
RE:Fat12 routines
Posted: Sat Feb 16, 2002 12:00 am
by Guest
>On 2002-02-13 05:24:50, phenomenic wrote:
>I'm looking for fat12 rotines! (nasm code plz)
Not as easy as it sounds; most FAT
implementations are actually in C these days,
while many assmbly FAT samples predate NASM.
I found a few things that may help, though:
http://www.ansanest.com/josh/boot3.htm
- a boot loader that loads in a FAT and directory.
http://www.cs.plu.edu/pub/faculty/csce3 ... /home.html
- sample code from a class on ASM programming,
with a few FAT12 examples
Also, here's a detailed description of FAT12, in
case you decide to something wacky, like, oh,
code a version of it yourself.
http://www.maverick.subnet.dk/FileSyste ... ystem.html
FAT12 itself is fairly trivial; the hard part is
the read/write routines underlying it. My
previous posting on the subject gave some goosd
advice about actually doing this.
RE:Fat12 routines
Posted: Sat Feb 16, 2002 12:00 am
by Schol-R-LEA
>On 2002-02-16 23:29:11, Anonymous wrote:
>>On 2002-02-13 05:24:50, phenomenic wrote:
>>I'm looking for fat12 rotines! (nasm code plz)
>
>Not as easy as it sounds; most FAT
>implementations are actually in C these days,
>while many assmbly FAT samples predate NASM.
>I found a few things that may help, though:
>
>http://www.ansanest.com/josh/boot3.htm
>- a boot loader that loads in a FAT and directory.
>
>http://www.cs.plu.edu/pub/faculty/csce380/examples/home.html
>- sample code from a class on ASM programming,
>with a few FAT12 examples
Oops. Actually, this code is in MASM, not NASM, which is just what I warned you would be the case most of the time. Also, on DOS and BIOS calls, which makes it useless for your puropes. My mistake, please ignore.
In any case, as I hinted in my last posting, no
off-the-shelf code can possibly ever help you
with an OS project; the code has to work with the
rest of what you have written. While these may
help you understand how to write a floppy driver,
you'll still have write one of your own. There just in no way around that.
RE:Fat12 routines
Posted: Sun Feb 17, 2002 12:00 am
by Alexei A. Frounze
get os.zip from my site. the bootsector from
boot12 subdir contains complete NASM code
for reading files from FAT12 floppies.
Good Luck
Alexei A. Frounze
http://alexfru.narod.ru
http://www.members.tripod.com/protected_mode/