msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SuperVGA

 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB DOS
Author Message
Stephen Howe



Joined: 04 Oct 2007
Posts: 59

PostPosted: Fri Nov 11, 2005 9:34 pm    Post subject: SuperVGA Reply with quote

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
Smile )

Interesting?

Stephen Howe

Archived from group: microsoft>public>basic>dos
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    msvisual.com Forum Index -> VB DOS All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group