On 6/14/2022 3:18 PM, Zbigniew wrote:
Googling around gave no result. It seems it doesn't exist „ready for use”, so just to make sure: does DOS/BIOS offer any possibility to set active screen output „window” — I mean something like BIOS int 10h/06-07 — but trapping cursor inside? What I mean is using all the ordinary functions that do character output and having wrapping/scrolling on automatic (no counting characters necessary, not managing cursor position „manually” etc.)
NT 10h has only some window scrolling/clearing functions. And you can query/position the cursor. Beyond that, you are on your own. Or use some libraries for the compiler of your choice that will do all the window managing for you. What you need to remember is that DOS in its basic form is still (should be) capable of running on a serial terminal attached to a computer. And very few were back in those days "windowing capable".
That windowing function that Jim referenced in his little sample program is one that does the basic window management for you. But this will only work if you are using library functions for the compiler that are aware of the selected window coordinates, it will not work for a simple printf()/puts() etc.
Ralf _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user