From 8876749ae036c501695ead6c1c8e6d45ec3ff423 Mon Sep 17 00:00:00 2001 From: Zane Kaminski Date: Wed, 15 Jul 2020 02:13:06 -0400 Subject: [PATCH] Enabling post-boot mode enables accRun --- rdisk.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rdisk.c b/rdisk.c index 415aafb..19b0b0e 100644 --- a/rdisk.c +++ b/rdisk.c @@ -420,8 +420,10 @@ OSErr RDiskControl(CntrlParamPtr p, DCtlPtr d) { case 24: // Return SCSI partition size *(long*)p->csParam = RDiskSize / 512; return noErr; - case 2351: // Enable post-boot mode - c->postBoot = 1; + case 2351: // Post-boot + c->postBoot = 1; // Enable post-boot mode + d->dCtlFlags |= dNeedTimeMask; // Enable accRun + d->dCtlDelay = 150; // Set accRun delay (150 ticks is 2.5 sec.) return noErr; default: return controlErr; }