On Mon, Sep 30, 2002 at 05:04:07PM -0600, Tom Bradley wrote: > On Monday 30 September 2002 3:46 pm, Seth Arnold wrote: > > On Fri, Sep 27, 2002 at 09:07:10PM -0600, Tom Bradley wrote: > > > I did a little more playing around, and found out that using this method > > > doesn't worked in x86 protected mode. I can't stick code in before I > > > switch to protected mode and it works. Any clues on doing vga programming > > > in protected mode. I know it uses the 6845 chip for this, but can't seem > > > to find any sample code. > > > > libsvga? > > No, I have writting this driver was a "homemade" OS and not for Linux. So look at some graphic library for djgpp, like allegro. It has drivers for many VGA chips and it is in protected mode. ------------------------------------------------------------------------------- Jan 'Bulb' Hudec <bulb@ucw.cz> -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/