While writing my text adventure I've encountered a fairly unusual error. When the text / inputs hit the bottom of the screen, instead of scrolling down the text / inputs start again at the top of the screen, overwriting what was written there previously. All I've done is to add some more objects to my list which utilises another block of RAM (&B00), previously my list was stored at &900 and &A00. Any obvious reason why this is happening?
I could restore a backup from a couple of days ago but I'd rather understand what I may have done wrong.
Discuss all aspects of programming here. From 8-bit through to modern architectures.
2 posts • Page 1 of 1
I think I've found the answer to my own error. By increasing the number of objects by one I accidentally also changed the end of a loop which had the same value as the number of objects. This ended up changing a zero page address around &D0 which seemed to changed the scrolling.