diff --git a/Machines/Commodore/Plus4/Plus4.cpp b/Machines/Commodore/Plus4/Plus4.cpp new file mode 100644 index 000000000..852a99474 --- /dev/null +++ b/Machines/Commodore/Plus4/Plus4.cpp @@ -0,0 +1,20 @@ +// +// Plus4.cpp +// Clock Signal +// +// Created by Thomas Harte on 06/12/2024. +// Copyright © 2024 Thomas Harte. All rights reserved. +// + +#include "Plus4.hpp" + +using namespace Commodore::Plus4; + +std::unique_ptr Machine::Plus4( + const Analyser::Static::Target *target, + const ROMMachine::ROMFetcher &rom_fetcher +) { + (void)target; + (void)rom_fetcher; + return nullptr; +} diff --git a/Machines/Commodore/Plus4/Plus4.hpp b/Machines/Commodore/Plus4/Plus4.hpp new file mode 100644 index 000000000..c2c6d4459 --- /dev/null +++ b/Machines/Commodore/Plus4/Plus4.hpp @@ -0,0 +1,25 @@ +// +// Plus4.hpp +// Clock Signal +// +// Created by Thomas Harte on 06/12/2024. +// Copyright © 2024 Thomas Harte. All rights reserved. +// + +#pragma once + +#include "../../../Analyser/Static/StaticAnalyser.hpp" +#include "../../ROMMachine.hpp" + +#include + +namespace Commodore::Plus4 { + +class Machine { +public: + virtual ~Machine() = default; + + static std::unique_ptr Plus4(const Analyser::Static::Target *, const ROMMachine::ROMFetcher &); +}; + +} diff --git a/OSBindings/Mac/Clock Signal.xcodeproj/project.pbxproj b/OSBindings/Mac/Clock Signal.xcodeproj/project.pbxproj index 2eb27a5c2..cd3ed33d3 100644 --- a/OSBindings/Mac/Clock Signal.xcodeproj/project.pbxproj +++ b/OSBindings/Mac/Clock Signal.xcodeproj/project.pbxproj @@ -385,6 +385,8 @@ 4B59199C1DAC6C46005BB85C /* OricTAP.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4B59199A1DAC6C46005BB85C /* OricTAP.cpp */; }; 4B595FAD2086DFBA0083CAA8 /* AudioToggle.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4B595FAC2086DFBA0083CAA8 /* AudioToggle.cpp */; }; 4B595FAE2086DFBA0083CAA8 /* AudioToggle.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4B595FAC2086DFBA0083CAA8 /* AudioToggle.cpp */; }; + 4B596EB22D037E8800FBF4B1 /* Plus4.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4B596EB02D037E8800FBF4B1 /* Plus4.cpp */; }; + 4B596EB32D037E8800FBF4B1 /* Plus4.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4B596EB02D037E8800FBF4B1 /* Plus4.cpp */; }; 4B5B37312777C7FC0047F238 /* IPF.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4B5B372F2777C7FC0047F238 /* IPF.cpp */; }; 4B5B37322777C7FC0047F238 /* IPF.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4B5B372F2777C7FC0047F238 /* IPF.cpp */; }; 4B5D497C28513F870076E2F9 /* IPF.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4B5B372F2777C7FC0047F238 /* IPF.cpp */; }; @@ -1599,6 +1601,8 @@ 4B59199B1DAC6C46005BB85C /* OricTAP.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = OricTAP.hpp; sourceTree = ""; }; 4B595FAB2086DFBA0083CAA8 /* AudioToggle.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = AudioToggle.hpp; sourceTree = ""; }; 4B595FAC2086DFBA0083CAA8 /* AudioToggle.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AudioToggle.cpp; sourceTree = ""; }; + 4B596EAF2D037E8800FBF4B1 /* Plus4.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = Plus4.hpp; sourceTree = ""; }; + 4B596EB02D037E8800FBF4B1 /* Plus4.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = Plus4.cpp; sourceTree = ""; }; 4B5B372F2777C7FC0047F238 /* IPF.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = IPF.cpp; sourceTree = ""; }; 4B5B37302777C7FC0047F238 /* IPF.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = IPF.hpp; sourceTree = ""; }; 4B5D5C9525F56FC7001B4623 /* Spectrum.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = Spectrum.cpp; path = Parsers/Spectrum.cpp; sourceTree = ""; }; @@ -3269,10 +3273,11 @@ 4B4DC81D1D2C2425003C5BF8 /* Commodore */ = { isa = PBXGroup; children = ( - 4B4DC8251D2C2470003C5BF8 /* 1540 */, - 4B4DC81E1D2C2425003C5BF8 /* Vic-20 */, 4B4DC8291D2C27A4003C5BF8 /* SerialBus.cpp */, 4B4DC82A1D2C27A4003C5BF8 /* SerialBus.hpp */, + 4B4DC8251D2C2470003C5BF8 /* 1540 */, + 4B596EB12D037E8800FBF4B1 /* Plus4 */, + 4B4DC81E1D2C2425003C5BF8 /* Vic-20 */, ); path = Commodore; sourceTree = ""; @@ -3382,6 +3387,15 @@ path = AudioToggle; sourceTree = ""; }; + 4B596EB12D037E8800FBF4B1 /* Plus4 */ = { + isa = PBXGroup; + children = ( + 4B596EAF2D037E8800FBF4B1 /* Plus4.hpp */, + 4B596EB02D037E8800FBF4B1 /* Plus4.cpp */, + ); + path = Plus4; + sourceTree = ""; + }; 4B643F3B1D77AD6D00D431D6 /* StaticAnalyser */ = { isa = PBXGroup; children = ( @@ -6137,6 +6151,7 @@ 4B8318B822D3E566006DB630 /* IWM.cpp in Sources */, 4B0333B02094081A0050B93D /* AppleDSK.cpp in Sources */, 4B055AD41FAE9B0B0060FFFF /* Oric.cpp in Sources */, + 4B596EB22D037E8800FBF4B1 /* Plus4.cpp in Sources */, 4B055A921FAE85B50060FFFF /* PRG.cpp in Sources */, 4B055AAF1FAE85FD0060FFFF /* UnformattedTrack.cpp in Sources */, 4B055A7E1FAE84AA0060FFFF /* main.cpp in Sources */, @@ -6243,6 +6258,7 @@ 4B051C97266EF5F600CA44E8 /* CSAppleII.mm in Sources */, 4B0ACC2A23775819008902D0 /* Video.cpp in Sources */, 4B54C0BF1F8D8F450050900F /* Keyboard.cpp in Sources */, + 4B596EB32D037E8800FBF4B1 /* Plus4.cpp in Sources */, 4B3FE75E1F3CF68B00448EE4 /* CPM.cpp in Sources */, 423820112B17CBC800964EFE /* StaticAnalyser.cpp in Sources */, 4BC6236D26F4235400F83DFE /* Copper.cpp in Sources */,