Boot program in assembly...

This is a discussion on Boot program in assembly... within the Tech Board forums, part of the Community Boards category; Hey there, im Galo, im new here on the board i have some programming experience and im studying assembly right ...

  1. #1
    They are out there! Galo's Avatar
    Join Date
    May 2005
    Location
    Holland
    Posts
    13

    Boot program in assembly...

    Hey there, im Galo, im new here on the board i have some programming experience and im studying assembly right now.

    Since there is no assembly forum here i decided to post it at the c++ forum.

    what i needed to know was, does anyone knows the BIOS Interupt port for the cdRom, i know 10H is the video interupt and i looked on google but could not find anything....

    edit : hey i found a thread with the following message in it : If you want to get into compiler design check out the red dragon book, do a search on this board for other books, or *gasp* try google.

    Im lookin for this book for a while now, the only prper link i found whas http://www.jargon.net/jargonfile/d/DragonBook.html which does not give me any decent info on the book, is there a version of this book online that anyone knows, does anyone has this book in pdf format ?

    i looked in the local bookstore here but they dont have it in theire register, does anyone has an ISBN number or anything i need this baby....

    thanks in advance,
    Galo
    Last edited by Galo; 05-05-2005 at 05:03 AM.
    "If We Are Alone in the Universe,
    Then It Is an Awful Waste of Space
    "
    -Carl sagan

  2. #2
    Registered User dan20n's Avatar
    Join Date
    Jan 2005
    Posts
    24
    1st line of text in your link "ISBN 0-201-10088-6", if you actually read it seems theres more then one 'Dragon Book'.
    Meg: Everybody! Guess what I am?
    Stewie: Hm, the end result of a drunken back-seat grope-fest and a broken prophylactic?

  3. #3
    They are out there! Galo's Avatar
    Join Date
    May 2005
    Location
    Holland
    Posts
    13
    OMG, how stupid am i :-) thanks totaly looked over that.... my bad
    "If We Are Alone in the Universe,
    Then It Is an Awful Waste of Space
    "
    -Carl sagan

  4. #4
    Registered User
    Join Date
    Jan 2005
    Posts
    847
    Quote Originally Posted by Galo
    Hey there, im Galo, im new here on the board i

    what i needed to know was, does anyone knows the BIOS Interupt port for the cdRom, i know 10H is the video interupt and i looked on google but could not find anything....
    Did you check Ralph Brown's Interrupt List

  5. #5
    hacker in training AdamLAN's Avatar
    Join Date
    Sep 2004
    Posts
    56
    I recommend "The Art of Assembly Language". Sorry, i don't have a link to it, a google search should work

  6. #6
    www.entropysink.com
    Join Date
    Feb 2002
    Posts
    605
    Visit entropysink.com - It's what your PC is made for!

  7. #7
    They are out there! Galo's Avatar
    Join Date
    May 2005
    Location
    Holland
    Posts
    13
    Quote Originally Posted by Quantum1024
    Thanks, this was exactly what i was looking for.


    I recommend "The Art of Assembly Language". Sorry, i don't have a link to it, a google search should work
    I have the books but they dont come with these lists...

    Thanks again ppl..
    Galo
    "If We Are Alone in the Universe,
    Then It Is an Awful Waste of Space
    "
    -Carl sagan

  8. #8
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,584
    int 2Fh is where the CD-ROM driver usually hooks itself. The multi-plex 2Fh interrupt is used for all types of other devices as well. Also if you are not in pure DOS I would not count on any type of assembly code that attempts to use a CD-ROM driver on int 2Fh working correctly.

  9. #9
    They are out there! Galo's Avatar
    Join Date
    May 2005
    Location
    Holland
    Posts
    13
    Quote Originally Posted by Bubba
    int 2Fh is where the CD-ROM driver usually hooks itself. The multi-plex 2Fh interrupt is used for all types of other devices as well. Also if you are not in pure DOS I would not count on any type of assembly code that attempts to use a CD-ROM driver on int 2Fh working correctly.
    Cool but what about a boot program that sits on a cdrom.... is it say posible to address the CDRom interupt from the CdRom it'sself just like when you install Windows/Linux f.e.

    Or sould one address the BOIS Interupts for that cause since there would ne OS installed, not even DOS.

    btw otherwise you would have to provide the drivers for that on the cdrom as well no ?
    "If We Are Alone in the Universe,
    Then It Is an Awful Waste of Space
    "
    -Carl sagan

  10. #10
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,255
    Bootable CD-ROMs, eh? Sounds like you're gonna be in for some fun...

    Simply put, when you initially boot a computer there is NO CD-ROM driver or anything like that. The way bootable CD-ROMs work is that they either utilise a special function of the BIOS (known as ATAPI Floppy Disk emulation) or, in the case of Windows, immediately install their own CD-ROM driver.

    Most people choose to use floppy disk emulation because it's an awful lot easier to work with: the BIOS "pretends" that part of your CD-ROM is a floppy disk and treats it as such. You can write a boot sector just like you would on a floppy disk and it works fine. You can put DOS in the disk area and load MSCDEX, that would give you full access to the CD, but the floppy disk emulation will still be running, which can be awkward with certain programs.

    Of course, you can just ignore all that and install your own driver. This will mean that all that will happen on boot is the boot sector of the CD being read; the computer won't know anything else about the disc and you won't be able to go any further with it until you tell it to e.g. scan the IDE interface for attached drives, find the CD-ROM drive, communicate directly with it, etc.

    Needless to say, one's very easy and the other's very hard. It's up to you if you want the challenge.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help with my program...
    By Noah in forum C Programming
    Replies: 2
    Last Post: 03-11-2006, 06:49 PM
  2. my server program auto shut down
    By hanhao in forum Networking/Device Communication
    Replies: 1
    Last Post: 03-13-2004, 09:49 PM
  3. insufficient memory for tsr
    By manmohan in forum C Programming
    Replies: 8
    Last Post: 01-02-2004, 08:48 AM
  4. bubble sort in assembly language!!!!!!
    By lorenzohhh in forum C++ Programming
    Replies: 1
    Last Post: 04-15-2002, 08:30 PM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21