flat assembler
Message board for the users of flat assembler.
Index
> Linux > Graphics on Linux |
Author |
|
quasar 16 Dec 2006, 08:29
No X? Only using a framebuffer, but then you are limited to console. Look for programs like fbi for example code.
|
|||
16 Dec 2006, 08:29 |
|
F45M 16 Dec 2006, 08:42
Quote:
I Googled for fbi but to no avail. Can someone help me ? |
|||
16 Dec 2006, 08:42 |
|
crc 16 Dec 2006, 17:14
You may want to look at http://asm.sourceforge.net/articles/fb.html (targets NASM, but should show the basic approach pretty well).
|
|||
16 Dec 2006, 17:14 |
|
m 28 Dec 2006, 09:10
The Allegro library has excellent support for Frame Buffer device !
|
|||
28 Dec 2006, 09:10 |
|
crc 01 Jan 2007, 04:41
it does, but F45M did not want to use any libraries.
|
|||
01 Jan 2007, 04:41 |
|
vid 01 Jan 2007, 09:42
i bet it would be some writing to /dev/something
|
|||
01 Jan 2007, 09:42 |
|
gunblade 17 Jan 2007, 23:10
Yeah, you could simply do writing to the /dev/fb0 device, which is provided by the kernel driver for your framebuffer device (that's if the driver has been compiled into the kernel, different distros have different configurations for the kernel, some will include loads, some will have less drivers. You could always recompile the kernel to make sure that the driver was included, theres plenty of guides on the internet to tell you how.) And then you would have to find some kind of documentation for the framebuffer device provided by the kernel, such as what format the data put into /dev/fb0 should be, 8bpp, 16bpp, etc..
It is deffinetly possible to implement graphics without X nor any library, (X even comes in a frame-buffer compatible version, which instead of using it's own display drivers, just sits on top of the framebuffer, that could always be a place to look for example code on writting to the framebuffer device.) It'll just take some time and some research into the implementation of the framebuffer. |
|||
17 Jan 2007, 23:10 |
|
andreism 10 Feb 2007, 13:48
F45M wrote:
It's called FBUI: http://home.comcast.net/~fbui/index.html |
|||
10 Feb 2007, 13:48 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.