Calling a buffer with an incomplete command in it crashes the VDP.
You can reproduce this using the following BBCBASIC program:
10 VDU 23, 0, &A0, 0; 2 : REM Clear Buffer 0
20 VDU 23, 0, &A0, 0; 0, 8; : REM Write 8 bytes to buffer 0
30 VDU 23, 0, &A0, 1; 72, &11, 2 : REM Contents to send to buffer 0 (incomplete expand bitmap command)
40 VDU 23, 0, &A0, 0; 1 : REM Call the buffer with the incomplete command
On line 30, I sent an incomplete bitmap expand sequence as the contents of buffer 0. I suspect this will happen with any incomplete command, but I haven't confirmed that.
I'm not completely sure but this may only happen if the buffer ends in the middle of a word parameter. E.g., in my example, I have ended the buffer after providing only the first byte of a two byte buffer ID.
Calling a buffer with an incomplete command in it crashes the VDP.
You can reproduce this using the following BBCBASIC program:
On line 30, I sent an incomplete bitmap expand sequence as the contents of buffer 0. I suspect this will happen with any incomplete command, but I haven't confirmed that.
The VDP debug output is as follows:
I'm not completely sure but this may only happen if the buffer ends in the middle of a word parameter. E.g., in my example, I have ended the buffer after providing only the first byte of a two byte buffer ID.