It always feels good when I can impress someone of your stature, Tursi!
I've attached the files that I promised yesterday. Here's how to run the demo program, assuming they are on disk 6:
From the XB command line:
The assembly language subroutines are:
CALL LINK("T80ON") turns on the interrupt driven monitor so that the 80 column text mode will be usable. Should be done from immediate mode, not from a program
CALL LINK("T80") Changes graphics mode to the 80 column text mode. The first time you call this it will load character definitions and clear the screen.
CALL LINK("G32") Changes the graphics mode to the 32 column mode
CALL LINK("CLS80") Clears the 80 column screen
CALL LINK("TCOLOR",foreground,background) Changes the color in the T80 mode to the specified foreground and background
CALL LINK("DISPLY",row,col,string or number) Displays a string or number at the specified row and column. If the row is off the bottom of the screen the screen will scroll until the text can be printed. Example:
CALL LINK("DISPLY",25,1,"hello world") will scroll once and then print "hello world" at 1,24
CALL LINK("DISPLY",27,1,"HELLO WORLD") will scroll 3 times and then print "HELLO WORLD at 1,24
The T80 and G32 screens are independent of each other and you can make any changes you want to the hidden screen. Then you can display the screen with T80 or G32 as desired.
I've done as much as I'm going to on this. The file 80TEST.TXT has the source code for the above, and hopefully enough comments to be understandable. Feel free to add or modify as desired. The major thing needed to make this a useful package is a way to input text and numbers when in the T80 mode.
Edited by senior_falcon, Fri Feb 3, 2017 9:33 PM.