Closed gardners closed 5 years ago
e.g.: 10 FOO 20 BAR 30 QUUX
Creates 3 validly linked lines. Deleting any 2 of them is fine, but when the last is deleted, $0801-$0802 contain a pointer that points to e.g., $FFF7
Basically the problem is the zero address pointer at the end of the program gets the length of the most recently deleted line deducted from it.
Fixed.
e.g.: 10 FOO 20 BAR 30 QUUX
Creates 3 validly linked lines. Deleting any 2 of them is fine, but when the last is deleted, $0801-$0802 contain a pointer that points to e.g., $FFF7
Basically the problem is the zero address pointer at the end of the program gets the length of the most recently deleted line deducted from it.