Sync source edition with VCC Plus 3.7.0 build 63
This commit is contained in:
1 parent
c652a5276d
commit
b2ecec4d87
86 files changed
+10519
-472
No files matched your search
@@ -62,7 +62,7 @@ struct DiskControlsView: View {
|
||||
SecondaryCard {
|
||||
VStack(alignment: .leading, spacing: 10) {
|
||||
Label("Choose a disk ROM to enable the FD-502 controller", systemImage: "info.circle")
|
||||
SecondaryAction(title: "Choose Disk ROM…", systemImage: "folder", action: machine.openDiskROM).disabled(machine.diskBusy)
|
||||
SecondaryAction(title: "Choose Disk ROM…", systemImage: "folder", action: machine.openDiskROM)
|
||||
}
|
||||
}
|
||||
} else if !machine.diskConnected {
|
||||
@@ -86,7 +86,6 @@ struct DiskControlsView: View {
|
||||
}
|
||||
Spacer()
|
||||
SecondaryAction(title: machine.diskEnabled ? "Change Disk ROM…" : "Choose Disk ROM…", systemImage: "folder", action: machine.openDiskROM)
|
||||
.disabled(machine.diskBusy)
|
||||
}
|
||||
if machine.diskEnabled {
|
||||
HStack {
|
||||
@@ -99,7 +98,7 @@ struct DiskControlsView: View {
|
||||
}
|
||||
}.font(.caption).foregroundStyle(.secondary)
|
||||
SecondaryAction(title: "Disable Controller…", systemImage: "minus.circle", action: machine.disableDisks)
|
||||
.disabled(machine.dirtyDisks || machine.diskBusy)
|
||||
.disabled(machine.dirtyDisks)
|
||||
.accessibilityLabel("Disable floppy controller")
|
||||
Text("Disabling ejects all four disks and cold-restarts the CoCo. Save or discard pending changes first.")
|
||||
.font(.caption).foregroundStyle(.secondary).fixedSize(horizontal: false, vertical: true)
|
||||
@@ -194,7 +193,10 @@ private struct DiskDriveRow: View {
|
||||
.sheet(item: $copySource) { source in
|
||||
VCCDriveWireTransferView(machine: machine, drive: index, sourceName: source.name, sourceEpoch: source.epoch)
|
||||
}
|
||||
.disabled(machine.diskBusy)
|
||||
// Guest sector transfers change busy many times per second. Keep browsing,
|
||||
// menus and controls stable; commands recheck controller idleness on its
|
||||
// serialized worker before changing media. Host-save/editor locks above
|
||||
// and each disk's unsaved/protection guards still disable unsafe actions.
|
||||
}
|
||||
private var newDiskMenu: some View {
|
||||
Menu {
|
||||
|
||||
Reference in new issue
Block a user