Compare commits
280 Commits
DisplayTex
...
work
Author | SHA1 | Date | |
---|---|---|---|
|
3a353185b8 | ||
|
68ef567994 | ||
|
41cfb1efde | ||
|
67cc9d2359 | ||
|
8cafeff4d9 | ||
|
5e272a9686 | ||
|
112f43fafe | ||
|
39f6bdc1bd | ||
|
711b68608d | ||
|
176d0afa2a | ||
|
393fefd342 | ||
|
1d7c47e630 | ||
|
0beecc2d36 | ||
|
9741a49b80 | ||
|
15a2fd84ac | ||
|
6889eafb0b | ||
|
8e6617bcee | ||
|
bd764cf909 | ||
|
68bd815419 | ||
|
06a0e1c9b4 | ||
|
7ca5b082dc | ||
|
bbd00aef46 | ||
|
420234fe97 | ||
|
73a67d45d4 | ||
|
0e00827a08 | ||
|
7f62887402 | ||
|
6d72a3e2f5 | ||
|
90f746b5c0 | ||
|
7bf5944573 | ||
|
b8d1e1cf78 | ||
|
bca5d074db | ||
|
c948865ece | ||
|
675959e389 | ||
|
5453fdf5fb | ||
|
c08cecbbf9 | ||
|
9353ad517a | ||
|
2b8bbfb606 | ||
|
200bb8c125 | ||
|
1c7c0d3648 | ||
|
f39b3cdad5 | ||
|
2e1f0cf2d0 | ||
|
58f9f11bd1 | ||
|
61a81ccaf8 | ||
|
7498489282 | ||
|
7fa1f3c13f | ||
|
7b5721e7fd | ||
|
943c7f4480 | ||
|
47c718f5bc | ||
|
9631e62c9a | ||
|
cd09a0bd04 | ||
|
b389ab63f3 | ||
|
de57ef906d | ||
|
55a0ccf472 | ||
|
794afd46f7 | ||
|
5c1d9a096d | ||
|
0e9cd203f2 | ||
|
7a5dfcd84e | ||
|
5ef282d943 | ||
|
c1e1c940eb | ||
|
c1953a1711 | ||
|
b16fa135b6 | ||
|
0e853dba55 | ||
|
b73368b111 | ||
|
244af5ca55 | ||
|
6b43345ca2 | ||
|
7cad219957 | ||
|
defb426aa2 | ||
|
a4260e6417 | ||
|
0199e6397b | ||
|
73df543d44 | ||
|
cfdcdb2f31 | ||
|
46a793ba46 | ||
|
3d3c3803f3 | ||
|
8102a9e662 | ||
|
afdf82d620 | ||
|
2265ad7376 | ||
|
62c80ed9fb | ||
|
0b2fded774 | ||
|
108da5db09 | ||
|
1355ab215d | ||
|
f09585176c | ||
|
c7e76ff9e8 | ||
|
6e69b2bf5d | ||
|
99656013ee | ||
|
d8d406a044 | ||
|
84e10b33d4 | ||
|
5e7116aba0 | ||
|
ce6435cf05 | ||
|
e875521dc9 | ||
|
e6de74d5a1 | ||
|
eb3ac8ff94 | ||
|
6ebe88794c | ||
|
ebdc0b045d | ||
|
b31c138604 | ||
|
8318b362fb | ||
|
ea089cd7c5 | ||
|
ad19b6504b | ||
|
cb498c415c | ||
|
4751c59fad | ||
|
8a94024636 | ||
|
73078e1a9e | ||
|
5374c8f035 | ||
|
34bd53d9be | ||
|
b67c69a660 | ||
|
fb85a5f122 | ||
|
72930227f4 | ||
|
ec2617c7ae | ||
|
15b4b3252e | ||
|
ac36139d0d | ||
|
c467b8223c | ||
|
7f6ade463b | ||
|
0ebc75c931 | ||
|
e6e43df201 | ||
|
e414e13ad4 | ||
|
eea48cb7a0 | ||
|
c88a7a33a8 | ||
|
3f38d61bf6 | ||
|
b5b555a04b | ||
|
2df593f105 | ||
|
6f78b92344 | ||
|
3ef337771b | ||
|
ccf53fa6a6 | ||
|
96ae85ec71 | ||
|
2dc3040dc5 | ||
|
f09a78c0c8 | ||
|
9e6aebeaa8 | ||
|
00d8b14770 | ||
|
3d8f8f3faf | ||
|
25d4ca31fd | ||
|
fad4956135 | ||
|
4106a7ec36 | ||
|
bc2ab8512d | ||
|
8dca81904a | ||
|
d1d984e33f | ||
|
7940373a0d | ||
|
93fce5e51c | ||
|
55bb6b5fd5 | ||
|
94aeaaefaa | ||
|
145ee55a4d | ||
|
a73fb79792 | ||
|
f2f725b8c5 | ||
|
19ebe351b5 | ||
|
23bc243a1b | ||
|
bfc010901c | ||
|
68a57a4e67 | ||
|
81a929a889 | ||
|
16aa7a8d69 | ||
|
71348d606d | ||
|
b6873a3136 | ||
|
b91fab6066 | ||
|
469da345f4 | ||
|
4e8cebab37 | ||
|
0aa6098846 | ||
|
b6f67f981c | ||
|
697fc3171d | ||
|
2d58c13376 | ||
|
b9efc3e009 | ||
|
f79be51bb1 | ||
|
04d9ca20eb | ||
|
bb42837894 | ||
|
cc99e2eba3 | ||
|
add26cffc0 | ||
|
17927f4ab0 | ||
|
d008094078 | ||
|
e18173605b | ||
|
0e1fc3e44b | ||
|
cc6b3e27d4 | ||
|
5a0a23f048 | ||
|
3042a98d64 | ||
|
c5f16cd15a | ||
|
ef4e124043 | ||
|
7758fe3c33 | ||
|
ab120dc459 | ||
|
0aea0b9c84 | ||
|
4773c534f1 | ||
|
26341faff2 | ||
|
1b4985d3c8 | ||
|
0fef4708f8 | ||
|
9c4abe97c5 | ||
|
9871cb3886 | ||
|
bde4c4d941 | ||
|
ae5d8211fb | ||
|
c8f09f878d | ||
|
846df28a07 | ||
|
cf23cc7983 | ||
|
aaf7c0ca83 | ||
|
82e07b5652 | ||
|
ca2f023c8c | ||
|
b746b1ee5c | ||
|
cf2325e6fa | ||
|
e96f7bafc9 | ||
|
7b51c83da2 | ||
|
293ba80f41 | ||
|
889b31803a | ||
|
6abcba032d | ||
|
bfb226d415 | ||
|
c6a7f211dc | ||
|
c996f0ce14 | ||
|
afc8c6d8d1 | ||
|
572977f5f8 | ||
|
5051c0f8c7 | ||
|
49a9dff6da | ||
|
386d3ea979 | ||
|
4a5b482efa | ||
|
4017d12dc8 | ||
|
303de91fc6 | ||
|
961708373c | ||
|
fd63ce5bca | ||
|
5afcb161b6 | ||
|
b993009859 | ||
|
303c0f7f95 | ||
|
393b28ab3d | ||
|
368dd13309 | ||
|
e18bc9653e | ||
|
e871c32202 | ||
|
1cbc67c0eb | ||
|
040ee3af43 | ||
|
54a02f3ea1 | ||
|
424a65e074 | ||
|
75e0f5d528 | ||
|
77bcdc3e73 | ||
|
e7dcfd1184 | ||
|
5ee910b681 | ||
|
d2f455575d | ||
|
1b2cf4d74e | ||
|
7e6ea1dc32 | ||
|
db8c657d0e | ||
|
ef6ae3ccc5 | ||
|
315e1aec12 | ||
|
8f80ff59f0 | ||
|
fc32252815 | ||
|
e3d97a05ae | ||
|
1b95e22568 | ||
|
016a132ba7 | ||
|
5443d91fc7 | ||
|
a70937b321 | ||
|
53f81555ea | ||
|
f56a2cb8c6 | ||
|
deb6373f18 | ||
|
9e32839a4d | ||
|
d1f0c8e1db | ||
|
d786f4a594 | ||
|
72dc8dfa99 | ||
|
8e61a3403b | ||
|
4ecbc13628 | ||
|
91fd9ac8f9 | ||
|
15911de276 | ||
|
da27a21a88 | ||
|
06df29930f | ||
|
f12368037e | ||
|
11cd400afb | ||
|
126f76c9a4 | ||
|
3a01ee2934 | ||
|
06b911be9c | ||
|
44681298c1 | ||
|
4f5e7aef1c | ||
|
206b5a1163 | ||
|
44debeb2d1 | ||
|
cf5f390ed2 | ||
|
a1038b80dc | ||
|
44968a5db3 | ||
|
16cc896c0c | ||
|
76ad2cfc59 | ||
|
9b3b79cca0 | ||
|
0c72992e8a | ||
|
7e2d93f043 | ||
|
e33c1dc34b | ||
|
cea4eed922 | ||
|
ace3a8f68e | ||
|
fddb1d9642 | ||
|
1e455a011e | ||
|
8f914756eb | ||
|
fe5f30114d | ||
|
26c413df6b | ||
|
f2e5b49a6e | ||
|
08327ef0a4 | ||
|
80d6190fa1 | ||
|
8a6f1654ee | ||
|
5ad28e911e | ||
|
d644057a13 |
34
.gitignore
vendored
Normal file
|
@ -0,0 +1,34 @@
|
|||
# gitignore for A2MAC project
|
||||
@ (c) by Tamas Rudnai
|
||||
|
||||
# logfiles
|
||||
*.log
|
||||
**/*.log
|
||||
|
||||
# XCode debugger settings
|
||||
A2Mac.xcodeproj/xcuserdata/trudnai.xcuserdatad/xcdebugger/
|
||||
|
||||
convert_spkr_buf_to_wav.wav
|
||||
steve2_audio_debug_ema.wav
|
||||
steve2_audio_debug_raw.wav
|
||||
steve2_audio_debug.wav
|
||||
XPS_Aux_Mem_test.txt
|
||||
XPS_Aux_Mem_test.txt.dis
|
||||
Resources/rom/Downloads/Apple II ROMs.zip
|
||||
Resources/rom/Downloads/Apple II ROMs.zip
|
||||
Resources/rom/Downloads/apple_2e_unenhanced_rom.zip
|
||||
Resources/rom/Downloads/APPLE_IIe_ROM_KRK.zip
|
||||
Resources/rom/Downloads/APPLE_IIe_ROM_KRK1.zip
|
||||
Resources/rom/Downloads/APPLE_IIe_ROM_KRK2.zip
|
||||
Resources/rom/Downloads/apple_iie_rom.zip
|
||||
Resources/rom/Downloads/077-0026-0027 for IIe.zip
|
||||
|
||||
**/Contents/**
|
||||
.DS_Store
|
||||
Brewfile
|
||||
1
|
||||
ssasa
|
||||
*.au
|
||||
*.aup
|
||||
*.csv
|
||||
*.swp
|
14360
6502_functional_test.lst
Normal file
BIN
65C02_extended_opcodes_test.bin
Normal file
11510
65C02_extended_opcodes_test.lst
Normal file
34
A2Mac copy-Info.plist
Normal file
|
@ -0,0 +1,34 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>$(EXECUTABLE_NAME)</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string></string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>$(PRODUCT_NAME)</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
<string>public.app-category.education</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>Copyright © 2019 GameAlloy. All rights reserved.</string>
|
||||
<key>NSMainStoryboardFile</key>
|
||||
<string>Main</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>NSApplication</string>
|
||||
</dict>
|
||||
</plist>
|
34
A2Mac copy2-Info.plist
Normal file
|
@ -0,0 +1,34 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>$(EXECUTABLE_NAME)</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string></string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>$(PRODUCT_NAME)</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
<string>public.app-category.education</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>Copyright © 2019 GameAlloy. All rights reserved.</string>
|
||||
<key>NSMainStoryboardFile</key>
|
||||
<string>Main</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>NSApplication</string>
|
||||
</dict>
|
||||
</plist>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<array/>
|
||||
</plist>
|
BIN
A2Mac.xcodeproj/project.xcworkspace/xcuserdata/trudnai.xcuserdatad/UserInterfaceState.xcuserstate
generated
Normal file
113
A2Mac.xcodeproj/xcshareddata/xcschemes/A2Mac.xcscheme
Normal file
|
@ -0,0 +1,113 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "1100"
|
||||
version = "2.0">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "32BFFB5622EACC630003B53F"
|
||||
BuildableName = "Steve ][.app"
|
||||
BlueprintName = "Steve ]["
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "32BFFB5622EACC630003B53F"
|
||||
BuildableName = "Steve ][.app"
|
||||
BlueprintName = "Steve ]["
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<Testables>
|
||||
<TestableReference
|
||||
skipped = "NO">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "32BFFB6822EACC660003B53F"
|
||||
BuildableName = "A2MacTests.xctest"
|
||||
BlueprintName = "A2MacTests"
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</TestableReference>
|
||||
<TestableReference
|
||||
skipped = "NO">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "32BFFB7322EACC660003B53F"
|
||||
BuildableName = "A2MacUITests.xctest"
|
||||
BlueprintName = "A2MacUITests"
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</TestableReference>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Release"
|
||||
selectedDebuggerIdentifier = ""
|
||||
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
|
||||
disableMainThreadChecker = "YES"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "NO"
|
||||
debugXPCServices = "NO"
|
||||
debugServiceExtension = "internal"
|
||||
enableGPUValidationMode = "1"
|
||||
allowLocationSimulation = "NO"
|
||||
viewDebuggingEnabled = "No"
|
||||
queueDebuggingEnabled = "No"
|
||||
GPUProfilerEnabled = "No">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "32BFFB5622EACC630003B53F"
|
||||
BuildableName = "Steve ][.app"
|
||||
BlueprintName = "Steve ]["
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
buildConfiguration = "Release"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
debugDocumentVersioning = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "32BFFB5622EACC630003B53F"
|
||||
BuildableName = "Steve ][.app"
|
||||
BlueprintName = "Steve ]["
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
98
A2Mac.xcodeproj/xcshareddata/xcschemes/A2iOS.xcscheme
Normal file
|
@ -0,0 +1,98 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "1130"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "325EB63F23FBBACF00C6B4A4"
|
||||
BuildableName = "Steve ][ iOS.app"
|
||||
BlueprintName = "Steve ][ iOS"
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
<Testables>
|
||||
<TestableReference
|
||||
skipped = "NO">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "325EB65423FBBAD100C6B4A4"
|
||||
BuildableName = "A2iOSTests.xctest"
|
||||
BlueprintName = "A2iOSTests"
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</TestableReference>
|
||||
<TestableReference
|
||||
skipped = "NO">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "325EB65F23FBBAD100C6B4A4"
|
||||
BuildableName = "A2iOSUITests.xctest"
|
||||
BlueprintName = "A2iOSUITests"
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</TestableReference>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Release"
|
||||
selectedDebuggerIdentifier = ""
|
||||
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
debugServiceExtension = "internal"
|
||||
allowLocationSimulation = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "325EB63F23FBBACF00C6B4A4"
|
||||
BuildableName = "Steve ][ iOS.app"
|
||||
BlueprintName = "Steve ][ iOS"
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
buildConfiguration = "Release"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
debugDocumentVersioning = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "325EB63F23FBBACF00C6B4A4"
|
||||
BuildableName = "Steve ][ iOS.app"
|
||||
BlueprintName = "Steve ][ iOS"
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
118
A2Mac.xcodeproj/xcshareddata/xcschemes/Debug.xcscheme
Normal file
|
@ -0,0 +1,118 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "1100"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "32BFFB5622EACC630003B53F"
|
||||
BuildableName = "Steve ][.app"
|
||||
BlueprintName = "Steve ]["
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "32BFFB5622EACC630003B53F"
|
||||
BuildableName = "Steve ][.app"
|
||||
BlueprintName = "Steve ]["
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<Testables>
|
||||
<TestableReference
|
||||
skipped = "NO">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "32BFFB6822EACC660003B53F"
|
||||
BuildableName = "A2MacTests.xctest"
|
||||
BlueprintName = "A2MacTests"
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</TestableReference>
|
||||
<TestableReference
|
||||
skipped = "NO">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "32BFFB7322EACC660003B53F"
|
||||
BuildableName = "A2MacUITests.xctest"
|
||||
BlueprintName = "A2MacUITests"
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</TestableReference>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
enableASanStackUseAfterReturn = "YES"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
debugServiceExtension = "internal"
|
||||
enableGPUValidationMode = "1"
|
||||
allowLocationSimulation = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "32799F78264B1A5700255669"
|
||||
BuildableName = "Steve ][ Debug.app"
|
||||
BlueprintName = "Steve ][ Debug"
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "32BFFB5622EACC630003B53F"
|
||||
BuildableName = "Steve ][.app"
|
||||
BlueprintName = "Steve ]["
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
buildConfiguration = "Debug"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
debugDocumentVersioning = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "32BFFB5622EACC630003B53F"
|
||||
BuildableName = "Steve ][.app"
|
||||
BlueprintName = "Steve ]["
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
107
A2Mac.xcodeproj/xcshareddata/xcschemes/Function Test.xcscheme
Normal file
|
@ -0,0 +1,107 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "1100"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "32BFFB5622EACC630003B53F"
|
||||
BuildableName = "Steve ][.app"
|
||||
BlueprintName = "Steve ]["
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "32C4531B2331FED90000EBA1"
|
||||
BuildableName = "Functiontest.app"
|
||||
BlueprintName = "Functiontest"
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<Testables>
|
||||
<TestableReference
|
||||
skipped = "NO">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "32BFFB6822EACC660003B53F"
|
||||
BuildableName = "A2MacTests.xctest"
|
||||
BlueprintName = "A2MacTests"
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</TestableReference>
|
||||
<TestableReference
|
||||
skipped = "NO">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "32BFFB7322EACC660003B53F"
|
||||
BuildableName = "A2MacUITests.xctest"
|
||||
BlueprintName = "A2MacUITests"
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</TestableReference>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
debugServiceExtension = "internal"
|
||||
allowLocationSimulation = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "32C4531B2331FED90000EBA1"
|
||||
BuildableName = "Functiontest.app"
|
||||
BlueprintName = "Functiontest"
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
buildConfiguration = "Release"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
debugDocumentVersioning = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "32BFFB5622EACC630003B53F"
|
||||
BuildableName = "Steve ][.app"
|
||||
BlueprintName = "Steve ]["
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
77
A2Mac.xcodeproj/xcshareddata/xcschemes/Speedtest.xcscheme
Normal file
|
@ -0,0 +1,77 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "1100"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "NO"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "NO"
|
||||
buildForArchiving = "NO"
|
||||
buildForAnalyzing = "NO">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "32C453092331F7220000EBA1"
|
||||
BuildableName = "Speedtest.app"
|
||||
BlueprintName = "Speedtest"
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "32C453092331F7220000EBA1"
|
||||
BuildableName = "Speedtest.app"
|
||||
BlueprintName = "Speedtest"
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<Testables>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Release"
|
||||
selectedDebuggerIdentifier = ""
|
||||
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
debugServiceExtension = "internal"
|
||||
allowLocationSimulation = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "32C453092331F7220000EBA1"
|
||||
BuildableName = "Speedtest.app"
|
||||
BlueprintName = "Speedtest"
|
||||
ReferencedContainer = "container:A2Mac.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
buildConfiguration = "Release"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
debugDocumentVersioning = "YES">
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -9,9 +9,49 @@
|
|||
<key>orderHint</key>
|
||||
<integer>0</integer>
|
||||
</dict>
|
||||
<key>A2iOS.xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>4</integer>
|
||||
</dict>
|
||||
<key>Debug.xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>1</integer>
|
||||
</dict>
|
||||
<key>Function Test.xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>2</integer>
|
||||
</dict>
|
||||
<key>Speedtest.xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>3</integer>
|
||||
</dict>
|
||||
<key>Steve ][ copy.xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>5</integer>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>SuppressBuildableAutocreation</key>
|
||||
<dict>
|
||||
<key>325EB63F23FBBACF00C6B4A4</key>
|
||||
<dict>
|
||||
<key>primary</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>325EB65423FBBAD100C6B4A4</key>
|
||||
<dict>
|
||||
<key>primary</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>325EB65F23FBBAD100C6B4A4</key>
|
||||
<dict>
|
||||
<key>primary</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>32BFFB5622EACC630003B53F</key>
|
||||
<dict>
|
||||
<key>primary</key>
|
||||
|
@ -27,6 +67,16 @@
|
|||
<key>primary</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>32C453092331F7220000EBA1</key>
|
||||
<dict>
|
||||
<key>primary</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>32C4531B2331FED90000EBA1</key>
|
||||
<dict>
|
||||
<key>primary</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
508
A2Mac/6502.c
|
@ -1,508 +0,0 @@
|
|||
//
|
||||
// main.c
|
||||
// 6502
|
||||
//
|
||||
// Created by Tamas Rudnai on 7/14/19.
|
||||
// Copyright © 2019 GameAlloy. All rights reserved.
|
||||
//
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "common.h"
|
||||
#include "Apple2_mmio.h"
|
||||
|
||||
/**
|
||||
Instruction Implementations
|
||||
!!!! `his has to be here!!!
|
||||
This idea is that "static inline" would work only if it is
|
||||
located in the same source file -- hence the include...
|
||||
**/
|
||||
#include "6502_instructions.h"
|
||||
|
||||
|
||||
/////
|
||||
unsigned long long int clktime = 0;
|
||||
|
||||
m6502_s m6502 = {0};
|
||||
|
||||
|
||||
static inline int m6502_step() {
|
||||
|
||||
// switch ( fetch16() ) {
|
||||
// case 0xFCD0: // D0 FC BNE
|
||||
// BNE( 0xFC ); return 2;
|
||||
//
|
||||
// case 0x01E9: // E9 01 SBC
|
||||
// SBC( 0x01 ) ; return 6;
|
||||
//
|
||||
// default:
|
||||
// m6502.pc -= 2;
|
||||
//
|
||||
switch ( fetch() ) {
|
||||
case 0x00: BRK(); return 2; // BRK
|
||||
case 0x01: ORA( memread( addr_X_ind() ) ); return 6; // ORA X,ind
|
||||
// case 0x02: // t jams
|
||||
// case 0x03: // SLO* (undocumented)
|
||||
// case 0x04: // NOP* (undocumented)
|
||||
case 0x05: ORA( memread_zp( fetch() ) ); return 3; // ORA zpg
|
||||
case 0x06: ASL( & RAM[ fetch() ] ); return 5; // ASL zpg
|
||||
// case 0x07: // SLO* (undocumented)
|
||||
case 0x08: PHP(); return 3; // PHP
|
||||
case 0x09: ORA( fetch() ); return 2; // ORA imm
|
||||
case 0x0A: ASL( & m6502.A ); return 2; // ASL A
|
||||
// case 0x0B: // ANC** (undocumented)
|
||||
// case 0x0C: // NOP* (undocumented)
|
||||
case 0x0D: ORA( memread( fetch16() ) ); return 4; // ORA abs
|
||||
case 0x0E: ASL( & RAM[ fetch16() ] ); return 6; // ASL abs
|
||||
// case 0x0F: // SLO* (undocumented)
|
||||
case 0x10: BPL( (int8_t)fetch() ); return 2; // BPL rel
|
||||
case 0x11: ORA( memread( addr_ind_Y() ) ); return 5; // ORA ind,Y
|
||||
// case 0x12: // t jams
|
||||
// case 0x13: // SLO* (undocumented)
|
||||
// case 0x14: // NOP* (undocumented)
|
||||
case 0x15: ORA( memread_zp( fetch() + m6502.X ) ); return 4; // ORA zpg,X
|
||||
case 0x16: ASL( & RAM[ fetch() + m6502.X ] ); return 6; // ASL zpg,X
|
||||
// case 0x17: // SLO* (undocumented)
|
||||
case 0x18: CLC(); return 2; // CLC
|
||||
case 0x19: ORA( memread( fetch16() + m6502.Y ) ); return 4; // ORA abs,Y
|
||||
// case 0x1A: // NOP* (undocumented)
|
||||
// case 0x1B: // SLO* (undocumented)
|
||||
// case 0x1C: // NOP* (undocumented)
|
||||
case 0x1D: ORA( memread( fetch16() + m6502.X ) ); return 4; // ORA abs,X
|
||||
case 0x1E: ASL( & RAM[ fetch16() + m6502.X ] ); return 7; // ASL abs,X
|
||||
// case 0x1F: // SLO* (undocumented)
|
||||
case 0x20: JSR( fetch16() ); return 6; // JSR abs
|
||||
case 0x21: AND( memread( addr_X_ind() ) ); return 6; // AND X,ind
|
||||
// case 0x22:
|
||||
// case 0x23:
|
||||
case 0x24: BIT( memread_zp( fetch() ) ); return 3; // BIT zpg
|
||||
case 0x25: AND( memread_zp( fetch() ) ); return 3; // AND zpg
|
||||
case 0x26: ROL( & RAM[ fetch() ] ); return 5; // ROL zpg
|
||||
// case 0x27:
|
||||
case 0x28: PLP(); return 4; // PLP
|
||||
case 0x29: AND( fetch() ); return 2; // AND imm
|
||||
case 0x2A: ROL( & m6502.A ); return 2; // ROL A
|
||||
// case 0x2B:
|
||||
case 0x2C: BIT( memread( fetch16() ) ); return 4; // BIT abs
|
||||
case 0x2D: AND( fetch16() ); return 4; // AND abs
|
||||
case 0x2E: ROL( & RAM[ fetch16() ] ); return 6; // ROL abs
|
||||
// case 0x2F:
|
||||
case 0x30: BMI( (int8_t)fetch() ); return 2; // BMI rel
|
||||
case 0x31: AND( memread( addr_ind_Y() ) ); return 5; // AND ind,Y
|
||||
// case 0x32:
|
||||
// case 0x33:
|
||||
// case 0x34:
|
||||
case 0x35: AND( memread_zp( addr_zp_X() ) ); return 4; // AND zpg,X
|
||||
case 0x36: ROL( & RAM[ addr_zp_X() ] ); return 6; // ROL zpg,X
|
||||
// case 0x37:
|
||||
case 0x38: SEC(); return 2; // SEC
|
||||
case 0x39: AND( memread( addr_abs_Y() ) ); return 4; // AND abs,Y
|
||||
// case 0x3A:
|
||||
// case 0x3B:
|
||||
// case 0x3C:
|
||||
case 0x3D: AND( memread( addr_abs_X() ) ); return 4; // AND abs,X
|
||||
case 0x3E: ROL( & RAM[ addr_abs_X() ] ); return 7; // ROL abs,X
|
||||
// case 0x3F:
|
||||
case 0x40: RTI(); return 6; // RTI
|
||||
case 0x41: EOR( memread( addr_X_ind() ) ); return 6; // EOR X,ind
|
||||
// case 0x42:
|
||||
// case 0x43:
|
||||
// case 0x44:
|
||||
case 0x45: EOR( memread_zp( fetch() ) ); return 3; // EOR zpg
|
||||
case 0x46: LSR( & RAM[ fetch() ] ); return 5; // LSR zpg
|
||||
// case 0x47:
|
||||
case 0x48: PHA(); return 3; // PHA
|
||||
case 0x49: EOR( fetch() ); return 2; // EOR imm
|
||||
case 0x4A: LSR( & m6502.A ); return 2; // LSR A
|
||||
// case 0x4B:
|
||||
case 0x4C: JMP( fetch16() ); return 3; // JMP abs
|
||||
case 0x4D: EOR( fetch16() ); return 4; // EOR abs
|
||||
case 0x4E: LSR( & RAM[ fetch16() ] ); return 6; // LSR abs
|
||||
// case 0x4F:
|
||||
case 0x50: BVC( (int8_t)fetch() ); return 2; // BVC rel
|
||||
case 0x51: EOR( memread( addr_ind_Y() ) ); return 5; // EOR ind,Y
|
||||
// case 0x52:
|
||||
// case 0x53:
|
||||
// case 0x54:
|
||||
case 0x55: EOR( memread_zp( addr_zp_X() ) ); return 4; // AND zpg,X
|
||||
case 0x56: LSR( & RAM[ addr_zp_X() ] ); return 6; // LSR zpg,X
|
||||
// case 0x57:
|
||||
case 0x58: CLI(); return 2; // CLI
|
||||
case 0x59: EOR( memread( addr_abs_Y() ) ); return 4; // EOR abs,Y
|
||||
// case 0x5A:
|
||||
// case 0x5B:
|
||||
// case 0x5C:
|
||||
case 0x5D: EOR( memread( addr_abs_X() ) ); return 4; // EOR abs,X
|
||||
case 0x5E: LSR( & RAM[ addr_abs_X() ] ); return 7; // LSR abs,X
|
||||
// case 0x5F:
|
||||
case 0x60: RTS(); return 6; // RTS
|
||||
case 0x61: ADC( memread( addr_X_ind() ) ); return 6; // ADC X,ind
|
||||
// case 0x62:
|
||||
// case 0x63:
|
||||
// case 0x64:
|
||||
case 0x65: ADC( memread_zp( fetch() ) ); return 3; // ADC zpg
|
||||
case 0x66: ROR( & RAM[ fetch() ] ); return 5; // ROR zpg
|
||||
// case 0x67:
|
||||
case 0x68: PLA(); break; // PLA
|
||||
case 0x69: ADC( fetch() ); return 2; // ADC imm
|
||||
case 0x6A: ROR( & m6502.A ); return 2; // ROR A
|
||||
// case 0x6B:
|
||||
case 0x6C: JMP( memread16( fetch16() ) ); return 5; // JMP ind
|
||||
case 0x6D: ADC( memread( fetch16() ) ); return 4; // ADC abs
|
||||
case 0x6E: ROR( & RAM[ fetch16() ] ); return 6; // ROR abs
|
||||
// case 0x6F:
|
||||
case 0x70: BVS( (int8_t)fetch() ); break; // BVS rel
|
||||
case 0x71: ADC( memread( addr_ind_Y() ) ); return 5; // ADC ind,Y
|
||||
// case 0x72:
|
||||
// case 0x73:
|
||||
// case 0x74:
|
||||
case 0x75: ADC( memread_zp( addr_zp_X() ) ); return 4; // ADC zpg,X
|
||||
case 0x76: ROR( & RAM[ addr_zp_X() ] ); return 6; // ROR zpg,X
|
||||
// case 0x77:
|
||||
case 0x78: SEI(); break; // SEI
|
||||
case 0x79: ADC( memread( addr_abs_Y() ) ); return 4; // ADC abs,Y
|
||||
// case 0x7A:
|
||||
// case 0x7B:
|
||||
// case 0x7C:
|
||||
case 0x7D: ADC( memread( addr_abs_X() ) ); return 4; // ADC abs,X
|
||||
case 0x7E: ROR( & RAM[ addr_abs_X() ] ); return 7; // ROR abs,X
|
||||
// case 0x7F:
|
||||
// case 0x80:
|
||||
case 0x81: STA( & RAM[ addr_X_ind() ] ) ; return 6; // STA X,ind
|
||||
// case 0x82:
|
||||
// case 0x83:
|
||||
case 0x84: STY( & RAM[ fetch() ] ); return 3; // STY zpg
|
||||
case 0x85: STA( & RAM[ fetch() ] ); return 3; // STA zpg
|
||||
case 0x86: STX( & RAM[ fetch() ] ); return 3; // STX zpg
|
||||
// case 0x87:
|
||||
case 0x88: DEY(); return 2; // DEY
|
||||
// case 0x89:
|
||||
case 0x8A: TXA(); return 2; // TXA
|
||||
// case 0x8B:
|
||||
case 0x8C: STY( & RAM[ fetch16() ] ); return 4; // STY abs
|
||||
case 0x8D: STA( & RAM[ fetch16() ] ); return 4; // STA abs
|
||||
case 0x8E: STX( & RAM[ fetch16() ] ); return 4; // STX abs
|
||||
// case 0x8F:
|
||||
case 0x90: BCC( (int8_t)fetch() ); return 2; // BCC rel
|
||||
case 0x91: STA( & RAM[ addr_ind_Y() ] ); return 6; // STA ind,Y
|
||||
// case 0x92:
|
||||
// case 0x93:
|
||||
case 0x94: STY( & RAM[ addr_zp_X() ] ); return 4; // STY zpg,X
|
||||
case 0x95: STA( & RAM[ addr_zp_X() ] ); return 4; // STA zpg,X
|
||||
case 0x96: STX( & RAM[ addr_zp_Y() ] ); return 4; // STX zpg,Y
|
||||
// case 0x97:
|
||||
case 0x98: TYA(); return 2; // TYA
|
||||
case 0x99: STA( & RAM[ addr_abs_Y() ] ); return 5; // STA abs,Y
|
||||
case 0x9A: TXS(); return 2; // TXS
|
||||
// case 0x9B:
|
||||
// case 0x9C:
|
||||
case 0x9D: STA( & RAM[ addr_abs_X() ] ); return 5; // STA abs,X
|
||||
// case 0x9E:
|
||||
// case 0x9F:
|
||||
case 0xA0: LDY( fetch() ); return 2; // LDY imm
|
||||
case 0xA1: LDA( memread( addr_X_ind() ) ) ; return 6; // LDA X,ind
|
||||
case 0xA2: LDX( fetch() ); return 2; // LDX imm
|
||||
// case 0xA3:
|
||||
case 0xA4: LDY( memread_zp( fetch() ) ); return 3; // LDY zpg
|
||||
case 0xA5: LDA( memread_zp( fetch() ) ); return 3; // LDA zpg
|
||||
case 0xA6: LDX( memread_zp( fetch() ) ); return 3; // LDX zpg
|
||||
// case 0xA7:
|
||||
case 0xA8: TAY(); return 2; // TAY
|
||||
case 0xA9: LDA( fetch() ); return 2; // LDA imm
|
||||
case 0xAA: TAX(); return 2; // TAX
|
||||
// case 0xAB:
|
||||
case 0xAC: LDY( memread( fetch16() ) ); return 4; // LDY abs
|
||||
case 0xAD: LDA( memread( fetch16() ) ); return 4; // LDA abs
|
||||
case 0xAE: LDX( memread( fetch16() ) ); return 4; // LDX abs
|
||||
// case 0xAF:
|
||||
case 0xB0: BCS( (int8_t)fetch() ); return 2; // BCS rel
|
||||
case 0xB1: LDA( memread( addr_ind_Y() ) ); return 5; // LDA ind,Y
|
||||
// case 0xB2:
|
||||
// case 0xB3:
|
||||
case 0xB4: LDY( memread_zp( addr_zp_X() ) ); return 4; // LDY zpg,X
|
||||
case 0xB5: LDA( memread_zp( addr_zp_X() ) ); return 4; // LDA zpg,X
|
||||
case 0xB6: LDX( memread_zp( addr_zp_Y() ) ); return 4; // LDX zpg,Y
|
||||
// case 0xB7:
|
||||
case 0xB8: CLV(); return 2; // CLV
|
||||
case 0xB9: LDA( memread( addr_abs_Y() ) ); return 4; // LDA abs,Y
|
||||
case 0xBA: TSX(); return 2; // TSX
|
||||
// case 0xBB:
|
||||
case 0xBC: LDY( memread( addr_abs_X() ) ); return 4; // LDY abs,X
|
||||
case 0xBD: LDA( memread( addr_abs_X() ) ); return 4; // LDA abs,X
|
||||
case 0xBE: LDX( memread( addr_abs_X() ) ); return 4; // LDX abs,Y
|
||||
// case 0xBF:
|
||||
case 0xC0: CPY( fetch() ); break; // CPY imm
|
||||
case 0xC1: CMP( memread( addr_X_ind() ) ) ; break; // LDA X,ind
|
||||
// case 0xC2:
|
||||
// case 0xC3:
|
||||
case 0xC4: CPY( memread_zp( fetch() ) ); return 3; // CPY zpg
|
||||
case 0xC5: CMP( memread_zp( fetch() ) ); return 3; // CMP zpg
|
||||
case 0xC6: DEC( & RAM[ fetch() ] ); return 5; // DEC zpg
|
||||
// case 0xC7:
|
||||
case 0xC8: INY(); return 2; // INY
|
||||
case 0xC9: CMP( fetch() ); return 2; // CMP imm
|
||||
case 0xCA: DEX(); return 2; // DEX
|
||||
// case 0xCB:
|
||||
case 0xCC: CPY( memread( fetch16() ) ); return 4; // CPY abs
|
||||
case 0xCD: CMP( fetch16() ); return 4; // CMP abs
|
||||
case 0xCE: DEC( & RAM[ fetch16() ] ); return 4; // DEC abs
|
||||
// case 0xCF:
|
||||
case 0xD0: BNE( (int8_t)fetch() ); return 2; // BNE rel
|
||||
case 0xD1: CMP( memread( addr_ind_Y() ) ); return 5; // CMP ind,Y
|
||||
// case 0xD2:
|
||||
// case 0xD3:
|
||||
// case 0xD4:
|
||||
case 0xD5: CMP( memread_zp( addr_zp_X() ) ); return 4; // CMP zpg,X
|
||||
case 0xD6: DEC( & RAM[ addr_zp_X() ] ); return 6; // DEC zpg,X
|
||||
// case 0xD7:
|
||||
case 0xD8: CLD(); return 2; // CLD
|
||||
case 0xD9: CMP( memread( addr_abs_Y() ) ); return 4; // CMP abs,Y
|
||||
// case 0xDA:
|
||||
// case 0xDB:
|
||||
// case 0xDC:
|
||||
case 0xDD: CMP( memread( addr_abs_X() ) ); return 4; // CMP abs,X
|
||||
case 0xDE: DEC( & RAM[ addr_abs_X() ] ); return 7; // DEC abs,X
|
||||
// case 0xDF:
|
||||
case 0xE0: CPX( fetch() ); return 2; // CPX imm
|
||||
case 0xE1: SBC( memread( addr_X_ind() ) ) ; return 6; // SBC (ind,X)
|
||||
// case 0xE2:
|
||||
// case 0xE3:
|
||||
case 0xE4: CPX( memread_zp( fetch() ) ); return 3; // CPX zpg
|
||||
case 0xE5: SBC( memread_zp( fetch() ) ); return 3; // SBC zpg
|
||||
case 0xE6: INC( & RAM[ fetch() ] ); return 5; // INC zpg
|
||||
// case 0xE7:
|
||||
case 0xE8: INX(); return 2; // INX
|
||||
case 0xE9: SBC( fetch() ); return 2; // SBC imm
|
||||
case 0xEA: NOP(); return 2; // NOP
|
||||
// case 0xEB:
|
||||
case 0xEC: CPX( memread( fetch16() ) ); return 4; // CPX abs
|
||||
case 0xED: SBC( fetch16() ); return 4; // SBC abs
|
||||
case 0xEE: INC( & RAM[ fetch16() ] ); return 6; // INC abs
|
||||
// case 0xEF:
|
||||
case 0xF0: BEQ( (int8_t)fetch() ); return 2; // BEQ rel
|
||||
case 0xF1: SBC( memread( addr_ind_Y() ) ); return 5; // SBC ind,Y
|
||||
// case 0xF2:
|
||||
// case 0xF3:
|
||||
// case 0xF4:
|
||||
case 0xF5: SBC( memread_zp( addr_zp_X() ) ); return 4; // SBC zpg,X
|
||||
case 0xF6: INC( & RAM[ addr_zp_X() ] ); return 6; // INC zpg,X
|
||||
// case 0xF7:
|
||||
case 0xF8: SED(); break; // SED
|
||||
case 0xF9: SBC( memread( addr_abs_Y() ) ); return 4; // SBC abs,Y
|
||||
// case 0xFA:
|
||||
// case 0xFB:
|
||||
// case 0xFC:
|
||||
case 0xFD: SBC( memread( addr_abs_X() ) ); return 4; // SBC abs,X
|
||||
case 0xFE: INC( & RAM[ addr_abs_X() ] ); return 6; // INC abs,X
|
||||
// case 0xFF:
|
||||
|
||||
default:
|
||||
printf("Unimplemented Instruction 0x%02X\n", memread( m6502.pc -1 ));
|
||||
break;
|
||||
}
|
||||
// } // fetch16
|
||||
|
||||
return 4;
|
||||
}
|
||||
|
||||
const unsigned long long int iterations = G;
|
||||
|
||||
unsigned long long TICK_PER_SEC = G;
|
||||
unsigned long long TICK_6502_PER_SEC = 0;
|
||||
unsigned long long MHz_6502 = 1.023 * M;
|
||||
|
||||
static __inline__ unsigned long long rdtsc(void)
|
||||
{
|
||||
unsigned hi, lo;
|
||||
__asm__ __volatile__ ("rdtsc" : "=a"(lo), "=d"(hi) );
|
||||
return ( (unsigned long long)lo) | ( ((unsigned long long)hi) << 32 );
|
||||
}
|
||||
|
||||
|
||||
static inline void m6502_run() {
|
||||
uint8_t clk = 0;
|
||||
// init time
|
||||
// unsigned long long s = rdtsc();
|
||||
unsigned long long e = (unsigned long long)-1LL;
|
||||
|
||||
for ( unsigned long long int i = 0; i < iterations ; i++ ) {
|
||||
// for ( ; m6502.pc ; ) {
|
||||
dbgPrintf("%04u %04X: ", clktime, m6502.pc);
|
||||
clk = m6502_step();
|
||||
clktime += clk;
|
||||
e = TICK_6502_PER_SEC * clktime;
|
||||
// query time + wait
|
||||
// usleep(1);
|
||||
|
||||
// tight loop gives us the most precise wait time
|
||||
// while ( rdtsc() - s < e ) {}
|
||||
|
||||
dbgPrintf("\n");
|
||||
}
|
||||
}
|
||||
|
||||
void init() {
|
||||
unsigned long long s = rdtsc();
|
||||
sleep(1);
|
||||
unsigned long long e = rdtsc();
|
||||
TICK_PER_SEC = e - s;
|
||||
TICK_6502_PER_SEC = TICK_PER_SEC / MHz_6502;
|
||||
|
||||
memset( RAM, 0, sizeof(RAM) );
|
||||
|
||||
|
||||
// RAM[ 0 ] = 0x4C;
|
||||
// RAM[ 1 ] = 0;
|
||||
// RAM[ 2 ] = 0;
|
||||
//
|
||||
// RAM[ 0xBFFD ] = 0x4C;
|
||||
// RAM[ 0xBFFE ] = 0;
|
||||
// RAM[ 0xBFFF ] = 0;
|
||||
|
||||
FILE * f = fopen("/Users/trudnai/Library/Containers/com.gamealloy.A2Mac/Data/apple.rom", "rb");
|
||||
if (f == NULL) {
|
||||
perror("Failed: ");
|
||||
return;
|
||||
}
|
||||
|
||||
fread( RAM + 0xD000, 1, 0x3000, f);
|
||||
fclose(f);
|
||||
|
||||
// reset vector
|
||||
m6502.pc = memread16( 0xFFFC );
|
||||
m6502.sp = 0x01FF;
|
||||
|
||||
|
||||
uint8_t counter[] = {
|
||||
// 1 * COUNTER2
|
||||
// 2
|
||||
// 3 ORG $1000
|
||||
// 4 SCREEN EQU $400
|
||||
// 5 HOME EQU $FC58
|
||||
// 6 DIGITS EQU $06
|
||||
// 7 ZERO EQU $B0
|
||||
// 8 CARRY EQU $BA
|
||||
// 9 RDKEY EQU $FD0C
|
||||
//10
|
||||
|
||||
// I have placed NOP to keep addresses
|
||||
|
||||
0xA0, 0x09, 0xEA, //11 LDY #$09 ; NOP
|
||||
0x84, 0x06, //12 STY #DIGITS
|
||||
0xEA, 0xEA, //13 NOP NOP
|
||||
0xEA, 0xEA, 0xEA, //14 NOP NOP NOP
|
||||
|
||||
0xA6, 0x06, //15 LDY DIGITS
|
||||
0xA9, 0xB0, //16 CLEAR LDA #ZERO
|
||||
0x99, 0x00, 0x04, //17 STA SCREEN,Y
|
||||
0x88, //18 DEY
|
||||
0x10, 0xF8, //19 BPL CLEAR
|
||||
|
||||
0xA4, 0x06, //20 START LDY DIGITS
|
||||
0x20, 0x36, 0x10, //21 ONES JSR INC
|
||||
0xB9, 0x00, 0x04, //22 LDA SCREEN,Y
|
||||
0xC9, 0xBA, //23 CMP #CARRY
|
||||
0xD0, 0xF6, //24 BNE ONES
|
||||
|
||||
0xA9, 0xB0, //25 NEXT LDA #ZERO
|
||||
0x99, 0x00, 0x04, //26 STA SCREEN,Y
|
||||
0x88, //27 DEY
|
||||
0x30, 0x0D, //28 BMI END
|
||||
|
||||
0x20, 0x36, 0x10, //29 JSR INC
|
||||
0xB9, 0x00, 0x04, //30 LDA SCREEN,Y
|
||||
0xC9, 0xBA, //31 CMP #CARRY
|
||||
0xD0, 0xE2, //32 BNE START
|
||||
|
||||
0x4C, 0x20, 0x10, //33 JMP NEXT
|
||||
0x60, //34 END RTS
|
||||
|
||||
0xB9, 0x00, 0x04, //36 INC LDA SCREEN,Y
|
||||
0xAA, //37 TAX
|
||||
0xE8, //38 INX
|
||||
0x8A, //39 TXA
|
||||
0x99, 0x00, 0x04, //40 STA SCREEN,Y
|
||||
0x60, //41 RTS
|
||||
};
|
||||
|
||||
|
||||
uint8_t counter_fast[] = {
|
||||
// 1 * COUNTER2
|
||||
// 2
|
||||
// 3 ORG $1000
|
||||
// 4 SCREEN EQU $400
|
||||
// 5 HOME EQU $FC58
|
||||
// 6 DIGITS EQU $06
|
||||
// 7 ZERO EQU $B0
|
||||
// 8 CARRY EQU $BA
|
||||
// 9 RDKEY EQU $FD0C
|
||||
//10
|
||||
|
||||
// I have placed NOP to keep addresses
|
||||
|
||||
0xA0, 0x06, // 00 LDY #$09
|
||||
0x84, 0x06, // 02 STY #DIGITS
|
||||
|
||||
0xA6, 0x06, // 04 LDY DIGITS
|
||||
0xA9, 0xB0, // 06 CLEAR LDA #ZERO
|
||||
0x99, 0x00, 0x04, // 08 STA SCREEN,Y
|
||||
0x88, // 0B DEY
|
||||
0x10, 0xF8, // 0C BPL CLEAR
|
||||
|
||||
0xA6, 0x06, // 0E START LDX DIGITS
|
||||
0xA9, 0xBA, // 10 LDA #CARRY
|
||||
0xFE, 0x00, 0x04, // 12 ONES INC SCREEN,X
|
||||
0xDD, 0x00, 0x04, // 15 CMP SCREEN,X
|
||||
0xD0, 0xF8, // 18 BNE ONES
|
||||
|
||||
0xA9, 0xB0, // 1A NEXT LDA #ZERO
|
||||
0x9D, 0x00, 0x04, // 1C STA SCREEN,X
|
||||
0xCA, // 1F DEX
|
||||
0x30, 0x0C, // 20 BMI END
|
||||
|
||||
0xFE, 0x00, 0x04, // 22 INC SCREEN,X
|
||||
0xBD, 0x00, 0x04, // 25 LDA SCREEN,X
|
||||
0xC9, 0xBA, // 28 CMP #CARRY
|
||||
0xD0, 0xE2, // 2A BNE START
|
||||
|
||||
0xF0, 0xEC, // 2C BEQ NEXT
|
||||
|
||||
0x60, // 2E END RTS
|
||||
|
||||
};
|
||||
|
||||
|
||||
// memcpy( RAM + 0x1000, counter_fast, sizeof(counter));
|
||||
|
||||
// m6502.pc = 0x1000;
|
||||
|
||||
}
|
||||
|
||||
|
||||
void tst6502() {
|
||||
// insert code here...
|
||||
printf("6502\n");
|
||||
|
||||
init();
|
||||
|
||||
// clock_t start = clock();
|
||||
unsigned long long s = rdtsc();
|
||||
m6502_run();
|
||||
// clock_t end = clock();
|
||||
// double execution_time = ((double) (end - start)) / CLOCKS_PER_SEC;
|
||||
unsigned long long e = rdtsc();
|
||||
unsigned long long t = e - s;
|
||||
double execution_time = (double)t / TICK_PER_SEC;
|
||||
|
||||
double mips = iterations / (execution_time * M);
|
||||
double mhz = clktime / (execution_time * M);
|
||||
printf("clk:%llu Elpased time: (%llu / %llu / %llu), %.3lfs (%.3lf MIPS, %.3lf MHz)\n", clktime, TICK_PER_SEC, MHz_6502, TICK_6502_PER_SEC, execution_time, mips, mhz);
|
||||
}
|
||||
|
||||
int ___main(int argc, const char * argv[]) {
|
||||
tst6502();
|
||||
return 0;
|
||||
}
|
||||
|
57
A2Mac/6502.h
|
@ -1,57 +0,0 @@
|
|||
//
|
||||
// 6502.h
|
||||
// 6502
|
||||
//
|
||||
// Created by Tamas Rudnai on 7/22/19.
|
||||
// Copyright © 2019 GameAlloy. All rights reserved.
|
||||
//
|
||||
|
||||
#ifndef __6502_H__
|
||||
#define __6502_H__
|
||||
|
||||
#import "stdint.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
#define dbgPrintf(format, ...) printf (format, ## __VA_ARGS__)
|
||||
#else
|
||||
#define dbgPrintf(format, ...)
|
||||
#endif
|
||||
|
||||
|
||||
typedef struct m6502_s {
|
||||
uint8_t A; // Accumulator
|
||||
uint8_t X; // X index register
|
||||
uint8_t Y; // Y index register
|
||||
union {
|
||||
uint8_t instr; // Instruction
|
||||
struct {
|
||||
uint8_t aaa:3;
|
||||
uint8_t bbb:3;
|
||||
uint8_t cc:2;
|
||||
};
|
||||
};
|
||||
union {
|
||||
uint8_t sr; // Status Register as 1 byte
|
||||
struct {
|
||||
uint8_t N:1; // Negative Flag
|
||||
uint8_t V:1; // Overflow Flag ???
|
||||
uint8_t B:2; // B Flag
|
||||
uint8_t D:1; // Decimal Flag
|
||||
uint8_t I:1; // Interrupt Flag
|
||||
uint8_t Z:1; // Zero Flag
|
||||
uint8_t C:1; // Carry Flag
|
||||
} flags; // Status Register
|
||||
};
|
||||
uint16_t pc; // Program Counter
|
||||
uint16_t sp; // Stack Pointer
|
||||
unsigned clk; // Clock Counter
|
||||
} m6502_s;
|
||||
|
||||
|
||||
extern m6502_s m6502;
|
||||
extern uint8_t RAM[ 64 * 1024 ];
|
||||
|
||||
extern void tst6502();
|
||||
|
||||
|
||||
#endif /* __6502_H__ */
|
|
@ -1,5 +1,44 @@
|
|||
//
|
||||
// A2Mac-Bridging-Header.h
|
||||
// Steve ][
|
||||
//
|
||||
// Created by Tamas Rudnai on 2/17/20.
|
||||
// Copyright © 2019, 2020 Tamas Rudnai. All rights reserved.
|
||||
//
|
||||
// This file is part of Steve ][ -- The Apple ][ Emulator.
|
||||
//
|
||||
// Steve ][ is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// Steve ][ is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Steve ][. If not, see <https://www.gnu.org/licenses/>.
|
||||
//
|
||||
//
|
||||
// Use this file to import your target's public headers that you would like to expose to Swift.
|
||||
//
|
||||
|
||||
#ifndef A2Mac_Bridging_Header_h
|
||||
#define A2Mac_Bridging_Header_h
|
||||
|
||||
|
||||
#import "6502.h"
|
||||
#import "6502_bp.h"
|
||||
#import "6502_dbg.h"
|
||||
#import "6502_dis.h"
|
||||
#import "6502_dis_utils.h"
|
||||
#import "speaker.h" // So we can access to speaker stuff from Swift
|
||||
#import "disk.h"
|
||||
#import "dsk2woz.h"
|
||||
#import "mmio.h"
|
||||
#import "hires.h"
|
||||
#import "woz.h"
|
||||
|
||||
|
||||
#endif /* A2Mac_Bridging_Header_h */
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>com.apple.security.app-sandbox</key>
|
||||
<true/>
|
||||
<key>com.apple.security.files.user-selected.read-only</key>
|
||||
<true/>
|
||||
<key>com.apple.security.app-sandbox</key>
|
||||
<false/>
|
||||
<key>com.apple.security.files.user-selected.read-write</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
139184
A2Mac/A2Mac/Base.lproj/Main_copy.storyboard
Normal file
|
@ -1,25 +1,169 @@
|
|||
//
|
||||
// AppDelegate.swift
|
||||
// A2Mac
|
||||
// Steve ][
|
||||
//
|
||||
// Created by Tamas Rudnai on 7/25/19.
|
||||
// Copyright © 2019 GameAlloy. All rights reserved.
|
||||
// Copyright © 2019, 2020 Tamas Rudnai. All rights reserved.
|
||||
//
|
||||
// This file is part of Steve ][ -- The Apple ][ Emulator.
|
||||
//
|
||||
// Steve ][ is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// Steve ][ is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Steve ][. If not, see <https://www.gnu.org/licenses/>.
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
import Foundation
|
||||
|
||||
@NSApplicationMain
|
||||
class AppDelegate: NSObject, NSApplicationDelegate {
|
||||
|
||||
static var current : AppDelegate?
|
||||
var preferencesController : PreferencesWindowController?
|
||||
|
||||
|
||||
func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
|
||||
return true
|
||||
}
|
||||
|
||||
@IBAction func ROM_Selected(_ sender: NSMenuItem) {
|
||||
if let menuIdentifier = sender.identifier {
|
||||
// rom_loadFile( Bundle.main.resourcePath, menuIdentifier.rawValue + ".rom" )
|
||||
ViewController.romFileName = menuIdentifier.rawValue + ".rom"
|
||||
// print("Resource Path: " + Bundle.main.resourcePath!)
|
||||
m6502_ColdReset( Bundle.main.resourcePath! + "/rom/", ViewController.romFileName )
|
||||
}
|
||||
}
|
||||
|
||||
@IBAction func Disk1_Selected(_ sender: NSMenuItem) {
|
||||
if let menuIdentifier = sender.identifier {
|
||||
let woz_err = woz_loadFile( Bundle.main.resourcePath! + "/dsk/" + menuIdentifier.rawValue + ".woz" )
|
||||
ViewController.shared?.chk_woz_load(err: woz_err)
|
||||
woz_flags.image_file_readonly = 1
|
||||
}
|
||||
}
|
||||
|
||||
func applicationDidFinishLaunching(_ aNotification: Notification) {
|
||||
// Insert code here to initialize your application
|
||||
AppDelegate.current = self
|
||||
}
|
||||
|
||||
func applicationWillTerminate(_ aNotification: Notification) {
|
||||
// Insert code here to tear down your application
|
||||
}
|
||||
|
||||
@IBAction func selectAnImageFromFile(sender: AnyObject) {
|
||||
ViewController.shared?.openDiskImageDialog()
|
||||
}
|
||||
|
||||
|
||||
func application(_ sender: NSApplication, openFile filename: String) -> Bool {
|
||||
ViewController.shared?.openDiskImage(url: URL(fileURLWithPath: filename))
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@IBAction func openFile(_ sender: NSMenuItem) {
|
||||
ViewController.shared?.openDiskImageDialog()
|
||||
}
|
||||
|
||||
@IBAction func saveFile(_ sender: NSMenuItem) {
|
||||
ViewController.shared?.saveFile()
|
||||
}
|
||||
|
||||
@IBAction func saveFileAs(_ sender: NSMenuItem) {
|
||||
ViewController.shared?.saveFileAs()
|
||||
}
|
||||
|
||||
@IBAction func Cheat_Wavy_Navy_Vitroy(_ sender: Any) {
|
||||
ViewController.shared?.Cheat_Wavy_Navy_Victory()
|
||||
}
|
||||
|
||||
@IBAction func Cheat_Wavy_Navy_Add_3_Ships(_ sender: Any) {
|
||||
ViewController.shared?.Cheat_Wavy_Navy_Add_3_Ships()
|
||||
}
|
||||
|
||||
@IBAction func Cheat_Wavy_Navy_Never_Lose(_ menuItem: NSMenuItem) {
|
||||
menuItem.state = (ViewController.shared?.Cheat_Wavy_Navy_Never_Lose())!
|
||||
}
|
||||
|
||||
@IBAction func Cheat_Wavy_Navy_Lose_To_Win(_ menuItem: NSMenuItem) {
|
||||
menuItem.state = (ViewController.shared?.Cheat_Wavy_Navy_Lose_To_Win())!
|
||||
}
|
||||
|
||||
@IBOutlet weak var MenuItem_Cheat: NSMenuItem!
|
||||
@IBOutlet weak var MenuItem_Hard_Hat_Mack: NSMenuItem!
|
||||
@IBOutlet weak var MenuItem_Hard_Hat_Mack_Add_3_Macks: NSMenuItem!
|
||||
|
||||
func Cheat_Menu() {
|
||||
// print("Cheat_Menu Menu")
|
||||
let ships = ViewController.shared?.Get_Hard_Hat_Mack()
|
||||
MenuItem_Hard_Hat_Mack_Add_3_Macks.title = String(format: "Add 3 Macks (%d)", ships!)
|
||||
}
|
||||
|
||||
@IBAction func Cheat_Hard_Hat_Mack(_ menuItem: NSMenuItem) {
|
||||
print("Cheat_Hard_Hat_Mack SubMenu")
|
||||
let ships = ViewController.shared?.Get_Hard_Hat_Mack()
|
||||
MenuItem_Hard_Hat_Mack_Add_3_Macks.title = String(format: "Add 3 Macks (%d)", ships!)
|
||||
}
|
||||
@IBAction func Cheat_Hard_Hat_Mack_Add_3_Macks(_ menuItem: NSMenuItem) {
|
||||
let _ = ViewController.shared?.Cheat_Hard_Hat_Mack(add: 3)
|
||||
}
|
||||
|
||||
@IBAction func Cheat_Hard_Hat_Mack_Never_Lose(_ menuItem: NSMenuItem) {
|
||||
menuItem.state = (ViewController.shared?.Cheat_Hard_Hat_Mack_Never_Lose())!
|
||||
}
|
||||
|
||||
@IBAction func showPreferences(_ sender: NSMenuItem) {
|
||||
if ( preferencesController == nil ) {
|
||||
let storyboard = NSStoryboard(name: NSStoryboard.Name("Preferences"), bundle: nil)
|
||||
preferencesController = storyboard.instantiateInitialController() as? PreferencesWindowController
|
||||
}
|
||||
}
|
||||
|
||||
@IBAction func PowerOn(_ sender: Any) {
|
||||
ViewController.shared?.PowerOn(sender)
|
||||
}
|
||||
|
||||
@IBAction func Pause(_ sender: Any) {
|
||||
ViewController.shared?.Pause(sender)
|
||||
}
|
||||
|
||||
@IBAction func PowerOff(_ sender: Any) {
|
||||
ViewController.shared?.PowerOff(sender)
|
||||
}
|
||||
|
||||
@IBAction func ColdReset(_ sender: Any) {
|
||||
ViewController.shared?.Reset(sender)
|
||||
}
|
||||
|
||||
@IBAction func WarmReset(_ sender: Any) {
|
||||
ViewController.shared?.Reset(sender)
|
||||
}
|
||||
|
||||
@IBAction func DebugContinue(_ sender: Any) {
|
||||
DebuggerWindowController.shared?.ContinuePauseButton(sender)
|
||||
}
|
||||
|
||||
@IBAction func DebugStepOver(_ sender: Any) {
|
||||
DebuggerWindowController.shared?.Step_Over(sender)
|
||||
}
|
||||
|
||||
@IBAction func DebugStepIn(_ sender: Any) {
|
||||
DebuggerWindowController.shared?.Step_In(sender)
|
||||
}
|
||||
|
||||
@IBAction func DebugStepOut(_ sender: Any) {
|
||||
DebuggerWindowController.shared?.Step_Out(sender)
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -1,273 +0,0 @@
|
|||
//
|
||||
// main.c
|
||||
// 6502
|
||||
//
|
||||
// Created by Tamas Rudnai on 7/14/19.
|
||||
// Copyright © 2019 GameAlloy. All rights reserved.
|
||||
//
|
||||
|
||||
#ifndef __APPLE2_MMIO_H__
|
||||
#define __APPLE2_MMIO_H__
|
||||
|
||||
#include "common.h"
|
||||
#include "6502.h"
|
||||
|
||||
|
||||
enum mmio {
|
||||
ioSomething = 0xC000,
|
||||
};
|
||||
|
||||
|
||||
uint8_t RAM[ 64 * KB ] = {0};
|
||||
|
||||
|
||||
#define PAGESIZE 256
|
||||
#define PAGES 16
|
||||
|
||||
uint8_t ram_0[PAGESIZE];
|
||||
uint8_t ram_1[PAGESIZE];
|
||||
uint8_t ram_2[PAGESIZE];
|
||||
uint8_t ram_3[PAGESIZE];
|
||||
uint8_t ram_4[PAGESIZE];
|
||||
uint8_t ram_5[PAGESIZE];
|
||||
uint8_t ram_6[PAGESIZE];
|
||||
uint8_t ram_7[PAGESIZE];
|
||||
uint8_t ram_8[PAGESIZE];
|
||||
uint8_t ram_9[PAGESIZE];
|
||||
uint8_t ram_A[PAGESIZE];
|
||||
uint8_t ram_B[PAGESIZE];
|
||||
uint8_t aui_C[PAGESIZE];
|
||||
uint8_t rom_D[PAGESIZE];
|
||||
uint8_t rom_E[PAGESIZE];
|
||||
uint8_t rom_F[PAGESIZE];
|
||||
|
||||
uint8_t * ram[PAGES] = {
|
||||
ram_0,
|
||||
ram_1,
|
||||
ram_2,
|
||||
ram_3,
|
||||
ram_4,
|
||||
ram_5,
|
||||
ram_6,
|
||||
ram_7,
|
||||
ram_8,
|
||||
ram_9,
|
||||
ram_A,
|
||||
ram_B,
|
||||
aui_C,
|
||||
rom_D,
|
||||
rom_E,
|
||||
rom_F,
|
||||
};
|
||||
|
||||
//uint8_t ( * mmio_read [ 64 * KB ] )( uint16_t addr );
|
||||
|
||||
typedef union address16_u {
|
||||
uint16_t addr;
|
||||
struct {
|
||||
uint8_t offs;
|
||||
uint8_t page;
|
||||
};
|
||||
} address16_t;
|
||||
|
||||
|
||||
static inline uint8_t ioRead( uint16_t addr ) {
|
||||
// printf("mmio:%04X\n", addr);
|
||||
switch (addr) {
|
||||
case ioSomething:
|
||||
return 123;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline void ioWrite( uint16_t addr ) {
|
||||
// printf("mmio:%04X\n", addr);
|
||||
switch (addr) {
|
||||
case ioSomething:
|
||||
return;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
Naive implementation of RAM read from address
|
||||
**/
|
||||
|
||||
static inline uint8_t memread_zp( uint8_t addr ) {
|
||||
return RAM[ addr ];
|
||||
}
|
||||
|
||||
static inline uint8_t memread( uint16_t addr ) {
|
||||
// switch ( ((address16_t)addr).page ) {
|
||||
// case 0xC0:
|
||||
// case 0xC1:
|
||||
// case 0xC2:
|
||||
// case 0xC3:
|
||||
// case 0xC4:
|
||||
// case 0xC5:
|
||||
// case 0xC6:
|
||||
// case 0xC7:
|
||||
// case 0xC8:
|
||||
// case 0xC9:
|
||||
// case 0xCA:
|
||||
// case 0xCB:
|
||||
// case 0xCC:
|
||||
// case 0xCD:
|
||||
// case 0xCE:
|
||||
// case 0xCF:
|
||||
// return ioRead(addr);
|
||||
//
|
||||
// defaut:
|
||||
// break;
|
||||
// }
|
||||
|
||||
if ( (addr >= 0xC000) && (addr < 0xD000) ) {
|
||||
ioRead(addr);
|
||||
}
|
||||
|
||||
return RAM[ addr ];
|
||||
}
|
||||
|
||||
/**
|
||||
Naive implementation of RAM read from address
|
||||
**/
|
||||
static inline uint16_t memread16( uint16_t addr ) {
|
||||
// if ( ( addr >= 0xC000 ) && ( addr < 0xD000 ) ) {
|
||||
// return mmioRead(addr);
|
||||
// }
|
||||
|
||||
// dbgPrintf("%04X ", * (uint16_t*) (& RAM[ addr ]));
|
||||
return * (uint16_t*) (& RAM[ addr ]);
|
||||
}
|
||||
|
||||
/**
|
||||
Naive implementation of RAM read from address
|
||||
**/
|
||||
//static inline uint16_t memioread16( uint16_t addr ) {
|
||||
// return (uint16_t)mmio_read[ addr ](addr);
|
||||
//}
|
||||
|
||||
|
||||
/**
|
||||
Naive implementation of RAM write to address
|
||||
**/
|
||||
static void memwrite_zp( uint8_t addr, uint8_t byte ) {
|
||||
RAM[ addr ] = byte;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
Naive implementation of RAM write to address
|
||||
**/
|
||||
static void memwrite( uint16_t addr, uint8_t byte ) {
|
||||
// if ( addr >= 0xD000 ) {
|
||||
// // ROM
|
||||
// return;
|
||||
// }
|
||||
// if ( addr >= 0xC000 ) {
|
||||
// return mmioWrite(addr);
|
||||
// }
|
||||
//
|
||||
|
||||
RAM[ addr ] = byte;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
Fetching 1 byte from memory address pc (program counter)
|
||||
increase pc by one
|
||||
**/
|
||||
static inline uint8_t fetch() {
|
||||
dbgPrintf("%02X ", RAM[m6502.pc]);
|
||||
return memread( m6502.pc++ );
|
||||
}
|
||||
|
||||
/**
|
||||
Fetching 2 bytes as a 16 bit number from memory address pc (program counter)
|
||||
increase pc by one
|
||||
**/
|
||||
static inline uint16_t fetch16() {
|
||||
dbgPrintf("%04X ", memread16(m6502.pc));
|
||||
uint16_t word = memread16( m6502.pc );
|
||||
m6502.pc += 2;
|
||||
return word;
|
||||
}
|
||||
|
||||
/**
|
||||
get a 16 bit address from the zp:zp+1
|
||||
**/
|
||||
static inline uint16_t addr_zp_ind( uint8_t addr ) {
|
||||
return memread16(addr);
|
||||
}
|
||||
|
||||
/**
|
||||
X,ind .... X-indexed, indirect OPC ($LL,X)
|
||||
operand is zeropage address;
|
||||
effective address is word in (LL + X, LL + X + 1), inc. without carry: C.w($00LL + X)
|
||||
**/
|
||||
static inline uint16_t addr_X_ind() {
|
||||
return addr_zp_ind( fetch() + m6502.X );
|
||||
}
|
||||
|
||||
/**
|
||||
ind,Y .... indirect, Y-indexed OPC ($LL),Y
|
||||
operand is zeropage address;
|
||||
effective address is word in (LL, LL + 1) incremented by Y with carry: C.w($00LL) + Y
|
||||
**/
|
||||
static inline uint16_t addr_ind_Y() {
|
||||
uint8_t a = fetch();
|
||||
// dbgPrintf("addr_ind_Y: %04X + %02X = %04X ", addr_zpg_ind( a ), m6502.Y, addr_zpg_ind( a ) + m6502.Y);
|
||||
return addr_zp_ind( a ) + m6502.Y;
|
||||
}
|
||||
|
||||
/**
|
||||
abs,X .... absolute, X-indexed OPC $LLHH,X
|
||||
operand is address; effective address is address incremented by X with carry **
|
||||
**/
|
||||
static inline uint16_t addr_abs_X() {
|
||||
return fetch16() + m6502.X;
|
||||
}
|
||||
|
||||
/**
|
||||
abs,Y .... absolute, Y-indexed OPC $LLHH,Y
|
||||
operand is address; effective address is address incremented by Y with carry **
|
||||
**/
|
||||
static inline uint16_t addr_abs_Y() {
|
||||
return fetch16() + m6502.Y;
|
||||
}
|
||||
|
||||
/**
|
||||
zpg .... zeropage OPC $LL
|
||||
operand is zeropage address (hi-byte is zero, address = $00LL)
|
||||
**/
|
||||
static inline uint16_t addr_zp() {
|
||||
return fetch();
|
||||
}
|
||||
|
||||
/**
|
||||
zpg,X .... zeropage, X-indexed OPC $LL,X
|
||||
operand is zeropage address;
|
||||
effective address is address incremented by X without carry **
|
||||
**/
|
||||
static inline uint16_t addr_zp_X() {
|
||||
return addr_zp() + m6502.X;
|
||||
}
|
||||
|
||||
/**
|
||||
zpg,Y .... zeropage, Y-indexed OPC $LL,Y
|
||||
operand is zeropage address;
|
||||
effective address is address incremented by Y without carry **
|
||||
**/
|
||||
static inline uint16_t addr_zp_Y() {
|
||||
return addr_zp() + m6502.Y;
|
||||
}
|
||||
|
||||
|
||||
#endif // __APPLE2_MMIO_H__
|
||||
|
54
A2Mac/Assets.xcassets/Amber.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "amber.light.64.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "amber..dark.64.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "amber.light.128.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "amber..dark.128.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
BIN
A2Mac/Assets.xcassets/Amber.imageset/amber..dark.128.png
vendored
Normal file
After Width: | Height: | Size: 800 B |
BIN
A2Mac/Assets.xcassets/Amber.imageset/amber..dark.64.png
vendored
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
A2Mac/Assets.xcassets/Amber.imageset/amber.light.128.png
vendored
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
A2Mac/Assets.xcassets/Amber.imageset/amber.light.64.png
vendored
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
A2Mac/Assets.xcassets/Amber.imageset/amber.phosphor-1.png
vendored
Normal file
After Width: | Height: | Size: 800 B |
BIN
A2Mac/Assets.xcassets/Amber.imageset/amber.phosphor.png
vendored
Normal file
After Width: | Height: | Size: 717 B |
54
A2Mac/Assets.xcassets/Chip.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "chip.light.64.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "chip.dark.64.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "chip.light.128.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "chip.dark.128.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
BIN
A2Mac/Assets.xcassets/Chip.imageset/chip.dark.128.png
vendored
Normal file
After Width: | Height: | Size: 7.8 KiB |
BIN
A2Mac/Assets.xcassets/Chip.imageset/chip.dark.64.png
vendored
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
A2Mac/Assets.xcassets/Chip.imageset/chip.dark.png
vendored
Normal file
After Width: | Height: | Size: 715 B |
BIN
A2Mac/Assets.xcassets/Chip.imageset/chip.light.128.png
vendored
Normal file
After Width: | Height: | Size: 8.1 KiB |
BIN
A2Mac/Assets.xcassets/Chip.imageset/chip.light.64.png
vendored
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
A2Mac/Assets.xcassets/Chip.imageset/chip.light.png
vendored
Normal file
After Width: | Height: | Size: 922 B |
54
A2Mac/Assets.xcassets/Color.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "color.light.64.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "color.dark.64.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "color.light.128.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "color.dark.128.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
BIN
A2Mac/Assets.xcassets/Color.imageset/color.dark.128.png
vendored
Normal file
After Width: | Height: | Size: 859 B |
BIN
A2Mac/Assets.xcassets/Color.imageset/color.dark.64.png
vendored
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
A2Mac/Assets.xcassets/Color.imageset/color.dark.png
vendored
Normal file
After Width: | Height: | Size: 859 B |
BIN
A2Mac/Assets.xcassets/Color.imageset/color.light.128.png
vendored
Normal file
After Width: | Height: | Size: 838 B |
BIN
A2Mac/Assets.xcassets/Color.imageset/color.light.64.png
vendored
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
A2Mac/Assets.xcassets/Color.imageset/color.light.png
vendored
Normal file
After Width: | Height: | Size: 838 B |
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
54
A2Mac/Assets.xcassets/Copy.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "copy.light.64.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "copy.dark.64.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "copy.light.128.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "copy.dark.128.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
BIN
A2Mac/Assets.xcassets/Copy.imageset/copy.dark.128.png
vendored
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
A2Mac/Assets.xcassets/Copy.imageset/copy.dark.64.png
vendored
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
A2Mac/Assets.xcassets/Copy.imageset/copy.light.128.png
vendored
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
A2Mac/Assets.xcassets/Copy.imageset/copy.light.64.png
vendored
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
A2Mac/Assets.xcassets/Copy.imageset/doc.on.doc.dark.png
vendored
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
A2Mac/Assets.xcassets/Copy.imageset/doc.on.doc.light.png
vendored
Normal file
After Width: | Height: | Size: 3.2 KiB |
52
A2Mac/Assets.xcassets/Debugger.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,52 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "ant_dark.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "ant.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
BIN
A2Mac/Assets.xcassets/Debugger.imageset/ant.png
vendored
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
A2Mac/Assets.xcassets/Debugger.imageset/ant_dark.png
vendored
Normal file
After Width: | Height: | Size: 6.2 KiB |
BIN
A2Mac/Assets.xcassets/Disk 1.imageset/Apple Disk II D1 Open Dark.png
vendored
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
A2Mac/Assets.xcassets/Disk 1.imageset/Apple Disk II D1 Open Light.png
vendored
Normal file
After Width: | Height: | Size: 14 KiB |
52
A2Mac/Assets.xcassets/Disk 1.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,52 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x",
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "Apple Disk II D1 Open Light.png",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "Apple Disk II D1 Open 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"
|
||||
}
|
||||
}
|
BIN
A2Mac/Assets.xcassets/Disk 2.imageset/Apple Disk II D2 Open Dark.png
vendored
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
A2Mac/Assets.xcassets/Disk 2.imageset/Apple Disk II D2 Open Light.png
vendored
Normal file
After Width: | Height: | Size: 14 KiB |
52
A2Mac/Assets.xcassets/Disk 2.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,52 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x",
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "Apple Disk II D2 Open Light.png",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "Apple Disk II D2 Open 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"
|
||||
}
|
||||
}
|
54
A2Mac/Assets.xcassets/Green.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "green.light.64.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "green.dark.64.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "green.light.128.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "green.dark.128.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
BIN
A2Mac/Assets.xcassets/Green.imageset/color.light.png
vendored
Normal file
After Width: | Height: | Size: 697 B |
BIN
A2Mac/Assets.xcassets/Green.imageset/green.dark.128.png
vendored
Normal file
After Width: | Height: | Size: 810 B |
BIN
A2Mac/Assets.xcassets/Green.imageset/green.dark.64.png
vendored
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
A2Mac/Assets.xcassets/Green.imageset/green.light.128.png
vendored
Normal file
After Width: | Height: | Size: 697 B |
BIN
A2Mac/Assets.xcassets/Green.imageset/green.light.64.png
vendored
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
A2Mac/Assets.xcassets/Green.imageset/green.phosphor.dark.png
vendored
Normal file
After Width: | Height: | Size: 810 B |
54
A2Mac/Assets.xcassets/Joystick.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "joystick.light.64.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "joystick.dark.64.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "joystick.light.128.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "joystick.dark.128.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
BIN
A2Mac/Assets.xcassets/Joystick.imageset/joystick.dark.128.png
vendored
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
A2Mac/Assets.xcassets/Joystick.imageset/joystick.dark.64.png
vendored
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
A2Mac/Assets.xcassets/Joystick.imageset/joystick.dark.png
vendored
Normal file
After Width: | Height: | Size: 9.7 KiB |
BIN
A2Mac/Assets.xcassets/Joystick.imageset/joystick.light.128.png
vendored
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
A2Mac/Assets.xcassets/Joystick.imageset/joystick.light.64.png
vendored
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
A2Mac/Assets.xcassets/Joystick.imageset/joystick.light.png
vendored
Normal file
After Width: | Height: | Size: 11 KiB |
54
A2Mac/Assets.xcassets/Old Monitor.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "old.monitor.light.64.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "old.monitor.dark.64.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "old.monitor.light.128.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "old.monitor.dark.128.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
BIN
A2Mac/Assets.xcassets/Old Monitor.imageset/old.monitor.dark.128.png
vendored
Normal file
After Width: | Height: | Size: 748 B |
BIN
A2Mac/Assets.xcassets/Old Monitor.imageset/old.monitor.dark.64.png
vendored
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
A2Mac/Assets.xcassets/Old Monitor.imageset/old.monitor.dark.png
vendored
Normal file
After Width: | Height: | Size: 748 B |
BIN
A2Mac/Assets.xcassets/Old Monitor.imageset/old.monitor.light.128.png
vendored
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
A2Mac/Assets.xcassets/Old Monitor.imageset/old.monitor.light.64.png
vendored
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
A2Mac/Assets.xcassets/Old Monitor.imageset/old.monitor.light.png
vendored
Normal file
After Width: | Height: | Size: 1.0 KiB |
54
A2Mac/Assets.xcassets/Paste.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "paste.light.64.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "paste.dark.64.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "paste.light.128.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "paste.dark.128.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
BIN
A2Mac/Assets.xcassets/Paste.imageset/doc.on.clipboard.dark.png
vendored
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
A2Mac/Assets.xcassets/Paste.imageset/doc.on.clipboard.light.png
vendored
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
A2Mac/Assets.xcassets/Paste.imageset/paste.dark.128.png
vendored
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
A2Mac/Assets.xcassets/Paste.imageset/paste.dark.64.png
vendored
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
A2Mac/Assets.xcassets/Paste.imageset/paste.light.128.png
vendored
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
A2Mac/Assets.xcassets/Paste.imageset/paste.light.64.png
vendored
Normal file
After Width: | Height: | Size: 3.0 KiB |
54
A2Mac/Assets.xcassets/Power.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "power.light.64.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "power.dark.64.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "power.light.128.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "power.dark.128.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
BIN
A2Mac/Assets.xcassets/Power.imageset/power.dark.128.png
vendored
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
A2Mac/Assets.xcassets/Power.imageset/power.dark.64.png
vendored
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
A2Mac/Assets.xcassets/Power.imageset/power.dark.png
vendored
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
A2Mac/Assets.xcassets/Power.imageset/power.light.128.png
vendored
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
A2Mac/Assets.xcassets/Power.imageset/power.light.64.png
vendored
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
A2Mac/Assets.xcassets/Power.imageset/power.light.png
vendored
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
A2Mac/Assets.xcassets/Quick Disk.imageset/Apple Disk II thick.light.png
vendored
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
A2Mac/Assets.xcassets/Quick Disk.imageset/Apple Disk II thick.png
vendored
Normal file
After Width: | Height: | Size: 13 KiB |
52
A2Mac/Assets.xcassets/Quick Disk.imageset/Contents.json
vendored
Normal file
|
@ -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"
|
||||
}
|
||||
}
|
54
A2Mac/Assets.xcassets/Reset.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "reset.light.64.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "reset.dark.64.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "reset.light.128.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"filename" : "reset.dark.128.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|