hoglet67 / PiTubeDirect

Bare-metal Raspberry Pi project that attaches to the Acorn TUBE interface and emulates many BBC Micro Co Processors
GNU General Public License v3.0
187 stars 23 forks source link

Frame Buffer: POINT's offscreen check is not right #175

Closed BigEd closed 1 year ago

BigEd commented 1 year ago

Running lovebug's program at https://stardot.org.uk/forums/viewtopic.php?f=2&t=27265 doesn't work in PIVDU 2 mode. (It's a Langton's Ant program.)

A fairly minimal test in native ARM which involves moving the graphics origin:

*A.
*PIVDU 2
MODE 4
VDU 29,640;512;
PLOT 69,-50,-50
PRINT POINT(-50,-50)

The POINT returns -1 which indicates off-screen, and that's wrong.

hoglet67 commented 1 year ago

We should make sure to fix this for Indigo!

hoglet67 commented 1 year ago

Fixed in indigo-alpha2