Whats Gone Wrong - Pixels Everywhere!
Changed one small piece of code, that doesnt do anything to the screen and the following has happened:

None of the pixels line up with any parts of the previous text and if follows a definate pattern. I have spent most of the evening trying to track this down.
Before I go any further I wondered whether anybody else had seen a similar pattern?
Change the code back and its fine again, but not what I want!
Carl
None of the pixels line up with any parts of the previous text and if follows a definate pattern. I have spent most of the evening trying to track this down.
Before I go any further I wondered whether anybody else had seen a similar pattern?
Change the code back and its fine again, but not what I want!
Carl
Post edited by carlinski on
Comments
Suggests you have inadvertently messed with the rendering or scrolling code. ;-)
Or perhaps the stack is being polluted.
Write games in C using Z88DK and SP1
I have a function called displayObjects, which when called normally is fine. When called with the A register set to FF, it is designed to display the objects carried, which it does, but causes the pixel problem.
I think your right though, the pixels do follow a pattern of previous lines (nearly but not quite). I will relook at the scroll routine, which doesnt use any buffers, just the LDIR command. Is there anything to beware of there?
Carl
Thanks for your assistance along the way. Just nice to know your not on your own!