if (cdr.OCUP)
cdr.Ctrl |= 0x40;
if (cdr.OCUP)
cdr.Ctrl |= 0x40;
- else
- cdr.Ctrl &= ~0x40;
+// else
+// cdr.Ctrl &= ~0x40;
// What means the 0x10 and the 0x08 bits? I only saw it used by the bios
cdr.Ctrl |= 0x18;
// What means the 0x10 and the 0x08 bits? I only saw it used by the bios
cdr.Ctrl |= 0x18;
unsigned char ret;
if (cdr.Readed == 0) {
unsigned char ret;
if (cdr.Readed == 0) {
ret = 0;
} else {
ret = *pTransfer++;
ret = 0;
} else {
ret = *pTransfer++;