_asm {} with gcc

Started by
11 comments, last by DAharon 22 years, 3 months ago
SVGALib is dead. Of course you could use it just to play around, but seriously using it is a bad idea. You''d better use something like SDL ( http://www.libsdl.org/ ), which is even cross-platform.

cu,
Prefect
Widelands - laid back, free software strategy
Advertisement
(This also serves as notice that I''ve returned from an unexpected and forced absence - no access while I was in MD)

In addition to Prefect''s excellent suggestions, you might want to look into framebuffer work under Linux. Generally, though, SDL is a much less painful way to obtain high-res graphics in a variety of modes.

Could Mode 13H just die ?

As for assembly/inline assembly under unices in general, I have no experience with it but there are many who do. Search Google.com/linux for references. You might also want to learn GAS syntax so you can develop pure assembly modules and link to your C applications. The skills are worth the effort.

[ GDNet Start Here | GDNet FAQ | MS RTFM | STL | Google ]
Thanks to Kylotan for the idea!
I will eventually finish that article on using inline ASM in GCC ...

This is a reasonably good reference on the topic: http://www-106.ibm.com/developerworks/linux/library/l-ia.html?dwzone=linux
ReactOS - an Open-source operating system compatible with Windows NT apps and drivers

This topic is closed to new replies.

Advertisement