This is a little bit of code which works in RISC OS and in 8-bit MOS to make a text window starting at the current text cursor position for the rest of the screen. It's very handy if you want to print a header on screen, but you don't know what the dimensions of the current mode are, or you don't know in advance the exact size of the header. Please click on the picture links above to learn more.

Click here to return to 32 Bit