From: Nigel P. <ni...@in...> - 2003-01-16 00:35:40
|
I am working on the CDROM parts of sys_unix.cpp for Mac OS X, but haven't gotten them to work yet. Annoyingly, Apple has different IOCTLs to FreeBSD and NetBSD. The strange thing is that the DEBUG results I am getting are = similar, but slightly different to, the Linux ones: 7.1 install disk on Intel Linux: ... CDROMOpen DrvSts at 00003f08 TOC: 00140101 00140100 Lead-Out M 9 S 10 F 65 HFS partition found at 65536, 156270 blocks adding drive 2 Same CD on OS X: ... CDROMOpen DrvSts at 00003e00 ioctl(DKIOCCDREADTOC) read 20 bytes TOC: 00120101 00140100 Lead-Out M 0 S 160 F 205 Looking for HFS partitions on CD-ROM... block 0, signature '=00=B7' (00ff) block 1, signature '=00=00' (0000) ... Note that the second byte of the TOC differs. Any ideas? -- | Nigel Pearson, ni...@in... | "People say I'm strange,=20 does it | Telstra BI&D, Sydney, Australia | make me a stranger? | Office: 8255 4222 Fax: 8255 3153 | My best friend was born | Mobile: 0408 664435 Home: 9792 6998 | in a manger" -DC=20= Talk |