line 10: the screen is switched to mode 0 and cleared
line 20: the text cursor is disabled
line 30: the text viewport is changed
line 40: the message is printed (no cursor, as expected)
line 50: wait for keypress
line 60: the text cursor is enabled
line 70: the text viewport is reset (no cursor, why?)
line 80: wait for keypress
line 90: the message is printed (the cursor is back, as expected)
line 100: wait for keypress
Notice that removing line 30 fixes the problem. The cursor is shown right after it is enabled.
I probably should mention that I discovered this in an emulator, but I see the same behaviour on real AgonLight 2 from OLIMEX. Both are running Console8 VDP 2.10.1
After the following sequence
the text cursor is not shown until something is printed on the screen. To demonstrate the behaviour try the following BASIC program:
Running it produces the following result:
line 10: the screen is switched to mode 0 and cleared line 20: the text cursor is disabled line 30: the text viewport is changed line 40: the message is printed (no cursor, as expected) line 50: wait for keypress line 60: the text cursor is enabled line 70: the text viewport is reset (no cursor, why?) line 80: wait for keypress line 90: the message is printed (the cursor is back, as expected) line 100: wait for keypress
Notice that removing line 30 fixes the problem. The cursor is shown right after it is enabled.