mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-22 19:31:27 +00:00
Attempts to use the other bit of disk drive control, the 5.25"/3.5" select.
For the record, the ROM thinks it finds some Smartport devices and then attempts to talk to them. Since none is present, it blocks forever.
This commit is contained in:
parent
6d511f01a4
commit
a15af1df5e
Machines/Apple/AppleIIgs
OSBindings/Mac/Clock Signal.xcodeproj/xcshareddata/xcschemes
@ -470,11 +470,18 @@ class ConcreteMachine:
|
|||||||
iwm_->set_select(*value & 0x80);
|
iwm_->set_select(*value & 0x80);
|
||||||
|
|
||||||
// Presumably bit 6 selects between two 5.25" drives rather than the two 3.5"?
|
// Presumably bit 6 selects between two 5.25" drives rather than the two 3.5"?
|
||||||
|
if(*value & 0x40) {
|
||||||
|
iwm_->set_drive(0, &drives_[0]);
|
||||||
|
iwm_->set_drive(1, &drives_[1]);
|
||||||
|
} else {
|
||||||
|
// TODO: add 5.25" drives.
|
||||||
|
// (and any Smartport devices?)
|
||||||
|
iwm_->set_drive(0, nullptr);
|
||||||
|
iwm_->set_drive(1, nullptr);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
*value = disk_select_;
|
*value = disk_select_;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("TODO: Disk interface register [%d; %02x]\n", is_read, *value);
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
@ -62,7 +62,7 @@
|
|||||||
</Testables>
|
</Testables>
|
||||||
</TestAction>
|
</TestAction>
|
||||||
<LaunchAction
|
<LaunchAction
|
||||||
buildConfiguration = "Release"
|
buildConfiguration = "Debug"
|
||||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||||
enableASanStackUseAfterReturn = "YES"
|
enableASanStackUseAfterReturn = "YES"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user