www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/26/14:18:56

Date: Sat, 26 Oct 1996 20:29:05 +0200 (EET)
From: Indrek Mandre <indrek AT warp DOT edu DOT ee>
To: djgpp AT delorie DOT com
Subject: Graphics slow?
Message-ID: <Pine.LNX.3.91.961026202513.211A-100000@warp.edu.ee>
MIME-Version: 1.0

   First I must say that I am a beginner in programming djgpp.
This far I have only programmed on Linux. Some weeks ago I got
djgpp 2 and I began to like it. But now I have some problems.
On Linux I programmed graphics and used svgalib. There I mostly
wrote my own fast asm code and used only some svgalib parts for
graphics modes seting, bank/page switching/seting, scrolling.
I ported one of my programs to djgpp and used Allegro (bliting and
double buffering, virtual bitmaps and so on). I tested it and
it was precisely 2 times slower than on a Linux. Is this normal?
Does this mean I have to use my own good fast asm code? Here comes
the trouble. I found no such simple library, which would _only_
support:
	many graphics cards,
	graphics modes seting,
	banks switching for me,
	virtual screen creating for me,
	scrolling for me,
	...
and _not_ to:
	allocate megs of structures I must not know about
	not to let me change banks or write directly to screen
	....

   Is there that kind soft existing? Or must I change to Watcom?
I have seen one library - by scitechsoft, but it is commertial
soft and doesn't work under djgpp2 (I'm not sure), maybe under
djgpp1. I have nothing against Allegro or jlib or libgrx but they
are so slow and complicated.
 
Indrek Mandre

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019