flat assembler
Message board for the users of flat assembler.
Index
> Linux > Framebuffer, putpixel, segfault |
Author |
|
lavrin 22 Dec 2009, 00:40
Hello, everyone!
I've got a question to ask about a framebuffer program I'm trying to put together for a low-level programming course at my university. To the point. Target architecture is x86-64. I've managed to map the framebuffer device file /dev/fb0 to memory. However, when I try put a pixel on screen, the program segfaults. I haven't got even a vague idea what may be the cause. I would be grateful for any hints. My situation is pretty hard, as I don't know anyone skilled in this field. The source is accessible here [1]. Regards, Radosław Szymczyszyn -- [1]: http://ernie.icslab.agh.edu.pl/~lavrin/fb.asm |
|||
22 Dec 2009, 00:40 |
|
lavrin 22 Dec 2009, 00:56
You're perfectly right. Thanks!
|
|||
22 Dec 2009, 00:56 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.