I was digging into the Graphics library that comes with 16-bit VC++ 1.52c,
the last version of the 16-bit software that Microsoft produced.
Of course, Microsoft designed the Graphics library so that the same library
worked as part of BASIC as well as part of C/C++. e.g.
_settextcolor(2); is equivalent to COLOR 2
_setbkcolor(5); is equivalent to COLOR , 5
Examining it reveals the bytes that indicate what would have been BASIC
SCREEN modes. So
RowsxColsxColours SCREEN MODE (not hex)
640x400x256 100
640x480x256 101
800x600x16 102
800x600x256 103
1024x768x16 104
1024x768x256 105
1280x1024x16 106
1280x1024x256 107
I think with minimal alteration to various BASIC OBJ's, it should be
possible to get this going so that SCREEN 100 works and all the other BASIC
graphics statements, providing you have the library (and I mean legally

)
Interesting?
Stephen Howe
Archived from group: microsoft>public>basic>dos