Almost complete port of svgalib, some not so important stuff is missing.
Compiling svgalib programs:
On Linux you type:
gcc myprog.c -o myprog.exe -lvgagl -lvga -I /svga/includes/
On AmigaOS4 you most type some thing like this:
gcc myprog.c /svga/obj/svgalib.o /svga/obj/svgagl.o -o myprog.exe -I
/svga/includes/ -D__USE_INLINE -lauto
if you're trying to port a Linux program, please notice, if it uses the pipe
argument then try removing it from the compile line.
Good luck with the porting.
Best regards:
Kjetil Hvalstrand
(NutsAboutAmiga/LiveForIt)
-- 6TH version, 23.04.2009 --
vga_init() fixed return value.
vga_setmode() fixed return value
vga.h removed define.
-- 5TH version,
vga_drawscansegment() only for 8bit videomodes.
vga_getscansegment() only for 8bit videomodes.
keyboard_keypressed() bug fix.
keyboard_getstate() bug fix
-- 4TH version, 08.12.2007 --
Fixed the following svgalib commands.
gl_putbox()
gl_getbox()
gl_setpixel()
gl_getpixel()
gl_fillbox()
gl_putboxmask() now only works with virtual contexts
gl_copybox()
gl_getboxpart()
gl_setcontextvga()
gl_copyscreen()
-- 3RD version, 04.12.2007 --
Fixed the following svgalib commands.
mouse_update(),
keyboard_update(),
vga_getch()
vga_getkey()
-- 2EN version, 01.12.2007 --
Now svgalib ThreeDKit compiles and works.
-- 1ST version, 27.11.2007 --
This is a where basic port of Svgalib, its not 100% finished,
most of vga_#? commands re implmented on top of picasso96 and Graphics.library.
| |