agon-bbc-basic icon indicating copy to clipboard operation
agon-bbc-basic copied to clipboard

Agon locks up when POS and/or VPOS is used with VDU 31

Open tonedef71 opened this issue 2 years ago • 1 comments

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.

tonedef71 avatar Dec 26 '23 23:12 tonedef71

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

breakintoprogram avatar Jan 04 '24 11:01 breakintoprogram