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

Completely revamp optimization algorithms for safety and ability

This commit is contained in:
Jason Turner
2021-05-21 11:26:49 -06:00
parent a1806a4ae2
commit af0a07b913
3 changed files with 271 additions and 161 deletions

View File

@@ -24,21 +24,6 @@ static void puts(uint8_t x, uint8_t y, std::string_view str) {
}
int main() {
std::uint8_t x = 0;
std::uint8_t y = 0;
while (true) {
puts(x, y, "hello commodore!");
x += 3;
++y;
if (x > 26) {
x = 0;
}
if (y>25) {
y = 0;
}
}
puts(15, 10, "hello commodore!");
}