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.
bbc micro/electron/atom/risc os coding queries and routines
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.