Search the Community
Showing results for tags 'DL'.
Found 1 result
-
I’m having a few programming issues (which I don’t believe are related to the development language) that I thought I’d throw out to see if anyone has an idea. As per the attached DL fragment, I have set up a scrolling playfield using an entire page per line. As that the LMS instructions are set to the start of each page, and I write to the beginning of those pages, I have every reason to believe that the data I write should show up exactly at the left hand edge of the screen. It does not. The screen appears to be scrolled over 4 bytes to the right, and even with the LMS set to the start (0), I can’t see the start of the data. 112 ;blank lines 128 ;DLI 112 ;blank lines 194,192,63 ;text line 0 ;blank line 116,0,8 ;scrolling Antic 2 116,0,9 ;scrolling Antic 2 116,0,10 ;scrolling Antic 2 116,0,11 ;scrolling Antic 2 116,0,12 ;scrolling Antic 2 I can get around this issue by offsetting my writes by 4 bytes, but this issue continues to bug me. As per the attached executable, I’m getting some corruption on the right hand side of the playfield. Debug mode of Altirra shows nothing there. Code written to dump the locations shows zeros in that area, but apparently random $0F’s written and cleared throughout the lower part of RAM (under 10K) as well as the more stable phantom corruption at the far right. In the attached program, pressing “L” will print all non-zero locations between page 8 and page 32 – make sure Altirra’s printer is configured and activated. “L” will fill the same area with $03’s.You will notice that the three bytes of corruption at the right side cannot be over written. Any ideas for either of these issues would be very welcome! Thank you! TEST1.atr