ejecting tray
Moderator: Mask of Destiny
-
- Very interested
- Posts: 326
- Joined: Mon Mar 12, 2007 1:53 am
- Contact:
ejecting tray
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)
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)
-
- Very interested
- Posts: 2440
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
I'm pretty sure you can't do it in software...
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Very interested
- Posts: 326
- Joined: Mon Mar 12, 2007 1:53 am
- Contact:
great, thanks! i knew there was a way to do this, because the BIOS does it..Stef wrote:You can, at least there is a CDD command for it : $0D00TmEE co.(TM) wrote:I'm pretty sure you can't do it in software...
Send it to the CDD and it opens the tray (if you have a tray of course).
command $0C00 does close it
Re: ejecting tray
DRVOPEN : CDBIOS function $000Aevildragon wrote:Um, how do you eject the CD-Tray, from a program?
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).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)
-
- Very interested
- Posts: 326
- Joined: Mon Mar 12, 2007 1:53 am
- Contact:
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 itStef wrote:You can, at least there is a CDD command for it : $0D00TmEE co.(TM) wrote:I'm pretty sure you can't do it in software...
Send it to the CDD and it opens the tray (if you have a tray of course).
command $0C00 does close it