Page 1 of 1
ejecting tray
Posted: Wed Aug 01, 2007 1:22 am
by evildragon
Um, how do you eject the CD-Tray, from a program?
I'm writing a Sega CD program that enhances the CD-Player interface with even more customizable features (including an experimental CD-Text, which I doubt will even work), but I'll be damned if I can figure out the code to actually eject the boot CD! pushing Reset only obviously reboots the console...
(i know the drive on the SCD wasn't designed for CD-Text, but I have an idea that might make it read the data, atleast try too)
Posted: Wed Aug 01, 2007 4:16 pm
by TmEE co.(TM)
I'm pretty sure you can't do it in software...
Posted: Wed Aug 01, 2007 4:48 pm
by Stef
TmEE co.(TM) wrote:I'm pretty sure you can't do it in software...
You can, at least there is a CDD command for it : $0D00
Send it to the CDD and it opens the tray (if you have a tray of course).
command $0C00 does close it

Posted: Wed Aug 01, 2007 6:22 pm
by evildragon
Stef wrote:TmEE co.(TM) wrote:I'm pretty sure you can't do it in software...
You can, at least there is a CDD command for it : $0D00
Send it to the CDD and it opens the tray (if you have a tray of course).
command $0C00 does close it

great, thanks! i knew there was a way to do this, because the BIOS does it..
Re: ejecting tray
Posted: Wed Aug 01, 2007 6:59 pm
by TascoDLX
evildragon wrote:Um, how do you eject the CD-Tray, from a program?
DRVOPEN : CDBIOS function $000A
evildragon wrote:(i know the drive on the SCD wasn't designed for CD-Text, but I have an idea that might make it read the data, atleast try too)
For proper CD-Text support, you need to be able to read subcode data from the lead-in area. You can use negative sector numbers for the CDBIOS READ functions but that's not to say it works. In any case, you likely can't go any farther than -148 (CDBIOS limitation).
Posted: Tue Aug 14, 2007 1:28 pm
by evildragon
I just got done trying all sorts of ways to make the Sega CD read CD-Text..
It won't work, no matter how hard I tried.. Oh well...
Posted: Fri Jun 05, 2009 2:42 am
by RamiroR
Stef wrote:TmEE co.(TM) wrote:I'm pretty sure you can't do it in software...
You can, at least there is a CDD command for it : $0D00
Send it to the CDD and it opens the tray (if you have a tray of course).
command $0C00 does close it

Hmm, do you have more of those commands? =P I know I should just use the BIOS, but I just want to play a bit with it
