OS4 DepotLogo by DBAlex 
(anonymous IP: 18.191.62.68,2258) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (149)
   o Game (1011)
   o Graphics (500)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4399

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: 180  (Current version)
382  (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