diff --git a/A2Mac.xcodeproj/project.pbxproj b/A2Mac.xcodeproj/project.pbxproj
index 2b8f24a..3dc8194 100644
--- a/A2Mac.xcodeproj/project.pbxproj
+++ b/A2Mac.xcodeproj/project.pbxproj
@@ -8,8 +8,8 @@
/* Begin PBXBuildFile section */
32089E4924556DBD0036E667 /* PRNumber3.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 32089E4724556DBD0036E667 /* PRNumber3.ttf */; };
- 320B3FC424AD88B0005EA133 /* power.png in Resources */ = {isa = PBXBuildFile; fileRef = 320B3FC324AD88B0005EA133 /* power.png */; };
- 320B4FC124B182DE00070038 /* Apple Disk II.png in Resources */ = {isa = PBXBuildFile; fileRef = 320B4FC024B182DD00070038 /* Apple Disk II.png */; };
+ 320B3FC424AD88B0005EA133 /* power.png in Copy Image Files */ = {isa = PBXBuildFile; fileRef = 320B3FC324AD88B0005EA133 /* power.png */; };
+ 320B4FC124B182DE00070038 /* Apple Disk II.png in Copy Image Files */ = {isa = PBXBuildFile; fileRef = 320B4FC024B182DD00070038 /* Apple Disk II.png */; };
3213936624079C30007F5C4A /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 32BFFB6022EACC660003B53F /* Main.storyboard */; };
323D042E248980600086A901 /* Preferences.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 323D042D248980600086A901 /* Preferences.storyboard */; };
323D043024898AB70086A901 /* PreferencesViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 323D042F24898AB70086A901 /* PreferencesViewController.swift */; };
@@ -20,7 +20,7 @@
323E2DD1245531E600156805 /* Apple2e.rom in Resources */ = {isa = PBXBuildFile; fileRef = 323E2DCD245531E500156805 /* Apple2e.rom */; };
32440B85247E27D7000F9DA1 /* 6502.c in Sources */ = {isa = PBXBuildFile; fileRef = 32439F7422ECD8AD0077AAE0 /* 6502.c */; };
32440BA32480D5C0000F9DA1 /* LoRes.swift in Sources */ = {isa = PBXBuildFile; fileRef = 32440BA22480D5C0000F9DA1 /* LoRes.swift */; };
- 324D15D324ADAC71008AAFB0 /* floppy.png in Resources */ = {isa = PBXBuildFile; fileRef = 324D15D224ADAC71008AAFB0 /* floppy.png */; };
+ 324D15D324ADAC71008AAFB0 /* floppy.png in Copy Image Files */ = {isa = PBXBuildFile; fileRef = 324D15D224ADAC71008AAFB0 /* floppy.png */; };
325DC40E24AC5ABC00EB8858 /* doc.on.doc.png in Copy Image Files */ = {isa = PBXBuildFile; fileRef = 325DC40D24AC5ABC00EB8858 /* doc.on.doc.png */; };
325DC41024AC691B00EB8858 /* rgb_color.png in Copy Image Files */ = {isa = PBXBuildFile; fileRef = 325DC40F24AC691B00EB8858 /* rgb_color.png */; };
325DC41324AC692D00EB8858 /* rgb_mono.png in Copy Image Files */ = {isa = PBXBuildFile; fileRef = 325DC41124AC692D00EB8858 /* rgb_mono.png */; };
@@ -57,14 +57,12 @@
325EB6A82401118300C6B4A4 /* ProDOS_402_System.woz in Resources */ = {isa = PBXBuildFile; fileRef = 325EB6992401118200C6B4A4 /* ProDOS_402_System.woz */; };
325EB6AA2401118300C6B4A4 /* Sneakers.woz in Resources */ = {isa = PBXBuildFile; fileRef = 325EB69A2401118300C6B4A4 /* Sneakers.woz */; };
325EB6AC2401118300C6B4A4 /* Xonix.woz in Resources */ = {isa = PBXBuildFile; fileRef = 325EB69B2401118300C6B4A4 /* Xonix.woz */; };
- 326B56E524AD8E89009BA0AC /* gobackward.png in Resources */ = {isa = PBXBuildFile; fileRef = 326B56E424AD8E89009BA0AC /* gobackward.png */; };
- 326B56E724AD906D009BA0AC /* doc.text.viewfinder.png in Resources */ = {isa = PBXBuildFile; fileRef = 326B56E624AD906D009BA0AC /* doc.text.viewfinder.png */; };
- 32877F8D24ADA6AF003A940D /* joystick.png in Resources */ = {isa = PBXBuildFile; fileRef = 32877F8C24ADA6AF003A940D /* joystick.png */; };
- 3296223224A6622C002DEB78 /* apple_original_logo_design.png in Resources */ = {isa = PBXBuildFile; fileRef = 3296223124A6622C002DEB78 /* apple_original_logo_design.png */; };
- 3296223424A709CE002DEB78 /* disk_ii_motor_w_floppy.sfx in Resources */ = {isa = PBXBuildFile; fileRef = 3296223324A709CE002DEB78 /* disk_ii_motor_w_floppy.sfx */; };
+ 326B56E524AD8E89009BA0AC /* gobackward.png in Copy Image Files */ = {isa = PBXBuildFile; fileRef = 326B56E424AD8E89009BA0AC /* gobackward.png */; };
+ 326B56E724AD906D009BA0AC /* doc.text.viewfinder.png in Copy Image Files */ = {isa = PBXBuildFile; fileRef = 326B56E624AD906D009BA0AC /* doc.text.viewfinder.png */; };
+ 32877F8D24ADA6AF003A940D /* joystick.png in Copy Image Files */ = {isa = PBXBuildFile; fileRef = 32877F8C24ADA6AF003A940D /* joystick.png */; };
+ 3296223224A6622C002DEB78 /* apple_original_logo_design.png in Copy Image Files */ = {isa = PBXBuildFile; fileRef = 3296223124A6622C002DEB78 /* apple_original_logo_design.png */; };
3296223524A709CE002DEB78 /* disk_ii_motor_w_floppy.sfx in Resources */ = {isa = PBXBuildFile; fileRef = 3296223324A709CE002DEB78 /* disk_ii_motor_w_floppy.sfx */; };
3296223624A709EE002DEB78 /* disk_ii_motor_w_floppy.sfx in Copy SFX Files */ = {isa = PBXBuildFile; fileRef = 3296223324A709CE002DEB78 /* disk_ii_motor_w_floppy.sfx */; };
- 3296223824A710CD002DEB78 /* disk_ii_io_error.sfx in Resources */ = {isa = PBXBuildFile; fileRef = 3296223724A710CD002DEB78 /* disk_ii_io_error.sfx */; };
3296223924A710CD002DEB78 /* disk_ii_io_error.sfx in Resources */ = {isa = PBXBuildFile; fileRef = 3296223724A710CD002DEB78 /* disk_ii_io_error.sfx */; };
3296223A24A710E5002DEB78 /* disk_ii_io_error.sfx in Copy SFX Files */ = {isa = PBXBuildFile; fileRef = 3296223724A710CD002DEB78 /* disk_ii_io_error.sfx */; };
32A9F74A2467B60B004902A1 /* speaker.c in Sources */ = {isa = PBXBuildFile; fileRef = 32A9F7492467B60B004902A1 /* speaker.c */; };
@@ -91,15 +89,14 @@
32C4532E233345430000EBA1 /* MonitorView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 32C4532D233345420000EBA1 /* MonitorView.swift */; };
32C4532F233345820000EBA1 /* MonitorView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 32C4532D233345420000EBA1 /* MonitorView.swift */; };
32C45330233345820000EBA1 /* MonitorView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 32C4532D233345420000EBA1 /* MonitorView.swift */; };
- 32E3126524A7193700E61891 /* disk_ii_arm.sfx in Resources */ = {isa = PBXBuildFile; fileRef = 32E3126424A7193700E61891 /* disk_ii_arm.sfx */; };
32E3126624A7193700E61891 /* disk_ii_arm.sfx in Resources */ = {isa = PBXBuildFile; fileRef = 32E3126424A7193700E61891 /* disk_ii_arm.sfx */; };
32E3126724A7194900E61891 /* disk_ii_arm.sfx in Copy SFX Files */ = {isa = PBXBuildFile; fileRef = 32E3126424A7193700E61891 /* disk_ii_arm.sfx */; };
32E3126924A98B9300E61891 /* dsk2woz.c in Sources */ = {isa = PBXBuildFile; fileRef = 32E3126824A98B9300E61891 /* dsk2woz.c */; };
32E3126A24A98B9300E61891 /* dsk2woz.c in Sources */ = {isa = PBXBuildFile; fileRef = 32E3126824A98B9300E61891 /* dsk2woz.c */; };
32E3126D24AC033A00E61891 /* ToolBarController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 32E3126C24AC033A00E61891 /* ToolBarController.swift */; };
32E3127424AC0B2E00E61891 /* doc.on.clipboard.png in Copy Image Files */ = {isa = PBXBuildFile; fileRef = 32E3127224AC0AC400E61891 /* doc.on.clipboard.png */; };
- 32F04B0E24B189D4006B5ECB /* Apple Disk II D1 Open.png in Resources */ = {isa = PBXBuildFile; fileRef = 32F04B0C24B189D3006B5ECB /* Apple Disk II D1 Open.png */; };
- 32F04B0F24B189D4006B5ECB /* Apple Disk II D2 Open.png in Resources */ = {isa = PBXBuildFile; fileRef = 32F04B0D24B189D4006B5ECB /* Apple Disk II D2 Open.png */; };
+ 32F04B0E24B189D4006B5ECB /* Apple Disk II D1 Open.png in Copy Image Files */ = {isa = PBXBuildFile; fileRef = 32F04B0C24B189D3006B5ECB /* Apple Disk II D1 Open.png */; };
+ 32F04B0F24B189D4006B5ECB /* Apple Disk II D2 Open.png in Copy Image Files */ = {isa = PBXBuildFile; fileRef = 32F04B0D24B189D4006B5ECB /* Apple Disk II D2 Open.png */; };
32F8A87C24A3A84300EE6735 /* PrintChar21.ttf in Copy Font Files */ = {isa = PBXBuildFile; fileRef = 325EB67B23FBD43800C6B4A4 /* PrintChar21.ttf */; };
32F8A87D24A3A84700EE6735 /* PRNumber3.ttf in Copy Font Files */ = {isa = PBXBuildFile; fileRef = 32089E4724556DBD0036E667 /* PRNumber3.ttf */; };
32F8A87F24A3A8A000EE6735 /* apple.rom in Copy ROM Images */ = {isa = PBXBuildFile; fileRef = 32439F8422ECD8AD0077AAE0 /* apple.rom */; };
@@ -258,9 +255,9 @@
dstPath = sfx;
dstSubfolderSpec = 7;
files = (
+ 3296223624A709EE002DEB78 /* disk_ii_motor_w_floppy.sfx in Copy SFX Files */,
32E3126724A7194900E61891 /* disk_ii_arm.sfx in Copy SFX Files */,
3296223A24A710E5002DEB78 /* disk_ii_io_error.sfx in Copy SFX Files */,
- 3296223624A709EE002DEB78 /* disk_ii_motor_w_floppy.sfx in Copy SFX Files */,
);
name = "Copy SFX Files";
runOnlyForDeploymentPostprocessing = 0;
@@ -271,6 +268,15 @@
dstPath = "";
dstSubfolderSpec = 7;
files = (
+ 32F04B0E24B189D4006B5ECB /* Apple Disk II D1 Open.png in Copy Image Files */,
+ 32F04B0F24B189D4006B5ECB /* Apple Disk II D2 Open.png in Copy Image Files */,
+ 320B3FC424AD88B0005EA133 /* power.png in Copy Image Files */,
+ 32877F8D24ADA6AF003A940D /* joystick.png in Copy Image Files */,
+ 3296223224A6622C002DEB78 /* apple_original_logo_design.png in Copy Image Files */,
+ 326B56E724AD906D009BA0AC /* doc.text.viewfinder.png in Copy Image Files */,
+ 324D15D324ADAC71008AAFB0 /* floppy.png in Copy Image Files */,
+ 326B56E524AD8E89009BA0AC /* gobackward.png in Copy Image Files */,
+ 320B4FC124B182DE00070038 /* Apple Disk II.png in Copy Image Files */,
32AF7C9724AD85E8002D82BF /* select_all.png in Copy Image Files */,
325DC41024AC691B00EB8858 /* rgb_color.png in Copy Image Files */,
325DC41324AC692D00EB8858 /* rgb_mono.png in Copy Image Files */,
@@ -1092,21 +1098,9 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
- 32F04B0E24B189D4006B5ECB /* Apple Disk II D1 Open.png in Resources */,
- 3296223424A709CE002DEB78 /* disk_ii_motor_w_floppy.sfx in Resources */,
- 320B3FC424AD88B0005EA133 /* power.png in Resources */,
- 32877F8D24ADA6AF003A940D /* joystick.png in Resources */,
- 3296223224A6622C002DEB78 /* apple_original_logo_design.png in Resources */,
3213936624079C30007F5C4A /* Main.storyboard in Resources */,
- 326B56E724AD906D009BA0AC /* doc.text.viewfinder.png in Resources */,
32BFFB5F22EACC660003B53F /* Assets.xcassets in Resources */,
- 324D15D324ADAC71008AAFB0 /* floppy.png in Resources */,
- 32F04B0F24B189D4006B5ECB /* Apple Disk II D2 Open.png in Resources */,
323D042E248980600086A901 /* Preferences.storyboard in Resources */,
- 326B56E524AD8E89009BA0AC /* gobackward.png in Resources */,
- 320B4FC124B182DE00070038 /* Apple Disk II.png in Resources */,
- 32E3126524A7193700E61891 /* disk_ii_arm.sfx in Resources */,
- 3296223824A710CD002DEB78 /* disk_ii_io_error.sfx in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -1187,12 +1181,11 @@
buildActionMask = 2147483647;
files = (
325EB63623F8F78300C6B4A4 /* disk.c in Sources */,
- 32E3126D24AC033A00E61891 /* ToolBarController.swift in Sources */,
325EB63923F9E48100C6B4A4 /* common.c in Sources */,
323D0437248B6BEA0086A901 /* 6502.c in Sources */,
- 32A9F74A2467B60B004902A1 /* speaker.c in Sources */,
32E3126924A98B9300E61891 /* dsk2woz.c in Sources */,
32BFFB5D22EACC630003B53F /* ViewController.swift in Sources */,
+ 32A9F74A2467B60B004902A1 /* speaker.c in Sources */,
325EB69323FE6C6200C6B4A4 /* HiRes.swift in Sources */,
32C4532E233345430000EBA1 /* MonitorView.swift in Sources */,
32440BA32480D5C0000F9DA1 /* LoRes.swift in Sources */,
@@ -1201,6 +1194,7 @@
32BFFB5B22EACC630003B53F /* AppDelegate.swift in Sources */,
32C45306232E3EEF0000EBA1 /* RepeatingTimer.swift in Sources */,
323D043024898AB70086A901 /* PreferencesViewController.swift in Sources */,
+ 32E3126D24AC033A00E61891 /* ToolBarController.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
diff --git a/A2Mac/Assets.xcassets/Amber.imageset/Contents.json b/A2Mac/Assets.xcassets/Amber.imageset/Contents.json
new file mode 100644
index 0000000..6bc56c2
--- /dev/null
+++ b/A2Mac/Assets.xcassets/Amber.imageset/Contents.json
@@ -0,0 +1,52 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "1x",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ]
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "amber.phosphor.png",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "amber.phosphor-1.png",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ]
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/A2Mac/Assets.xcassets/Amber.imageset/amber.phosphor-1.png b/A2Mac/Assets.xcassets/Amber.imageset/amber.phosphor-1.png
new file mode 100644
index 0000000..aac7fcd
Binary files /dev/null and b/A2Mac/Assets.xcassets/Amber.imageset/amber.phosphor-1.png differ
diff --git a/A2Mac/Assets.xcassets/Amber.imageset/amber.phosphor.png b/A2Mac/Assets.xcassets/Amber.imageset/amber.phosphor.png
new file mode 100644
index 0000000..ed6c6c6
Binary files /dev/null and b/A2Mac/Assets.xcassets/Amber.imageset/amber.phosphor.png differ
diff --git a/A2Mac/Assets.xcassets/Chip.imageset/Contents.json b/A2Mac/Assets.xcassets/Chip.imageset/Contents.json
new file mode 100644
index 0000000..ca7272f
--- /dev/null
+++ b/A2Mac/Assets.xcassets/Chip.imageset/Contents.json
@@ -0,0 +1,52 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "1x",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ]
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "chip.light.png",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "chip.dark.png",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ]
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/A2Mac/Assets.xcassets/Chip.imageset/chip.dark.png b/A2Mac/Assets.xcassets/Chip.imageset/chip.dark.png
new file mode 100644
index 0000000..8ae938d
Binary files /dev/null and b/A2Mac/Assets.xcassets/Chip.imageset/chip.dark.png differ
diff --git a/A2Mac/Assets.xcassets/Chip.imageset/chip.light.png b/A2Mac/Assets.xcassets/Chip.imageset/chip.light.png
new file mode 100644
index 0000000..24cd5c8
Binary files /dev/null and b/A2Mac/Assets.xcassets/Chip.imageset/chip.light.png differ
diff --git a/A2Mac/Assets.xcassets/Color.imageset/Contents.json b/A2Mac/Assets.xcassets/Color.imageset/Contents.json
new file mode 100644
index 0000000..378fc5b
--- /dev/null
+++ b/A2Mac/Assets.xcassets/Color.imageset/Contents.json
@@ -0,0 +1,52 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "1x",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ]
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "color.light.png",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "color.dark.png",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ]
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/A2Mac/Assets.xcassets/Color.imageset/color.dark.png b/A2Mac/Assets.xcassets/Color.imageset/color.dark.png
new file mode 100644
index 0000000..7dc7989
Binary files /dev/null and b/A2Mac/Assets.xcassets/Color.imageset/color.dark.png differ
diff --git a/A2Mac/Assets.xcassets/Color.imageset/color.light.png b/A2Mac/Assets.xcassets/Color.imageset/color.light.png
new file mode 100644
index 0000000..ecd30f0
Binary files /dev/null and b/A2Mac/Assets.xcassets/Color.imageset/color.light.png differ
diff --git a/A2Mac/Assets.xcassets/Copy.imageset/Contents.json b/A2Mac/Assets.xcassets/Copy.imageset/Contents.json
new file mode 100644
index 0000000..9fe271e
--- /dev/null
+++ b/A2Mac/Assets.xcassets/Copy.imageset/Contents.json
@@ -0,0 +1,52 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "1x",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ]
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "doc.on.doc.light.png",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "doc.on.doc.dark.png",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ]
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/A2Mac/Assets.xcassets/Copy.imageset/doc.on.doc.dark.png b/A2Mac/Assets.xcassets/Copy.imageset/doc.on.doc.dark.png
new file mode 100644
index 0000000..eba83ec
Binary files /dev/null and b/A2Mac/Assets.xcassets/Copy.imageset/doc.on.doc.dark.png differ
diff --git a/A2Mac/Assets.xcassets/Copy.imageset/doc.on.doc.light.png b/A2Mac/Assets.xcassets/Copy.imageset/doc.on.doc.light.png
new file mode 100644
index 0000000..7e574e3
Binary files /dev/null and b/A2Mac/Assets.xcassets/Copy.imageset/doc.on.doc.light.png differ
diff --git a/A2Mac/Assets.xcassets/Green.imageset/Contents.json b/A2Mac/Assets.xcassets/Green.imageset/Contents.json
new file mode 100644
index 0000000..4306280
--- /dev/null
+++ b/A2Mac/Assets.xcassets/Green.imageset/Contents.json
@@ -0,0 +1,52 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "1x",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ]
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "color.light.png",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "green.phosphor.dark.png",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ]
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/A2Mac/Assets.xcassets/Green.imageset/color.light.png b/A2Mac/Assets.xcassets/Green.imageset/color.light.png
new file mode 100644
index 0000000..0ca6108
Binary files /dev/null and b/A2Mac/Assets.xcassets/Green.imageset/color.light.png differ
diff --git a/A2Mac/Assets.xcassets/Green.imageset/green.phosphor.dark.png b/A2Mac/Assets.xcassets/Green.imageset/green.phosphor.dark.png
new file mode 100644
index 0000000..fc29818
Binary files /dev/null and b/A2Mac/Assets.xcassets/Green.imageset/green.phosphor.dark.png differ
diff --git a/A2Mac/Assets.xcassets/Joystick.imageset/Contents.json b/A2Mac/Assets.xcassets/Joystick.imageset/Contents.json
new file mode 100644
index 0000000..da3c8ed
--- /dev/null
+++ b/A2Mac/Assets.xcassets/Joystick.imageset/Contents.json
@@ -0,0 +1,52 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "1x",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ]
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "joystick.light.png",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "joystick.dark.png",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ]
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/A2Mac/Assets.xcassets/Joystick.imageset/joystick.dark.png b/A2Mac/Assets.xcassets/Joystick.imageset/joystick.dark.png
new file mode 100644
index 0000000..9e3b4c7
Binary files /dev/null and b/A2Mac/Assets.xcassets/Joystick.imageset/joystick.dark.png differ
diff --git a/A2Mac/Assets.xcassets/Joystick.imageset/joystick.light.png b/A2Mac/Assets.xcassets/Joystick.imageset/joystick.light.png
new file mode 100644
index 0000000..9a2ad39
Binary files /dev/null and b/A2Mac/Assets.xcassets/Joystick.imageset/joystick.light.png differ
diff --git a/A2Mac/Assets.xcassets/Old Monitor.imageset/Contents.json b/A2Mac/Assets.xcassets/Old Monitor.imageset/Contents.json
new file mode 100644
index 0000000..80caf4e
--- /dev/null
+++ b/A2Mac/Assets.xcassets/Old Monitor.imageset/Contents.json
@@ -0,0 +1,52 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "1x",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ]
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "old.monitor.light.png",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "old.monitor.dark.png",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ]
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/A2Mac/Assets.xcassets/Old Monitor.imageset/old.monitor.dark.png b/A2Mac/Assets.xcassets/Old Monitor.imageset/old.monitor.dark.png
new file mode 100644
index 0000000..e1d8e3d
Binary files /dev/null and b/A2Mac/Assets.xcassets/Old Monitor.imageset/old.monitor.dark.png differ
diff --git a/A2Mac/Assets.xcassets/Old Monitor.imageset/old.monitor.light.png b/A2Mac/Assets.xcassets/Old Monitor.imageset/old.monitor.light.png
new file mode 100644
index 0000000..2b3db13
Binary files /dev/null and b/A2Mac/Assets.xcassets/Old Monitor.imageset/old.monitor.light.png differ
diff --git a/A2Mac/Assets.xcassets/Paste.imageset/Contents.json b/A2Mac/Assets.xcassets/Paste.imageset/Contents.json
new file mode 100644
index 0000000..39bd987
--- /dev/null
+++ b/A2Mac/Assets.xcassets/Paste.imageset/Contents.json
@@ -0,0 +1,52 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "1x",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ]
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "doc.on.clipboard.light.png",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "doc.on.clipboard.dark.png",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ]
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/A2Mac/Assets.xcassets/Paste.imageset/doc.on.clipboard.dark.png b/A2Mac/Assets.xcassets/Paste.imageset/doc.on.clipboard.dark.png
new file mode 100644
index 0000000..0965c33
Binary files /dev/null and b/A2Mac/Assets.xcassets/Paste.imageset/doc.on.clipboard.dark.png differ
diff --git a/A2Mac/Assets.xcassets/Paste.imageset/doc.on.clipboard.light.png b/A2Mac/Assets.xcassets/Paste.imageset/doc.on.clipboard.light.png
new file mode 100644
index 0000000..752712f
Binary files /dev/null and b/A2Mac/Assets.xcassets/Paste.imageset/doc.on.clipboard.light.png differ
diff --git a/A2Mac/Assets.xcassets/Power.imageset/Contents.json b/A2Mac/Assets.xcassets/Power.imageset/Contents.json
new file mode 100644
index 0000000..894d8a7
--- /dev/null
+++ b/A2Mac/Assets.xcassets/Power.imageset/Contents.json
@@ -0,0 +1,52 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "1x",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ]
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "power.light.png",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "power.dark.png",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ]
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/A2Mac/Assets.xcassets/Power.imageset/power.dark.png b/A2Mac/Assets.xcassets/Power.imageset/power.dark.png
new file mode 100644
index 0000000..0a152c7
Binary files /dev/null and b/A2Mac/Assets.xcassets/Power.imageset/power.dark.png differ
diff --git a/A2Mac/Assets.xcassets/Power.imageset/power.light.png b/A2Mac/Assets.xcassets/Power.imageset/power.light.png
new file mode 100644
index 0000000..8d0bd42
Binary files /dev/null and b/A2Mac/Assets.xcassets/Power.imageset/power.light.png differ
diff --git a/A2Mac/Assets.xcassets/Quick Disk.imageset/Apple Disk II thick.light.png b/A2Mac/Assets.xcassets/Quick Disk.imageset/Apple Disk II thick.light.png
new file mode 100644
index 0000000..3e8c3b4
Binary files /dev/null and b/A2Mac/Assets.xcassets/Quick Disk.imageset/Apple Disk II thick.light.png differ
diff --git a/A2Mac/Assets.xcassets/Quick Disk.imageset/Apple Disk II thick.png b/A2Mac/Assets.xcassets/Quick Disk.imageset/Apple Disk II thick.png
new file mode 100644
index 0000000..660d1a6
Binary files /dev/null and b/A2Mac/Assets.xcassets/Quick Disk.imageset/Apple Disk II thick.png differ
diff --git a/A2Mac/Assets.xcassets/Quick Disk.imageset/Contents.json b/A2Mac/Assets.xcassets/Quick Disk.imageset/Contents.json
new file mode 100644
index 0000000..4b65014
--- /dev/null
+++ b/A2Mac/Assets.xcassets/Quick Disk.imageset/Contents.json
@@ -0,0 +1,52 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "1x",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ]
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "Apple Disk II thick.light.png",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "Apple Disk II thick.png",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ]
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/A2Mac/Assets.xcassets/Reset.imageset/Contents.json b/A2Mac/Assets.xcassets/Reset.imageset/Contents.json
new file mode 100644
index 0000000..a6d0937
--- /dev/null
+++ b/A2Mac/Assets.xcassets/Reset.imageset/Contents.json
@@ -0,0 +1,52 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "1x",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ]
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "gobackward.light.png",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "gobackward.dark.png",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ]
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/A2Mac/Assets.xcassets/Reset.imageset/gobackward.dark.png b/A2Mac/Assets.xcassets/Reset.imageset/gobackward.dark.png
new file mode 100644
index 0000000..4e99aee
Binary files /dev/null and b/A2Mac/Assets.xcassets/Reset.imageset/gobackward.dark.png differ
diff --git a/A2Mac/Assets.xcassets/Reset.imageset/gobackward.light.png b/A2Mac/Assets.xcassets/Reset.imageset/gobackward.light.png
new file mode 100644
index 0000000..07892c5
Binary files /dev/null and b/A2Mac/Assets.xcassets/Reset.imageset/gobackward.light.png differ
diff --git a/A2Mac/Assets.xcassets/Select All.imageset/Contents.json b/A2Mac/Assets.xcassets/Select All.imageset/Contents.json
new file mode 100644
index 0000000..653743b
--- /dev/null
+++ b/A2Mac/Assets.xcassets/Select All.imageset/Contents.json
@@ -0,0 +1,52 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "1x",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ]
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "doc.text.viewfinder.light.png",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "doc.text.viewfinder.dark.png",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ]
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/A2Mac/Assets.xcassets/Select All.imageset/doc.text.viewfinder.dark.png b/A2Mac/Assets.xcassets/Select All.imageset/doc.text.viewfinder.dark.png
new file mode 100644
index 0000000..f7d4ab9
Binary files /dev/null and b/A2Mac/Assets.xcassets/Select All.imageset/doc.text.viewfinder.dark.png differ
diff --git a/A2Mac/Assets.xcassets/Select All.imageset/doc.text.viewfinder.light.png b/A2Mac/Assets.xcassets/Select All.imageset/doc.text.viewfinder.light.png
new file mode 100644
index 0000000..90126ec
Binary files /dev/null and b/A2Mac/Assets.xcassets/Select All.imageset/doc.text.viewfinder.light.png differ
diff --git a/A2Mac/Assets.xcassets/White.imageset/Contents.json b/A2Mac/Assets.xcassets/White.imageset/Contents.json
new file mode 100644
index 0000000..de963f6
--- /dev/null
+++ b/A2Mac/Assets.xcassets/White.imageset/Contents.json
@@ -0,0 +1,52 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "1x",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ]
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "mono.light.png",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "mono.dark.png",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ],
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x",
+ "appearances" : [
+ {
+ "appearance" : "luminosity",
+ "value" : "dark"
+ }
+ ]
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/A2Mac/Assets.xcassets/White.imageset/mono.dark.png b/A2Mac/Assets.xcassets/White.imageset/mono.dark.png
new file mode 100644
index 0000000..04ed093
Binary files /dev/null and b/A2Mac/Assets.xcassets/White.imageset/mono.dark.png differ
diff --git a/A2Mac/Assets.xcassets/White.imageset/mono.light.png b/A2Mac/Assets.xcassets/White.imageset/mono.light.png
new file mode 100644
index 0000000..282d44d
Binary files /dev/null and b/A2Mac/Assets.xcassets/White.imageset/mono.light.png differ
diff --git a/A2Mac/Base.lproj/Main.storyboard b/A2Mac/Base.lproj/Main.storyboard
index 813c729..189c0f0 100644
--- a/A2Mac/Base.lproj/Main.storyboard
+++ b/A2Mac/Base.lproj/Main.storyboard
@@ -1213,43 +1213,14 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
@@ -1278,7 +1236,7 @@
-
+
-
-
-
-
-
-
-
-
-
-
+
+
-
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1415,66 +1524,11 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-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J
+2QnkCe0J8gn6Cf0KAgoRChUKIAooCjUKQgpXClwKYApiCmQKZgpvCnQKegqCCoQKhgqICooKjwqXHAMc
+BRwKHBgcHBwjHCgcNRw4HEUcShxSHFUcWhxiHGUcdxx6HH8AAAAAAAACAQAAAAAAAABZAAAAAAAAAAAA
+AAAAAAAcgQ
+
+
diff --git a/A2Mac/ToolBarController.swift b/A2Mac/ToolBarController.swift
index 80d2b73..f42c057 100644
--- a/A2Mac/ToolBarController.swift
+++ b/A2Mac/ToolBarController.swift
@@ -36,23 +36,25 @@ class ToolBarController: NSWindowController {
@IBAction func Paste(_ sender: Any) {
}
- @IBAction func Mono(_ sender: Any) {
- ViewController.current?.ColorMonitorSelector(color: false)
+ @IBAction func Green(_ sender: Any) {
+ // print("NSToolbarItem:", sender.tag)
+ ViewController.current?.MonoMonitorChange(color: "Green")
+ }
+
+ @IBAction func Amber(_ sender: Any) {
+ // print("NSToolbarItem:", sender.tag)
+ ViewController.current?.MonoMonitorChange(color: "Amber")
+ }
+
+ @IBAction func White(_ sender: Any) {
+// print("NSToolbarItem:", sender.tag)
+ ViewController.current?.MonoMonitorChange(color: "White")
}
@IBAction func Color(_ sender: Any) {
ViewController.current?.ColorMonitorSelector(color: true)
}
- @IBAction func FGcolor(_ sender: Any) {
- }
-
- @IBAction func BGcolor(_ sender: Any) {
- }
-
- @IBAction func buttonPressed(_ sender: NSButton) {
- }
-
@IBOutlet weak var SpeedSelector: NSToolbarItem!
@IBAction func SpeedSelect(_ slider: NSSlider) {
@@ -83,10 +85,6 @@ class ToolBarController: NSWindowController {
}
}
- @IBAction func CPUMode(_ sender: NSPopUpButton) {
- ViewController.current?.setSimulationMode( mode: sender.selectedItem?.title ?? "Normal" )
- }
-
@IBAction func Mute(_ sender: Any) {
spkr_mute()
}
@@ -98,4 +96,96 @@ class ToolBarController: NSWindowController {
@IBAction func VolUp(_ sender: Any) {
spkr_vol_up()
}
+
+
+ @IBAction func GamePort(_ sender: NSPopUpButton) {
+ switch sender.selectedItem?.tag {
+ case 1: // "Keyboard -> Joystick"
+ if let state = ViewController.current?.Keyboard2Joystick {
+ ViewController.current?.Keyboard2Joystick = !state
+ sender.selectedItem?.state = state ? .off : .on
+ }
+ break
+
+ case 2: // "Mouse -> Joystick"
+ if let state = ViewController.current?.Mouse2Joystick {
+ ViewController.current?.Mouse2Joystick = !state
+ sender.selectedItem?.state = state ? .off : .on
+ }
+ break
+
+ case 3: // "Mouse Enabled"
+ if let state = ViewController.current?.MouseInterface {
+ ViewController.current?.MouseInterface = !state
+ sender.selectedItem?.state = state ? .off : .on
+ }
+ break
+
+ default:
+ break
+ }
+ }
+
+ @IBAction func DiskOptions(_ sender: NSPopUpButton) {
+ switch sender.selectedItem?.tag {
+ case 1: // "Quick Disk"
+ if diskAccelerator_enabled == 0 {
+ diskAccelerator_enabled = 1;
+ }
+ else {
+ diskAccelerator_enabled = 0;
+ }
+
+ sender.selectedItem?.state = diskAccelerator_enabled == 1 ? .on : .off
+ break
+
+ case 2: // "Disk Sound"
+ if disk_sfx_enabled == 0 {
+ disk_sfx_enabled = 1;
+ }
+ else {
+ disk_sfx_enabled = 0;
+ }
+
+ sender.selectedItem?.state = disk_sfx_enabled == 1 ? .on : .off
+ break
+
+ case 3: // "Write Enabled"
+ break
+
+ default:
+ break
+ }
+ }
+
+ @IBAction func CPUMode(_ sender: NSPopUpButton) {
+ switch sender.selectedItem?.tag {
+ case 1: // "Normal Mode"
+ ViewController.current?.setSimulationMode( mode: "Normal" )
+ for i in sender.itemArray {
+ i.state = .off
+ }
+ sender.selectedItem?.state = .on
+ break
+
+ case 2: // "Eco Mode"
+ ViewController.current?.setSimulationMode( mode: "Eco" )
+ for i in sender.itemArray {
+ i.state = .off
+ }
+ sender.selectedItem?.state = .on
+ break
+
+ case 3: // "Write Enabled"
+ ViewController.current?.setSimulationMode( mode: "Game" )
+ for i in sender.itemArray {
+ i.state = .off
+ }
+ sender.selectedItem?.state = .on
+ break
+
+ default:
+ break
+ }
+ }
}
diff --git a/A2Mac/ViewController.swift b/A2Mac/ViewController.swift
index 10e2c45..ff3286b 100644
--- a/A2Mac/ViewController.swift
+++ b/A2Mac/ViewController.swift
@@ -1130,33 +1130,42 @@ class ViewController: NSViewController {
@IBAction func ColorMonitorOnOff(_ sender: NSButton) {
ColorMonitorSelector( color: sender.state == .on )
}
-
- @IBAction func MonitorChange(_ sender: NSButton) {
- switch sender.title {
- case "White Mono":
- ColorMonitor = false
- monoColor = colorWhite
- hires.monoColor = hires.color_white
- case "Green Mono":
+ func MonoMonitorChange( color: String ) {
+ switch color {
+ case "Green":
ColorMonitor = false
monoColor = colorGreen
hires.monoColor = hires.color_green
-
- case "Amber Mono":
+
+ case "Amber":
ColorMonitor = false
monoColor = colorOrange
hires.monoColor = hires.color_orange
-
+
default:
- ColorMonitor = true
+ ColorMonitor = false
monoColor = colorWhite
+ hires.monoColor = hires.color_white
}
display.textColor = monoColor
hires.RenderFullScreen()
}
+ @IBAction func MonitorChange(_ sender: NSButton) {
+ switch sender.title {
+ case "Green Mono":
+ MonoMonitorChange(color: "Green")
+
+ case "Amber Mono":
+ MonoMonitorChange(color: "Amber")
+
+ default:
+ MonoMonitorChange(color: "White")
+ }
+ }
+
@IBAction func Keyboard2JoystickOnOff(_ sender: NSButton) {
Keyboard2Joystick = sender.state == .on
}