Publish VCC Plus OSS source distribution for 3.6.2 build 60
This commit is contained in:
commit
c652a5276d
1192 files changed
+272368
No files matched your search
@@ -0,0 +1,31 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
#include "../guest-captures.h"
|
||||
|
||||
using namespace BasicDiskTests;
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
try {
|
||||
require(argc == 5, "Usage: profiles ROMs CPU rgb-hd|sdc disk");
|
||||
const auto profile = std::string(argv[3]) == "sdc" ? Profile::sdc : Profile::rgbHD;
|
||||
const auto cpu = std::string(argv[2]) == "6809" ? Processor::MC6809 : Processor::HD6309;
|
||||
Session guest(argv[1], argv[4], cpu, profile);
|
||||
guest.type("LOADM\"RECORDER\":EXEC\r");
|
||||
guest.until("SELECT AUDIO");
|
||||
guest.frames(15);
|
||||
guest.type("1");
|
||||
guest.frames(500); // Finish painting both GIME pages before pressing Space.
|
||||
guest.type(" ");
|
||||
guest.frames(120);
|
||||
require(guest.machine.debuggerMemoryRange(0x50000, 1, true).bytes[0] == 7,
|
||||
"Keyboard pilot did not record the starting sector in bank $28");
|
||||
guest.type("S");
|
||||
guest.frames(120); // Return to hardware text before querying the guest screen.
|
||||
guest.until("SAVED LOG01.TXT");
|
||||
guest.verifyReturn();
|
||||
saveVolume(guest, "returned.dsk");
|
||||
} catch (const std::exception& error) {
|
||||
std::cerr << error.what() << '\n';
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user