Click to See Complete Forum and Search --> : is there a grahic mode?


glitch13
12-06-2000, 08:17 AM
aside from X, is there a graphics mode you can get into in C (like you can in DOS)?

You know, 320x200x256colors

TheLinuxDuck
12-06-2000, 10:36 AM
I am betting that you could do the int calls and such to set the 320x200x256 mode, and do direct video memory addressing. I don't remember how it was done, but, I think the res mode was 13 or something .. in DOS anyway. http://www.linuxnewbie.org/ubb/smile.gif

------------------
TheLinuxDuck
Wait... that's a penguin?!?!?
:wq

Strike
12-06-2000, 10:59 AM
Short answer - no.
TLD gave you the long answer pretty much. In fact, I think it even requires an inline assembly call to do.

Though there may be some package out there that does it for you easily.

TheLinuxDuck
12-06-2000, 01:28 PM
I came across this assembly segment, thought you might like to take a gander at it.
http://www.web-sites.co.uk/fora/viewthread.cgi?forum=nasm-examples&thread=realmodevga

------------------
TheLinuxDuck
Wait... that's a penguin?!?!?
:wq

jemfinch
12-07-2000, 03:15 AM
There's svgalib.
http://freshmeat.net/projects/svgalib/homepage/

Jeremy