1
0
mirror of https://github.com/lefticus/6502-cpp.git synced 2025-07-14 23:23:59 +00:00

Simplify testing to look for start and stop conditions of code

This commit is contained in:
Jason Turner
2021-05-20 18:26:21 -06:00
parent 8894f4b1cf
commit a1806a4ae2
3 changed files with 6 additions and 14 deletions

View File

@ -65,10 +65,10 @@ std::vector<std::uint8_t> execute_c64_program(const std::string_view &name,
std::ofstream vice_script(vice_script_filename);
vice_script << fmt::format(
R"(
z 100000
until e5d1
l "{}" 0
keybuf run\n
z 100000
until e147
bsave "{}" 0 {:x} {:x}
quit
)",
@ -174,9 +174,9 @@ int main()
*reinterpret_cast<volatile unsigned char *>(i) = 32;
}
while (true) {
// while (true) {
// don't allow main to exit, otherwise we get READY. on the screen
}
// }
}
)";
@ -221,9 +221,9 @@ int main()
}
}
while (true) {
// while (true) {
// don't allow main to exit, otherwise we get READY. on the screen
}
// }
}
)";