anyone know how to use the fcb?

Sharky Forums


Results 1 to 7 of 7

Thread: anyone know how to use the fcb?

  1. #1
    Goldfish
    Join Date
    Nov 2000
    Location
    phx, az
    Posts
    50

    Question anyone know how to use the fcb?

    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
    --obligatory pc specs--
    Abit KT7 RAID
    700 MHz Tbird
    256 MB PC133 cheese
    gainward geforce 3

  2. #2
    Tiger Shark
    Join Date
    Feb 2001
    Location
    Satan Country
    Posts
    564

    Post

    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
    I'm half Scottish and half French.

    I surrender to alcohol.

  3. #3
    Goldfish
    Join Date
    Nov 2000
    Location
    phx, az
    Posts
    50

    Question

    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
    --obligatory pc specs--
    Abit KT7 RAID
    700 MHz Tbird
    256 MB PC133 cheese
    gainward geforce 3

  4. #4
    Tiger Shark
    Join Date
    Feb 2001
    Location
    Satan Country
    Posts
    564

    Post

    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
    I'm half Scottish and half French.

    I surrender to alcohol.

  5. #5
    Tiger Shark
    Join Date
    Feb 2001
    Location
    Satan Country
    Posts
    564

    Post

    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
    I'm half Scottish and half French.

    I surrender to alcohol.

  6. #6
    Goldfish
    Join Date
    Nov 2000
    Location
    phx, az
    Posts
    50

    Post

    and idea on how i could use it to find the length of a file?
    thanks for all of your help man
    --obligatory pc specs--
    Abit KT7 RAID
    700 MHz Tbird
    256 MB PC133 cheese
    gainward geforce 3

  7. #7
    Tiger Shark
    Join Date
    Feb 2001
    Location
    Satan Country
    Posts
    564

    Post

    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
    I'm half Scottish and half French.

    I surrender to alcohol.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •