Skip to contentSkip to conversation

Framebuffer writes

DISCUSSION David Riley 1 participant 1 message Oct 30, 1999

lore
Share & tools
lore
#0 lore raw

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?

Signature · 4 lines
--"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/