Click to See Complete Forum and Search --> : anyone know how to use the fcb?
vitaminj
09-21-2001, 06:12 AM
anyone know where i can find some docs on using the fcb? i was working on rewriting some of the c++ libraries in assembly for a project im working on, ive got almost everything but i cant figure out how to get the length of a file. ive looked everywhere, but no one seems to remember how to use an fcb, only that thats a good place to find what im looking for. any help would be much appreciated... i dont know how much longer my coffee stash can hold out.
------------------
--obligatory pc specs--
Abit KT7 RAID
700 MHz Tbird
256 MB PC133 cheese
gainward geforce 3 :)
bryce777
09-23-2001, 12:18 AM
http://www.webgurru.com/tutorials/assembly/chap4.htm#6
Try going here.
I don't have any of my old assembly source but this looks like I remember it.
------------------
system specs:
Voodoo 5 5500 agp
tyan 1834d tiger 133 dual 800eb 133mhz FSB
via chipset 133 via apollo pro (don't make this mistake)
256 MB RAM
2 maxtor 60gig ata100 drives
promise ata100 controller
liteon 52 truex cdrom
Linksys ethernet 10/100
Soundblaster Live! (what's so exciting about it??) value edition
300watt power supply (inwin)
about 7 pounds of fans (I'm not kidding)
Suse 7.1(god gnome is crappy compared to CDE)/win2000 based system
vitaminj
09-24-2001, 06:11 AM
wow, thats a nice page. my question though is how on earth do i read the thing? where is it stored? that page as with every other doc ive read: skips right over that part. i know im missing something really simple here. anyone know maybe where i can find some old source for a really simple program that uses the fcb?
------------------
--obligatory pc specs--
Abit KT7 RAID
700 MHz Tbird
256 MB PC133 cheese
gainward geforce 3 :)
bryce777
09-24-2001, 07:51 PM
It is actually in the file itself.
I will help you more later, but I have to run....
Originally posted by vitaminj:
wow, thats a nice page. my question though is how on earth do i read the thing? where is it stored? that page as with every other doc ive read: skips right over that part. i know im missing something really simple here. anyone know maybe where i can find some old source for a really simple program that uses the fcb?
------------------
system specs:
Voodoo 5 5500 agp
tyan 1834d tiger 133 dual 800eb 133mhz FSB
via chipset 133 via apollo pro (don't make this mistake)
256 MB RAM
2 maxtor 60gig ata100 drives
promise ata100 controller
liteon 52 truex cdrom
Linksys ethernet 10/100
Soundblaster Live! (what's so exciting about it??) value edition
300watt power supply (inwin)
about 7 pounds of fans (I'm not kidding)
Suse 7.1(god gnome is crappy compared to CDE)/win2000 based system
bryce777
09-27-2001, 03:27 PM
Ok. The fcb is something mostly used by the interrupts, not so much directly. So when you call interrupt 29 or whatever then it will make use of it.
------------------
system specs:
Voodoo 5 5500 agp
tyan 1834d tiger 133 dual 800eb 133mhz FSB
via chipset 133 via apollo pro (don't make this mistake)
256 MB RAM
2 maxtor 60gig ata100 drives
promise ata100 controller
liteon 52 truex cdrom
Linksys ethernet 10/100
Soundblaster Live! (what's so exciting about it??) value edition
300watt power supply (inwin)
about 7 pounds of fans (I'm not kidding)
Suse 7.1(god gnome is crappy compared to CDE)/win2000 based system
vitaminj
09-27-2001, 09:34 PM
and idea on how i could use it to find the length of a file?
thanks for all of your help man
bryce777
09-30-2001, 03:52 AM
Originally posted by vitaminj:
and idea on how i could use it to find the length of a file?
thanks for all of your help man
It's one of the interupts in the high 20 something range id DOS. I am not even sure those are supported anymore in windows, though.
You will probably have to get a book on assembly. As a programmer it is a sometimes annoying fact of life - I have dozens of books I needed just to accomplish one dopy project and haven't cracked open since, many on esoteric or senseless topics.
Hopefully you are getting paid enough that getting a book you need is not a hardship. If not, then you should be able to get them to get it for you or give you a raise, if you are sure you need it.
------------------
system specs:
Voodoo 5 5500 agp
tyan 1834d tiger 133 dual 800eb 133mhz FSB
via chipset 133 via apollo pro (don't make this mistake)
256 MB RAM
2 maxtor 60gig ata100 drives
promise ata100 controller
liteon 52 truex cdrom
Linksys ethernet 10/100
Soundblaster Live! (what's so exciting about it??) value edition
300watt power supply (inwin)
about 7 pounds of fans (I'm not kidding)
Suse 7.1(god gnome is crappy compared to CDE)/win2000 based system