Remove debug and CDROM disable stuff in prime routine

This commit is contained in:
Zane Kaminski 2021-03-31 20:11:45 -04:00
parent e70abd2ce5
commit 3e519016ac
3 changed files with 0 additions and 11 deletions

Binary file not shown.

Binary file not shown.

11
rdisk.c
View File

@ -210,17 +210,6 @@ OSErr RDPrime(IOParamPtr p, DCtlPtr d) {
// Read from disk into buffer.
if (*MMU32bit) { BlockMove(disk, p->ioBuffer, p->ioReqCount); }
else { copy24(disk, StripAddress(p->ioBuffer), p->ioReqCount); }
if (/*!c->dbgEN && */!c->ramdisk &&
*RDiskDBGDisPos >= d->dCtlPosition &&
*RDiskDBGDisPos < d->dCtlPosition + p->ioReqCount) {
//p->ioBuffer[*RDiskDBGDisPos - d->dCtlPosition] = 0x44;//*RDiskDBGDisByte;
}
if (/*!c->cdromEN && */!c->ramdisk &&
*RDiskCDROMDisPos >= d->dCtlPosition &&
*RDiskCDROMDisPos < d->dCtlPosition + p->ioReqCount) {
//p->ioBuffer[*RDiskCDROMDisPos - d->dCtlPosition] = 0x44;//*RDiskCDROMDisByte;
}
} else if (cmd == aWrCmd) { // Write
// Fail if write protected or RAM disk buffer not set up
if (c->status.writeProt || !c->ramdisk) { return wPrErr; }