Hi there,
I am currently writing a small dos tool that boots from a FreeDOS floppy
disk. During the initialization phase, I have to check if there is a
CDROM inserted with a particular file. But this has proven to be difficult!
If there is a CDROM present (that means loading of XCDROM and SHSUCDX
were successful) but there is no disk in the drive, processing of my
batch file stops with an error message and the usual "Abort, Retry,
Fail?". If I pick "Fail" here, complete havoc occurs (I didn't have the
time to find out if this is on behalf of FreeDOS or a result of
something in my batch file), and the screen fills with all kinds of
extended ascii chars, nicely accompanied by lots of BEEPs from my PC
speaker ;)
To cut a long story short: How can I check if there is a CDROM in the
drive without any user interaction? Everything that can be executed
under plain FreeDOS is okay, a short piece of asm code is okay, too. I
have Turbo Pascal 7 as well, if that helps :)
Any suggestion will be helpful, thanks in advance!
Best regards,
Andre
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user