mirror of
https://github.com/garrettsworkshop/MacIIROMDiskDriver.git
synced 2024-11-21 12:30:49 +00:00
Remove debug and CDROM disable stuff in prime routine
This commit is contained in:
parent
e70abd2ce5
commit
3e519016ac
Binary file not shown.
BIN
bin/rom8M.bin
BIN
bin/rom8M.bin
Binary file not shown.
11
rdisk.c
11
rdisk.c
@ -210,17 +210,6 @@ OSErr RDPrime(IOParamPtr p, DCtlPtr d) {
|
|||||||
// Read from disk into buffer.
|
// Read from disk into buffer.
|
||||||
if (*MMU32bit) { BlockMove(disk, p->ioBuffer, p->ioReqCount); }
|
if (*MMU32bit) { BlockMove(disk, p->ioBuffer, p->ioReqCount); }
|
||||||
else { copy24(disk, StripAddress(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
|
} else if (cmd == aWrCmd) { // Write
|
||||||
// Fail if write protected or RAM disk buffer not set up
|
// Fail if write protected or RAM disk buffer not set up
|
||||||
if (c->status.writeProt || !c->ramdisk) { return wPrErr; }
|
if (c->status.writeProt || !c->ramdisk) { return wPrErr; }
|
||||||
|
Loading…
Reference in New Issue
Block a user