Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BASIC] Prevent OLD command from hanging when run without a program i…
…n memory (X16Community#237) Should also prevent a needless freeze when loading a non-BASIC program into low ram by mistake * Initialize a couple of memory locations to zero to prevent OLD from hanging * Remove changes as they do not work on reset * Ensore OLD function exits if index rolls over. This is to solve the issue where OLD would hang if there is no program present in memory. If index rollover is detected, 0's will be written to the two first bytes of txttab ($0801) to indicate that there is no BASIC program in memory. * Removing commented abandoned approach * Clarify comments, save a byte --------- Co-authored-by: mooinglemur <[email protected]>
- Loading branch information