The issue is still there in my latest version, so it is definitely something I need to address. Possibly a rounding error, this shows it too:dhr2 wrote: ↑Fri Sep 09, 2022 1:09 pm Hello,
I've noticed a bug in Brandy related to the behaviour of graphics drawing commands when the coordinates are outside of the visible screen area.
This program demonstrates it:On the BBC Micro it produces a consistent smooth full screen checkerboard pixel pattern, whereas on Brandy a line appears in the middle of the screen.Code: Select all
MODE 0 FOR i =-1280 TO 1280 STEP 8 MOVE i,0: DRAW i+1024,1024 NEXT
screenshot_Fri09Sep2022__13_03_22.png
screenshot_Fri09Sep2022__13_02_42.png
This program produces a similar result but the pattern of the discrepancy is a bit different:Apologies if this issue has already been fixed upstream, I'm testing this using the version of Matrix Brandy supplied by Debian Bookworm as my main desktop system is currently broken in such a way that I can't install the SDL1.2 dev packages...Code: Select all
MODE 0 FOR i =-1024 TO 1024 STEP 8 MOVE 0,i: DRAW 1280,i+1024 NEXT
Code: Select all
MODE 1: DRAW 1024,1024