Even then, I've seen LLMs generate code with subtle bugs that even experienced programmers would trip on. For the Atari specifically, I've seen:
- Attempting to use BBC BASIC features in Atari BASIC, in ways that parsed but didn't work
- Corrupting OS memory due to using addresses only valid on an Apple II
- Using the ORG address for the C64, such that it corrupts memory if loaded from Atari DOS
- Assembly that subtly doesn't work because it uses 65C02 instructions that execute as a NOP on a 6502
- Interrupt handlers that occasionally corrupt registers
- Hardcoding internal OS addresses only valid for the OS ROM on one particular computer model
The POKE 77,0 in the article is another good example. ChatGPT labeled that as hiding the cursor, but that's wrong -- location 77 is the attract timer counter on the Atari OS. Clearing it to 0 periodically resets the timer that controls the OS's primitive screensaver. But in order for this to work, it has to be done periodically -- doing it at the start will just reset this timer once, after which attract mode will start in 9 minutes. So effectively, this is an easter egg that got snuck into the program, and even if the unrequested behavior was desirable, doesn't work.