Evaluate graphics mode (DOS)
Hi everyone,
is there a better (and possibly more reliable) method known to evaluate
the 'highest' possible graphics mode? The following function
'test_grmode()' seems to work in most cases, but there might be cases
were it states a mode which is wrong.
Could you please test it, also from a Win32 command window, full and
windowed?
Any results and recommendations are welcome.
Thanks, and have a nice day, Rolf
-- Evaluate graphics mode (under DOS and Win32cmd)
integer m
for i = 1 to length(modi) do
if graphics_mode(modi[i]) = 0 then
m = graphics_mode(-1)
return i
end if
end for
return 0
end function
puts(1,"Can't set any GR-mode.\n")
end if
|
Not Categorized, Please Help
|
|