mirror of
https://github.com/garrettsworkshop/MacIIROMDiskDriver.git
synced 2025-01-13 11:30:03 +00:00
Accept just "A" to boot from ROM disk allocated in RAM
This commit is contained in:
parent
b30abc4091
commit
a42a08597a
Binary file not shown.
BIN
bin/rom8M.bin
BIN
bin/rom8M.bin
Binary file not shown.
4
rdisk.c
4
rdisk.c
@ -14,9 +14,9 @@ static void RDDecodeSettings(Ptr unmountEN, Ptr mountEN, Ptr ramEN, Ptr dbgEN, P
|
||||
char r = 0, a = 0;
|
||||
long tmax = TickCount() + 60;
|
||||
for (long i = 0; i < 1000000; i++) {
|
||||
r |= RDiskIsRPressed();
|
||||
a |= RDiskIsAPressed();
|
||||
if (r && a) { break; }
|
||||
r |= RDiskIsRPressed() | a;
|
||||
if (r) { break; }
|
||||
if (TickCount() > tmax) { break; }
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user