Mark Meiss wrote:
IF ParamStr (1) = '132x60' THEN i := 268;
IF ParamStr (1) = '132x50' THEN i := 267;
IF ParamStr (1) = '132x43' THEN i := 266;
IF ParamStr (1) = '132x25' THEN i := 265;
IF ParamStr (1) = '080x60' THEN i := 264;
Just a quick note that you shouldn't actually implement VESA this way,
because the mode numbers are not guaranteed from card to card. The
proper way is to use VESA to query all of the modes, stuff results into
an array, iterate through the array to find what you're looking for, and
then set the mode with what you come up with.
--
Jim Leonard (trixter at
oldskool.org)
http://www.oldskool.org/
Help our electronic games project:
http://www.mobygames.com/
Or check out some trippy MindCandy at
http://www.mindcandydvd.com/
A child borne of the home computer wars:
http://trixter.wordpress.com/