if you care at all, here is some funny C code for linux. run it...i think its funny. the last system call does the....well, just run it.
/*
*** Mixter Security - SECURITY ADVISORY ***
For immediate release:
RETARD Remove Vulnerability
Description: retard is a user 'program' that does absolutely
nothing besides being retarded. it is very
vulnerable to corrupted remote data known as "shiznit".
Impact: retard v1.0 will accept and execute any "shiznit" data
sent by an remote attacker, which makes it vulnerable to
remote compromise, possibly including physical damage.
Solution: immediately terminate retard v1.0, by executing it using
gun.c. alternatively, retard may also be firewalled by
porting it to a secure environment known as 'madhouse OS'.
Exploit: note: this exploit contains complex shellcode computed
by hax0r science and math professors for 20 years. compile
this exploit, execute it, and get the retard to interact
with the program on the console. if the exploit succeeded,
you might want to call ambulance.sh or firstaid.pl.
*/
int
main (void)
{
puts ("Retard remote brain overflow exploit v1.0...");
system ("\x65\x6a\x65\x63\x74");
puts ("\x49\x66\x20\x74\x68\x65\x72\x65\x20\x69\x73\x20\x61\x20\x43\x44\x20\x69"
"\x6e\x20\x74\x68\x65\x20\x74\x72\x61\x79\x2c\x20\x70\x6c\x65\x61\x73\x65"
"\x20\x72\x65\x6d\x6f\x76\x65\x20\x69\x74\x2e\x0a\x4e\x6f\x77\x20\x70\x75"
"\x74\x20\x79\x6f\x75\x72\x20\x6c\x69\x74\x74\x6c\x65\x20\x66\x69\x6e\x67"
"\x65\x72\x20\x69\x6e\x20\x74\x68\x65\x20\x68\x6f\x6c\x65\x20\x6f\x66\x20"
"\x74\x68\x65\x20\x43\x44\x20\x74\x72\x61\x79\x20\x6f\x66\x20\x79\x6f\x75"
"\x72\x20\x43\x44\x20\x52\x4f\x4d\x20\x64\x72\x69\x76\x65\x0a\x48\x69\x74"
"\x20\x65\x6e\x74\x65\x72\x20\x77\x68\x65\x6e\x20\x79\x6f\x75\x72\x20\x66"
"\x69\x6e\x67\x65\x72\x20\x69\x73\x20\x69\x6e\x20\x74\x68\x65\x20\x68\x6f"
"\x6c\x65\x2e\x2e\x2e");
getchar ();
puts ("\x41\x72\x65\x20\x79\x6f\x75\x20\x31\x30\x30\x25\x20\x73\x75\x72\x65\x20"
"\x79\x6f\x75\x72\x20\x66\x69\x6e\x67\x65\x72\x20\x69\x73\x20\x69\x6e\x20"
"\x74\x68\x65\x20\x68\x6f\x6c\x65\x20\x6f\x66\x20\x74\x68\x65\x20\x43\x44"
"\x20\x54\x72\x61\x79\x3f\x3f\x3f");
getchar ();
puts ("Exploiting retard, standby...");
puts ("\x1b\x5b\x33\x30\x3b\x33\x31\x6d\x1b\x5b\x35\x6d\x57\x48\x41\x54\x45\x56"
"\x45\x52\x20\x48\x41\x50\x50\x45\x4e\x53\x20\x4e\x4f\x57\x2c\x20\x44\x4f"
"\x4e\x54\x20\x52\x45\x4d\x4f\x56\x45\x20\x59\x4f\x55\x52\x20\x46\x49\x4e"
"\x47\x45\x52\x21\x1b\x5b\x30\x6d");
system ("\x63\x64\x70\x6c\x61\x79");
return !1337;
}
also, for more linux cd-rom stuff (i know you asked for dos, but maybe this will help you in the long run), check out
http://leapster.org/linux/cdrom/node1.html#SECTION00100000000000000000 It discusses CD Audio and volume controls and playing, pausing, and stopping CDs through C code in Linux. enjoy.