When you enable a text viewport with VDU28, print TAB() /VDU 31 should position the cursor relative to the origin of that viewport.
VDU 28,10,20,40,5
confines the text to a small window on the screen
VDU 31,0,0
should move the cursor to the top left of that window but gets you to the top left of the entire screen.
When you enable a text viewport with VDU28, print TAB() /VDU 31 should position the cursor relative to the origin of that viewport.
VDU 28,10,20,40,5
confines the text to a small window on the screen
VDU 31,0,0
should move the cursor to the top left of that window but gets you to the top left of the entire screen.