OS4 DepotLogo by Alessandro Bacchia 
(anonymous IP: 3.22.240.205,2193) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (596)
   o Document (22)
   o Driver (97)
   o Emulation (147)
   o Game (1004)
   o Graphics (497)
   o Library (115)
   o Network (232)
   o Office (66)
   o Utility (923)
   o Video (69)

Total files: 4365

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: 172  (Current version)
374  (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 © 2004-2024 by Björn Hagström All Rights Reserved