OS4 DepotLogo by DBAlex 
(anonymous IP: 35.175.190.77,1234) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (329)
   o Datatype (47)
   o Demo (186)
   o Development (534)
   o Document (21)
   o Driver (88)
   o Emulation (142)
   o Game (860)
   o Graphics (464)
   o Library (94)
   o Network (202)
   o Office (57)
   o Utility (815)
   o Video (61)

Total files: 3900

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  IntuitionBase


Support the site


 Readme for:  Development » Library » Graphics » svgalib.lha

Svgalib

Description: Low-level graphics library
Download: svgalib.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 3Mb
Version: 1.4.3-6th
Date: 23 Apr 2009
Author: Kjetil Hvalstrand
Submitter: Kjetil Hvalstrand
Homepage: http://www.svgalib.org
Requirements: AmigaOS4
Category: development/library/graphics
Replaces: development/library/graphics/svgalib.lha
License: GPL
Distribute: yes
Min OS Version: 4.0
FileID: 4772
 
Snapshots:
 
Comments: 6
Snapshots: 2
Videos: 0
Downloads: 136  (Current version)
338  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
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.






Copyright (c) 2004-2018 by Björn Hagström All Rights Reserved