|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: Video card control
Under Linux, I prefer to use the GGI library as opposed to SVGAlib. I believe it to be a little easier to use and does not require root priviledges to run programs compiled with it, i don't think. If I am wrong, by all means let me know. Thanks, Jason Brunson On Thu, 06 Jul 2000, you wrote: > Lionel > > The best book I know of on such matters is: > > Programmer's Guide to the EGA, VGA, and Super VGA Cards > by Richard F. Ferraro ISBN 0201624907 > > That being said, what I usually do under Linux is use the routines of > SVGAlib to set the mode. This is not especially attractive since > you have to run SVGAlib as root because it is a user space program > using ioperm to allow register read/writes. I am about to start looking > at the SVGAlib source so that I can write my own kernel-space system call to > set up the mode. > > If you find any useful info on this matter please let me know. > > Daniel > >From: Lionel Pinkhard <lionelpi@mweb.co.za> > >Reply-To: gameprogrammer@gameprogrammer.com > >To: gameprogrammer@gameprogrammer.com > >Subject: Video card control > >Date: Sun, 6 Jul 1980 05:09:11 +0000 > > > >Hi, > > > >I would just like to know, what registers need to be set to what and which > >interrupt needs to be called to initialize video modes (such as 13h) under > >Linux. Something like this in Dos: > > > > AX = 0001 0011 > > Interrupt 0001 0000 > > > >I use the following procedure (asm): > > > > mov ax, 10011b > > int 10000b > > > >Also, a procedure to plot a pixel would be appreciated. > > > >BTW My numbers are in binary, because I prefer it over hexadecimal (reason > >unknown). An answer in hexadecimal will be happilly converted or used as > >is. > > > >Kind regards, > > > >Lionel Pinkhard > >================================================================= > >The GameProgrammer.Com mailing list is for the open discussion > >of any topic related to the art, science, and business of > >programming games. This list is especially tolerant of beginners. > >We were all beginners once > > > >To SUBSCRIBE or UNSUBSCRIBE please visit: > >http://gameprogrammer.com/mailinglist.html > > ________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com > > ================================================================= > The GameProgrammer.Com mailing list is for the open discussion > of any topic related to the art, science, and business of > programming games. This list is especially tolerant of beginners. > We were all beginners once > > To SUBSCRIBE or UNSUBSCRIBE please visit: > http://gameprogrammer.com/mailinglist.html ================================================================= The GameProgrammer.Com mailing list is for the open discussion of any topic related to the art, science, and business of programming games. This list is especially tolerant of beginners. We were all beginners once To SUBSCRIBE or UNSUBSCRIBE please visit: http://gameprogrammer.com/mailinglist.html
|
|