Thread: Cd-rom

  1. #1
    Registered User Unimatrix139's Avatar
    Join Date
    Jun 2002


    I'm attempting to add an autorun-style feature to my text-based OE. Basically, while it's waiting for character to be typed it'll call a subroutine that checks for autorun.inf on drive D: (or whatever) every second or so. However, if there is no CD in the drive DOS will helpfully inform me that nothing's in there (Abort, retry, fail stuff). Is there any way of checking to see if a CD is in the drive before actually attempting to access the disc?
    Kree'ta Tau'ri! Chaapa'ai!

  2. #2
    Registered User
    Join Date
    Nov 2001
    I need to check some docs, but Im very sure theres some INT's that'll do it, Ill check right now...

    :: Edit ::
    I didnt find any INT's DOS/BIOS at all but that was a quick search, check there for a good complete INT list.
    Last edited by KrAzY CrAb; 02-13-2003 at 03:57 PM.
    "...since anyone who is anyone knows C..." -Peter Cellik

  3. #3
    Registered User Unimatrix139's Avatar
    Join Date
    Jun 2002
    Thanks KrAzY CrAb I'll check it out
    Kree'ta Tau'ri! Chaapa'ai!

  4. #4
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    I believe it is interrupt 2Fh but I'm not positive. Look it up on google because this is where I found my info at. I'm not on my system right now so I don't have access to my files or I could tell you much more.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. HUGE fps jump
    By DavidP in forum Game Programming
    Replies: 23
    Last Post: 07-01-2004, 10:36 AM
  2. CD rom troubles...
    By Shadow in forum A Brief History of
    Replies: 5
    Last Post: 11-08-2003, 10:56 PM
  3. MFC library on cd rom???
    By terranc in forum A Brief History of
    Replies: 1
    Last Post: 12-24-2002, 10:04 PM
  4. Nero CD recording take long time
    By Eagle16 in forum A Brief History of
    Replies: 34
    Last Post: 11-15-2002, 05:49 PM
  5. CD Recording error
    By Shadow in forum Tech Board
    Replies: 17
    Last Post: 10-29-2002, 05:39 PM