From e8c8b8375f1062dca2e8dfda05e7ba3886474616 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesu=CC=81s=20A=2E=20A=CC=81lvarez?= Date: Wed, 27 Sep 2023 19:42:36 +0200 Subject: [PATCH] =?UTF-8?q?add=20512=C3=97384=20variant=20of=20Mac=20II?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Mini vMac.xcodeproj/project.pbxproj | 215 ++++++++++++++++ .../xcschemes/MacII-512x384.xcscheme | 66 +++++ Mini vMac/MacII-512x384/CNFUDALL.h | 47 ++++ Mini vMac/MacII-512x384/CNFUDOSG.h | 33 +++ Mini vMac/MacII-512x384/CNFUDPIC.h | 238 ++++++++++++++++++ 5 files changed, 599 insertions(+) create mode 100644 Mini vMac.xcodeproj/xcshareddata/xcschemes/MacII-512x384.xcscheme create mode 100644 Mini vMac/MacII-512x384/CNFUDALL.h create mode 100644 Mini vMac/MacII-512x384/CNFUDOSG.h create mode 100644 Mini vMac/MacII-512x384/CNFUDPIC.h diff --git a/Mini vMac.xcodeproj/project.pbxproj b/Mini vMac.xcodeproj/project.pbxproj index 74a8a2e..b562202 100644 --- a/Mini vMac.xcodeproj/project.pbxproj +++ b/Mini vMac.xcodeproj/project.pbxproj @@ -35,6 +35,28 @@ 28BDBEB11D230EEB0072ED5B /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 283423EC1CFA329C0088B634 /* Icon.png */; }; 28BDBEB21D230EEB0072ED5B /* Icon@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 283423ED1CFA329C0088B634 /* Icon@2x.png */; }; 28BDBEB31D230EEB0072ED5B /* Icon@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = 283423EE1CFA329C0088B634 /* Icon@3x.png */; }; + 28C67BD22AC49E46000C7540 /* SCSIEMDV.c in Sources */ = {isa = PBXBuildFile; fileRef = 28E3B7D9251D0F13007C273F /* SCSIEMDV.c */; }; + 28C67BD32AC49E46000C7540 /* MINEM68K.c in Sources */ = {isa = PBXBuildFile; fileRef = 28E3B7D3251D0F13007C273F /* MINEM68K.c */; }; + 28C67BD42AC49E46000C7540 /* GLOBGLUE.c in Sources */ = {isa = PBXBuildFile; fileRef = 28E3B7CE251D0F12007C273F /* GLOBGLUE.c */; }; + 28C67BD52AC49E46000C7540 /* M68KITAB.c in Sources */ = {isa = PBXBuildFile; fileRef = 28E3B7CF251D0F12007C273F /* M68KITAB.c */; }; + 28C67BD62AC49E46000C7540 /* PROGMAIN.c in Sources */ = {isa = PBXBuildFile; fileRef = 28E3B7D0251D0F12007C273F /* PROGMAIN.c */; }; + 28C67BD72AC49E46000C7540 /* ADBEMDEV.c in Sources */ = {isa = PBXBuildFile; fileRef = 28E3B7D2251D0F13007C273F /* ADBEMDEV.c */; }; + 28C67BD82AC49E46000C7540 /* VIA2EMDV.c in Sources */ = {isa = PBXBuildFile; fileRef = 28E3B7D6251D0F13007C273F /* VIA2EMDV.c */; }; + 28C67BD92AC49E46000C7540 /* IWMEMDEV.c in Sources */ = {isa = PBXBuildFile; fileRef = 28E3B7D5251D0F13007C273F /* IWMEMDEV.c */; }; + 28C67BDA2AC49E46000C7540 /* VIAEMDEV.c in Sources */ = {isa = PBXBuildFile; fileRef = 28E3B7DC251D0F13007C273F /* VIAEMDEV.c */; }; + 28C67BDB2AC49E46000C7540 /* SCRNEMDV.c in Sources */ = {isa = PBXBuildFile; fileRef = 28E3B7D4251D0F13007C273F /* SCRNEMDV.c */; }; + 28C67BDC2AC49E46000C7540 /* SONYEMDV.c in Sources */ = {isa = PBXBuildFile; fileRef = 28E3B7D1251D0F12007C273F /* SONYEMDV.c */; }; + 28C67BDD2AC49E46000C7540 /* ROMEMDEV.c in Sources */ = {isa = PBXBuildFile; fileRef = 28E3B7DA251D0F13007C273F /* ROMEMDEV.c */; }; + 28C67BDE2AC49E46000C7540 /* MYOSGLUE.m in Sources */ = {isa = PBXBuildFile; fileRef = 28CE8ECB1CD4CDC500FE25A8 /* MYOSGLUE.m */; }; + 28C67BDF2AC49E46000C7540 /* RTCEMDEV.c in Sources */ = {isa = PBXBuildFile; fileRef = 28E3B7CD251D0F12007C273F /* RTCEMDEV.c */; }; + 28C67BE02AC49E46000C7540 /* SCCEMDEV.c in Sources */ = {isa = PBXBuildFile; fileRef = 28E3B7D7251D0F13007C273F /* SCCEMDEV.c */; }; + 28C67BE12AC49E46000C7540 /* MOUSEMDV.c in Sources */ = {isa = PBXBuildFile; fileRef = 28E3B7CC251D0F12007C273F /* MOUSEMDV.c */; }; + 28C67BE22AC49E46000C7540 /* VIDEMDEV.c in Sources */ = {isa = PBXBuildFile; fileRef = 28E3B7D8251D0F13007C273F /* VIDEMDEV.c */; }; + 28C67BE32AC49E46000C7540 /* ASCEMDEV.c in Sources */ = {isa = PBXBuildFile; fileRef = 28E3B7DE251D0F13007C273F /* ASCEMDEV.c */; }; + 28C67BE72AC49E46000C7540 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 283423EC1CFA329C0088B634 /* Icon.png */; }; + 28C67BE82AC49E46000C7540 /* Icon@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 283423ED1CFA329C0088B634 /* Icon@2x.png */; }; + 28C67BE92AC49E46000C7540 /* Icon@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = 283423EE1CFA329C0088B634 /* Icon@3x.png */; }; + 28C67BF62AC49FA1000C7540 /* MacII-512x384.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 28C67BEE2AC49E46000C7540 /* MacII-512x384.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 28CE8ED61CD4F56C00FE25A8 /* ScreenView.m in Sources */ = {isa = PBXBuildFile; fileRef = 28CE8ED51CD4F56C00FE25A8 /* ScreenView.m */; }; 28D5A3FD1CD6868F001A33F6 /* TouchScreen.m in Sources */ = {isa = PBXBuildFile; fileRef = 28D5A3FC1CD6868E001A33F6 /* TouchScreen.m */; }; 28E3B7DF251D0F13007C273F /* MOUSEMDV.c in Sources */ = {isa = PBXBuildFile; fileRef = 28E3B7CC251D0F12007C273F /* MOUSEMDV.c */; }; @@ -162,6 +184,13 @@ remoteGlobalIDString = 289710B81CFB11BF0089D463; remoteInfo = Mac128K; }; + 28C67BF42AC49F8D000C7540 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 28F676B51CD15E0B00FC6FA6 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 28C67BD02AC49E46000C7540; + remoteInfo = "MacII-512x384"; + }; /* End PBXContainerItemProxy section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -171,6 +200,7 @@ dstPath = ""; dstSubfolderSpec = 10; files = ( + 28C67BF62AC49FA1000C7540 /* MacII-512x384.framework in Embed Frameworks */, 281BB6C91D231F7700BF87B0 /* MacII-640x480.framework in Embed Frameworks */, 289710DF1CFB12660089D463 /* Mac128K.framework in Embed Frameworks */, 283423A31CF9C5880088B634 /* MacII.framework in Embed Frameworks */, @@ -245,6 +275,10 @@ 28BA89861CE73FBC00A98104 /* MNVMApplication.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MNVMApplication.h; sourceTree = ""; }; 28BA89871CE73FBC00A98104 /* MNVMApplication.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MNVMApplication.m; sourceTree = ""; }; 28BDBEB71D230EEB0072ED5B /* MacII-640x480.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = "MacII-640x480.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + 28C67BEE2AC49E46000C7540 /* MacII-512x384.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = "MacII-512x384.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + 28C67BF12AC49F0F000C7540 /* CNFUDALL.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CNFUDALL.h; sourceTree = ""; }; + 28C67BF22AC49F0F000C7540 /* CNFUDPIC.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CNFUDPIC.h; sourceTree = ""; }; + 28C67BF32AC49F0F000C7540 /* CNFUDOSG.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CNFUDOSG.h; sourceTree = ""; }; 28CE8ECB1CD4CDC500FE25A8 /* MYOSGLUE.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MYOSGLUE.m; sourceTree = ""; }; 28CE8ED41CD4F56C00FE25A8 /* ScreenView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ScreenView.h; sourceTree = ""; }; 28CE8ED51CD4F56C00FE25A8 /* ScreenView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ScreenView.m; sourceTree = ""; }; @@ -367,6 +401,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 28C67BE42AC49E46000C7540 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 28F676BA1CD15E0B00FC6FA6 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -420,6 +461,7 @@ 283422F01CF8F3530088B634 /* Shared */, 283422CB1CF8EF8C0088B634 /* MacPlus4M */, 283423981CF9C5380088B634 /* MacII */, + 28C67BF02AC49F0F000C7540 /* MacII-512x384 */, 28BDBEB91D230F280072ED5B /* MacII-640x480 */, 289710D51CFB11D90089D463 /* Mac128K */, ); @@ -492,6 +534,16 @@ path = "MacII-640x480"; sourceTree = ""; }; + 28C67BF02AC49F0F000C7540 /* MacII-512x384 */ = { + isa = PBXGroup; + children = ( + 28C67BF12AC49F0F000C7540 /* CNFUDALL.h */, + 28C67BF22AC49F0F000C7540 /* CNFUDPIC.h */, + 28C67BF32AC49F0F000C7540 /* CNFUDOSG.h */, + ); + path = "MacII-512x384"; + sourceTree = ""; + }; 28E3B7CB251D0EEC007C273F /* src */ = { isa = PBXGroup; children = ( @@ -539,6 +591,7 @@ 283423961CF9C4CB0088B634 /* MacII.framework */, 289710D41CFB11BF0089D463 /* Mac128K.framework */, 28BDBEB71D230EEB0072ED5B /* MacII-640x480.framework */, + 28C67BEE2AC49E46000C7540 /* MacII-512x384.framework */, ); name = Products; sourceTree = ""; @@ -691,6 +744,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 28C67BE52AC49E46000C7540 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ @@ -770,6 +830,25 @@ productReference = 28BDBEB71D230EEB0072ED5B /* MacII-640x480.framework */; productType = "com.apple.product-type.framework"; }; + 28C67BD02AC49E46000C7540 /* MacII-512x384 */ = { + isa = PBXNativeTarget; + buildConfigurationList = 28C67BEB2AC49E46000C7540 /* Build configuration list for PBXNativeTarget "MacII-512x384" */; + buildPhases = ( + 28C67BD12AC49E46000C7540 /* Sources */, + 28C67BE42AC49E46000C7540 /* Frameworks */, + 28C67BE52AC49E46000C7540 /* Headers */, + 28C67BE62AC49E46000C7540 /* Resources */, + 28C67BEA2AC49E46000C7540 /* Add capabilities to Info.plist */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "MacII-512x384"; + productName = "minivmac-plus4m"; + productReference = 28C67BEE2AC49E46000C7540 /* MacII-512x384.framework */; + productType = "com.apple.product-type.framework"; + }; 28F676BC1CD15E0B00FC6FA6 /* Mini vMac */ = { isa = PBXNativeTarget; buildConfigurationList = 28F676D41CD15E0B00FC6FA6 /* Build configuration list for PBXNativeTarget "Mini vMac" */; @@ -784,6 +863,7 @@ buildRules = ( ); dependencies = ( + 28C67BF52AC49F8D000C7540 /* PBXTargetDependency */, 2872E19E2AC48D770014F276 /* PBXTargetDependency */, 289710E11CFB126D0089D463 /* PBXTargetDependency */, 283422D01CF8EF8C0088B634 /* PBXTargetDependency */, @@ -903,6 +983,7 @@ 2834237D1CF9C4CB0088B634 /* MacII */, 289710B81CFB11BF0089D463 /* Mac128K */, 28BDBE9A1D230EEB0072ED5B /* MacII-640x480 */, + 28C67BD02AC49E46000C7540 /* MacII-512x384 */, ); }; /* End PBXProject section */ @@ -948,6 +1029,16 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 28C67BE62AC49E46000C7540 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 28C67BE72AC49E46000C7540 /* Icon.png in Resources */, + 28C67BE82AC49E46000C7540 /* Icon@2x.png in Resources */, + 28C67BE92AC49E46000C7540 /* Icon@3x.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 28F676BB1CD15E0B00FC6FA6 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -978,6 +1069,21 @@ shellPath = /bin/sh; shellScript = "cd \"$BUILT_PRODUCTS_DIR/$FRAMEWORKS_FOLDER_PATH\"\nrm -rf *.mnvm\nfor name in *.framework\ndo\n mv \"$name\" \"${name%.framework}.mnvm\"\ndone\n"; }; + 28C67BEA2AC49E46000C7540 /* Add capabilities to Info.plist */ = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Add capabilities to Info.plist"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "PlistBuddy=/usr/libexec/PlistBuddy\ncc \"-D$INFOPLIST_PREPROCESSOR_DEFINITIONS\" -P -E -x c -include \"$INFOPLIST_PREFIX_HEADER\" \"$SRCROOT/Mini vMac/PlugIn-Capabilities.plist.xml\" -o \"$TARGET_TEMP_DIR/Capabilities.plist\"\n$PlistBuddy -c \"Merge '$TARGET_TEMP_DIR/Capabilities.plist'\" \"$TARGET_BUILD_DIR/$INFOPLIST_PATH\"\n"; + }; 28F6B4CD1CF76D88002D76D0 /* Set Git version in Info.plist */ = { isa = PBXShellScriptBuildPhase; alwaysOutOfDate = 1; @@ -1152,6 +1258,31 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 28C67BD12AC49E46000C7540 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 28C67BD22AC49E46000C7540 /* SCSIEMDV.c in Sources */, + 28C67BD32AC49E46000C7540 /* MINEM68K.c in Sources */, + 28C67BD42AC49E46000C7540 /* GLOBGLUE.c in Sources */, + 28C67BD52AC49E46000C7540 /* M68KITAB.c in Sources */, + 28C67BD62AC49E46000C7540 /* PROGMAIN.c in Sources */, + 28C67BD72AC49E46000C7540 /* ADBEMDEV.c in Sources */, + 28C67BD82AC49E46000C7540 /* VIA2EMDV.c in Sources */, + 28C67BD92AC49E46000C7540 /* IWMEMDEV.c in Sources */, + 28C67BDA2AC49E46000C7540 /* VIAEMDEV.c in Sources */, + 28C67BDB2AC49E46000C7540 /* SCRNEMDV.c in Sources */, + 28C67BDC2AC49E46000C7540 /* SONYEMDV.c in Sources */, + 28C67BDD2AC49E46000C7540 /* ROMEMDEV.c in Sources */, + 28C67BDE2AC49E46000C7540 /* MYOSGLUE.m in Sources */, + 28C67BDF2AC49E46000C7540 /* RTCEMDEV.c in Sources */, + 28C67BE02AC49E46000C7540 /* SCCEMDEV.c in Sources */, + 28C67BE12AC49E46000C7540 /* MOUSEMDV.c in Sources */, + 28C67BE22AC49E46000C7540 /* VIDEMDEV.c in Sources */, + 28C67BE32AC49E46000C7540 /* ASCEMDEV.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 28F676B91CD15E0B00FC6FA6 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -1232,6 +1363,11 @@ target = 289710B81CFB11BF0089D463 /* Mac128K */; targetProxy = 289710E01CFB126D0089D463 /* PBXContainerItemProxy */; }; + 28C67BF52AC49F8D000C7540 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 28C67BD02AC49E46000C7540 /* MacII-512x384 */; + targetProxy = 28C67BF42AC49F8D000C7540 /* PBXContainerItemProxy */; + }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ @@ -1534,6 +1670,76 @@ }; name = Release; }; + 28C67BEC2AC49E46000C7540 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = NO; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "$(SRCROOT)/Mini vMac/PlugIn-Info.plist"; + INFOPLIST_PREFIX_HEADER = "$(SRCROOT)/Mini vMac/$(PRODUCT_NAME)/CNFUDALL.h"; + INFOPLIST_PREPROCESS = YES; + INFOPLIST_PREPROCESSOR_DEFINITIONS = PLIST_PREPROCESSOR; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_DYLIB_INSTALL_NAME = "$(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(EXECUTABLE_PATH)"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "net.namedfork.minivmac.macii-640x480"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + USER_HEADER_SEARCH_PATHS = ( + "\"$(SRCROOT)/Mini vMac/$(PRODUCT_NAME)\"", + "\"$(SRCROOT)/Mini vMac/\"", + "\"$(SRCROOT)/minivmac/src\"", + ); + USE_HEADERMAP = NO; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 28C67BED2AC49E46000C7540 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = NO; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "$(SRCROOT)/Mini vMac/PlugIn-Info.plist"; + INFOPLIST_PREFIX_HEADER = "$(SRCROOT)/Mini vMac/$(PRODUCT_NAME)/CNFUDALL.h"; + INFOPLIST_PREPROCESS = YES; + INFOPLIST_PREPROCESSOR_DEFINITIONS = PLIST_PREPROCESSOR; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_DYLIB_INSTALL_NAME = "$(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(EXECUTABLE_PATH)"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "net.namedfork.minivmac.macii-640x480"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + USER_HEADER_SEARCH_PATHS = ( + "\"$(SRCROOT)/Mini vMac/$(PRODUCT_NAME)\"", + "\"$(SRCROOT)/Mini vMac/\"", + "\"$(SRCROOT)/minivmac/src\"", + ); + USE_HEADERMAP = NO; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; 28F676D21CD15E0B00FC6FA6 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -1789,6 +1995,15 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + 28C67BEB2AC49E46000C7540 /* Build configuration list for PBXNativeTarget "MacII-512x384" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 28C67BEC2AC49E46000C7540 /* Debug */, + 28C67BED2AC49E46000C7540 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 28F676B81CD15E0B00FC6FA6 /* Build configuration list for PBXProject "Mini vMac" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/Mini vMac.xcodeproj/xcshareddata/xcschemes/MacII-512x384.xcscheme b/Mini vMac.xcodeproj/xcshareddata/xcschemes/MacII-512x384.xcscheme new file mode 100644 index 0000000..ad17728 --- /dev/null +++ b/Mini vMac.xcodeproj/xcshareddata/xcschemes/MacII-512x384.xcscheme @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Mini vMac/MacII-512x384/CNFUDALL.h b/Mini vMac/MacII-512x384/CNFUDALL.h new file mode 100644 index 0000000..f35bef4 --- /dev/null +++ b/Mini vMac/MacII-512x384/CNFUDALL.h @@ -0,0 +1,47 @@ +/* + see comment in OSGCOMUD.h + + This file is automatically generated by the build system, + which tries to know what options are valid in what + combinations. Avoid changing this file manually unless + you know what you're doing. +*/ + +#define MySoundEnabled 1 + +#define MySoundRecenterSilence 0 +#define kLn2SoundSampSz 3 + +#define dbglog_HAVE 0 +#define WantAbnormalReports 0 + +#define NumDrives 6 +#define NonDiskProtect 0 +#define IncludeSonyRawMode 1 +#define IncludeSonyGetName 1 +#define IncludeSonyNew 1 +#define IncludeSonyNameNew 1 + +#define vMacScreenHeight 384 +#define vMacScreenWidth 512 +#define vMacScreenDepth 3 + +#define kROM_Size 0x00040000 + +#define IncludePbufs 1 +#define NumPbufs 4 + +#define EnableMouseMotion 1 + +#define IncludeHostTextClipExchange 1 +#define EnableAutoSlow 1 +#define EmLocalTalk 0 +#define AutoLocation 1 +#define AutoTimeZone 1 + +#define MNVMBundleClassName MacIIEmulator512x384 + +#ifdef PLIST_PREPROCESSOR +#define MNVMBundleDisplayName Mac II +#define MNVMBundleGetInfoString 8M, 512×384 +#endif diff --git a/Mini vMac/MacII-512x384/CNFUDOSG.h b/Mini vMac/MacII-512x384/CNFUDOSG.h new file mode 100644 index 0000000..4e70be7 --- /dev/null +++ b/Mini vMac/MacII-512x384/CNFUDOSG.h @@ -0,0 +1,33 @@ +/* + see comment in OSGCOMUD.h + + This file is automatically generated by the build system, + which tries to know what options are valid in what + combinations. Avoid changing this file manually unless + you know what you're doing. +*/ + + +#define RomFileName "MacII.ROM" +#define kCheckSumRom_Size 0x00040000 +#define kRomCheckSum1 0x9779D2C4 +#define kRomCheckSum2 0x97221136 +#define RomStartCheckSum 1 +#define SaveDialogEnable 1 +#define EnableAltKeysMode 0 +#define VarFullScreen 1 +#define WantInitFullScreen 0 +#define MayFullScreen 1 +#define MayNotFullScreen 1 +#define WantInitMagnify 0 +#define EnableMagnify 1 +#define MyWindowScale 2 +#define WantInitRunInBackground 0 +#define WantInitNotAutoSlow 0 +#define WantInitSpeedValue 2 +#define WantEnblCtrlInt 1 +#define WantEnblCtrlRst 1 +#define WantEnblCtrlKtg 1 +#define UseControlKeys 1 +#define UseActvCode 0 +#define EnableDemoMsg 0 diff --git a/Mini vMac/MacII-512x384/CNFUDPIC.h b/Mini vMac/MacII-512x384/CNFUDPIC.h new file mode 100644 index 0000000..bb03fc2 --- /dev/null +++ b/Mini vMac/MacII-512x384/CNFUDPIC.h @@ -0,0 +1,238 @@ +/* + see comment in PICOMMON.h + + This file is automatically generated by the build system, + which tries to know what options are valid in what + combinations. Avoid changing this file manually unless + you know what you're doing. +*/ + +#define EmClassicKbrd 0 +#define EmADB 1 +#define EmRTC 1 +#define EmPMU 0 +#define EmVIA1 1 +#define EmVIA2 1 +#define Use68020 1 +#define EmFPU 1 +#define EmMMU 0 +#define EmClassicSnd 0 +#define EmASC 1 + +#define CurEmMd kEmMd_II + +#define kMyClockMult 2 + +#define WantCycByPriOp 1 +#define WantCloserCyc 0 + +#define kAutoSlowSubTicks 16384 +#define kAutoSlowTime 60 + +#define kRAMa_Size 0x00400000 +#define kRAMb_Size 0x00400000 + +#define IncludeVidMem 1 +#define kVidMemRAM_Size 0x00080000 + +#define EmVidCard 1 +#define kVidROM_Size 0x000800 + +#define MaxATTListN 20 +#define IncludeExtnPbufs 1 +#define IncludeExtnHostTextClipExchange 1 + +#define Sony_SupportDC42 1 +#define Sony_SupportTags 0 +#define Sony_WantChecksumsUpdated 0 +#define Sony_VerifyChecksums 0 +#define CaretBlinkTime 0x08 +#define SpeakerVol 0x07 +#define DoubleClickTime 0x08 +#define MenuBlink 0x03 +#define AutoKeyThresh 0x06 +#define AutoKeyRate 0x03 +#define pr_HilColRed 0x0000 +#define pr_HilColGreen 0x0000 +#define pr_HilColBlue 0x0000 + + +/* the Wire variables are 1/0, not true/false */ + +enum { + + Wire_unknown_SoundDisable, +#define SoundDisable (Wires[Wire_unknown_SoundDisable]) + + Wire_unknown_SoundVolb0, +#define SoundVolb0 (Wires[Wire_unknown_SoundVolb0]) + + Wire_unknown_SoundVolb1, +#define SoundVolb1 (Wires[Wire_unknown_SoundVolb1]) + + Wire_unknown_SoundVolb2, +#define SoundVolb2 (Wires[Wire_unknown_SoundVolb2]) + + Wire_VIA1_iA0_unknown, +#define VIA1_iA0 (Wires[Wire_VIA1_iA0_unknown]) + + Wire_VIA1_iA1_unknown, +#define VIA1_iA1 (Wires[Wire_VIA1_iA1_unknown]) + + Wire_VIA1_iA2_unknown, +#define VIA1_iA2 (Wires[Wire_VIA1_iA2_unknown]) + + Wire_VIA1_iB7_unknown, /* for compatibility with SoundDisable */ +#define VIA1_iB7 (Wires[Wire_VIA1_iB7_unknown]) + + Wire_VIA2_InterruptRequest, +#define VIA2_InterruptRequest (Wires[Wire_VIA2_InterruptRequest]) +#define VIA2_interruptChngNtfy VIAorSCCinterruptChngNtfy + + Wire_VIA2_iA7_unknown, +#define VIA2_iA7 (Wires[Wire_VIA2_iA7_unknown]) +#define VIA2_iA7_ChangeNtfy Addr32_ChangeNtfy + + Wire_VIA2_iA6_unknown, +#define VIA2_iA6 (Wires[Wire_VIA2_iA6_unknown]) +#define VIA2_iA6_ChangeNtfy Addr32_ChangeNtfy + + Wire_VIA2_iB7_unknown, +#define VIA2_iB7 (Wires[Wire_VIA2_iB7_unknown]) + + Wire_VIA2_iCB2_unknown, +#define VIA2_iCB2 (Wires[Wire_VIA2_iCB2_unknown]) + + Wire_VIA2_iB2_PowerOff, +#define VIA2_iB2 (Wires[Wire_VIA2_iB2_PowerOff]) +#define VIA2_iB2_ChangeNtfy PowerOff_ChangeNtfy + + Wire_VIA2_iB3_Addr32, +#define VIA2_iB3 (Wires[Wire_VIA2_iB3_Addr32]) +#define Addr32 (Wires[Wire_VIA2_iB3_Addr32]) +#define VIA2_iB3_ChangeNtfy Addr32_ChangeNtfy + + Wire_VIA1_iA4_MemOverlay, +#define MemOverlay (Wires[Wire_VIA1_iA4_MemOverlay]) +#define VIA1_iA4 (Wires[Wire_VIA1_iA4_MemOverlay]) +#define VIA1_iA4_ChangeNtfy MemOverlay_ChangeNtfy + + Wire_VIA1_iA5_IWMvSel, +#define IWMvSel (Wires[Wire_VIA1_iA5_IWMvSel]) +#define VIA1_iA5 (Wires[Wire_VIA1_iA5_IWMvSel]) + + Wire_VIA1_iA7_SCCwaitrq, +#define SCCwaitrq (Wires[Wire_VIA1_iA7_SCCwaitrq]) +#define VIA1_iA7 (Wires[Wire_VIA1_iA7_SCCwaitrq]) + + Wire_VIA1_iB0_RTCdataLine, +#define RTCdataLine (Wires[Wire_VIA1_iB0_RTCdataLine]) +#define VIA1_iB0 (Wires[Wire_VIA1_iB0_RTCdataLine]) +#define VIA1_iB0_ChangeNtfy RTCdataLine_ChangeNtfy + + Wire_VIA1_iB1_RTCclock, +#define RTCclock (Wires[Wire_VIA1_iB1_RTCclock]) +#define VIA1_iB1 (Wires[Wire_VIA1_iB1_RTCclock]) +#define VIA1_iB1_ChangeNtfy RTCclock_ChangeNtfy + + Wire_VIA1_iB2_RTCunEnabled, +#define RTCunEnabled (Wires[Wire_VIA1_iB2_RTCunEnabled]) +#define VIA1_iB2 (Wires[Wire_VIA1_iB2_RTCunEnabled]) +#define VIA1_iB2_ChangeNtfy RTCunEnabled_ChangeNtfy + + Wire_VIA1_iA3_SCCvSync, +#define VIA1_iA3 (Wires[Wire_VIA1_iA3_SCCvSync]) + + Wire_VIA1_iB3_ADB_Int, +#define ADB_Int (Wires[Wire_VIA1_iB3_ADB_Int]) +#define VIA1_iB3 (Wires[Wire_VIA1_iB3_ADB_Int]) + + Wire_VIA1_iB4_ADB_st0, +#define ADB_st0 (Wires[Wire_VIA1_iB4_ADB_st0]) +#define VIA1_iB4 (Wires[Wire_VIA1_iB4_ADB_st0]) +#define VIA1_iB4_ChangeNtfy ADBstate_ChangeNtfy + + Wire_VIA1_iB5_ADB_st1, +#define ADB_st1 (Wires[Wire_VIA1_iB5_ADB_st1]) +#define VIA1_iB5 (Wires[Wire_VIA1_iB5_ADB_st1]) +#define VIA1_iB5_ChangeNtfy ADBstate_ChangeNtfy + + Wire_VIA1_iCB2_ADB_Data, +#define ADB_Data (Wires[Wire_VIA1_iCB2_ADB_Data]) +#define VIA1_iCB2 (Wires[Wire_VIA1_iCB2_ADB_Data]) +#define VIA1_iCB2_ChangeNtfy ADB_DataLineChngNtfy + + Wire_VIA1_InterruptRequest, +#define VIA1_InterruptRequest (Wires[Wire_VIA1_InterruptRequest]) +#define VIA1_interruptChngNtfy VIAorSCCinterruptChngNtfy + + Wire_SCCInterruptRequest, +#define SCCInterruptRequest (Wires[Wire_SCCInterruptRequest]) +#define SCCinterruptChngNtfy VIAorSCCinterruptChngNtfy + + Wire_ADBMouseDisabled, +#define ADBMouseDisabled (Wires[Wire_ADBMouseDisabled]) + + Wire_VBLinterrupt, +#define Vid_VBLinterrupt (Wires[Wire_VBLinterrupt]) +#define VIA2_iA0 (Wires[Wire_VBLinterrupt]) + + Wire_VBLintunenbl, +#define Vid_VBLintunenbl (Wires[Wire_VBLintunenbl]) + + kNumWires +}; + + +/* VIA configuration */ +#define VIA1_ORA_FloatVal 0xBF + /* bit 6 used to check version of hardware */ +#define VIA1_ORB_FloatVal 0xFF +#define VIA1_ORA_CanIn 0x80 +#define VIA1_ORA_CanOut 0x3F +#define VIA1_ORB_CanIn 0x09 +#define VIA1_ORB_CanOut 0xB7 +#define VIA1_IER_Never0 0x00 +#define VIA1_IER_Never1 0x58 +#define VIA1_CB2modesAllowed 0x01 +#define VIA1_CA2modesAllowed 0x01 + +/* VIA 2 configuration */ +#define VIA2_ORA_FloatVal 0xFF +#define VIA2_ORB_FloatVal 0xFF +#define VIA2_ORA_CanIn 0x01 +#define VIA2_ORA_CanOut 0xC0 +#define VIA2_ORB_CanIn 0x00 +#define VIA2_ORB_CanOut 0x8C +#define VIA2_IER_Never0 0x00 +#define VIA2_IER_Never1 0xED +#define VIA2_CB2modesAllowed 0x01 +#define VIA2_CA2modesAllowed 0x01 + +#define Mouse_Enabled() (! ADBMouseDisabled) + +#define VIA1_iCA1_PulseNtfy VIA1_iCA1_Sixtieth_PulseNtfy +#define Sixtieth_PulseNtfy VIA1_iCA1_Sixtieth_PulseNtfy + +#define VIA1_iCA2_PulseNtfy VIA1_iCA2_RTC_OneSecond_PulseNtfy +#define RTC_OneSecond_PulseNtfy VIA1_iCA2_RTC_OneSecond_PulseNtfy + +#define VIA2_iCA1_PulseNtfy VIA2_iCA1_Vid_VBLinterrupt_PulseNtfy +#define Vid_VBLinterrupt_PulseNotify VIA2_iCA1_Vid_VBLinterrupt_PulseNtfy + +#define VIA2_iCB1_PulseNtfy VIA2_iCB1_ASC_interrupt_PulseNtfy +#define ASC_interrupt_PulseNtfy VIA2_iCB1_ASC_interrupt_PulseNtfy + +#define GetSoundInvertTime VIA1_GetT1InvertTime + +#define ADB_ShiftInData VIA1_ShiftOutData +#define ADB_ShiftOutData VIA1_ShiftInData + +#define kExtn_Block_Base 0x50F0C000 +#define kExtn_ln2Spc 5 + +#define kROM_Base 0x00800000 +#define kROM_ln2Spc 20 + +#define WantDisasm 0 +#define ExtraAbnormalReports 0