[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linuxppc-dev
Subject:    Framebuffer writes
From:       happyoscar42 () usa ! net (David Riley)
Date:       1999-10-30 20:00:30
Message-ID: 381B4E5E.5270E3B () usa ! net
[Download RAW message or body]


I suppose this is a silly question to the initiated, but how do I write
to the framebuffer?  I can get the address fine, but I've never
programmed in a protected memory environment (I program in MacOS, where
applications are free to overwrite the system heap ;-), so when I try to
do a write of any kind (*(startAddr + offset) = color) it segfaults. 
What is the routine to write like this?
-- 
--"Your mouse has been moved.  Windows 95 must be restarted for change
to take effect."

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic