agon-bbc-basic
agon-bbc-basic copied to clipboard
Agon locks up when POS and/or VPOS is used with VDU 31
I presumed this was an issue with the VDP, but it was suggested that the issue might need to be fixed in BBC BASIC, so I am re-submitting the issue here.
Any of the following lines of code in BASIC or BASIC ADL will cause the Agon to lock-up:
10 VDU 31, POS, VPOS
20 VDU 31, 0, VPOS
30 VDU 31, POS, 0
The VDP should handle the evaluation of POS and VPOS properly so that the proper X and Y coordinates are passed to VDU 31.
As it is the same bug, and to avoid repeating myself, comments are being updated in the ADL version here:
https://github.com/breakintoprogram/agon-bbc-basic-adl/issues/12