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:
@@ -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!");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user