flat assembler
Message board for the users of flat assembler.
Index
> Linux > very simple example creating a window/displaying graphics? |
Author |
|
Matrix 03 Nov 2011, 15:33
linking in what i found already
sdl output in fasm? |
|||
03 Nov 2011, 15:33 |
|
randall 03 Dec 2011, 18:15
Hi,
This is a simple example of my SDL application (Linux x86_64). Hope it helps.
|
|||||||||||
03 Dec 2011, 18:15 |
|
LocoDelAssembly 03 Dec 2011, 18:45
randall, have you attempted using fasm built-in ELF support? If you didn't check examples\elfexe\dynamic to see what I mean, and if you did then please tell us what went wrong.
|
|||
03 Dec 2011, 18:45 |
|
randall 03 Dec 2011, 19:12
LocoDelAssembly wrote: randall, have you attempted using fasm built-in ELF support? If you didn't check examples\elfexe\dynamic to see what I mean, and if you did then please tell us what went wrong. Yes I did check dynamic examples and this method works perfecly fine for me. I just like to have all my code in one file. I didn't like elf.inc and import64.inc dependencies. That's all. Also loading functions with dlopen/dlsym is much more space efficient. I am preparing myself for 4k demoscene competition so I have to be as space efficient as possible. |
|||
03 Dec 2011, 19:12 |
|
bitshifter 05 Dec 2011, 16:12
I would suggest the Quake2 engine sources (version 3.21)
They have software rendering support for both x11 and vga. Direct framebuffer access is what we want right? |
|||
05 Dec 2011, 16:12 |
|
randall 05 Dec 2011, 17:30
Well, have you seen my code?
I have direct framebuffer access via SDL 1.2 |
|||
05 Dec 2011, 17:30 |
|
Matrix 26 Nov 2015, 14:33
Hi guys, Answering my own question, just letting you know that i have picked XCB as universal linux display solution for graphics (instead of sdl)
http://xcb.freedesktop.org/tutorial/ http://www.x.org/releases/X11R7.6/doc/libxcb/tutorial/index.html https://en.wikipedia.org/wiki/XCB sources http://xcb.freedesktop.org/dist/ |
|||
26 Nov 2015, 14:33 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.