Date: Sun, 27 Oct 1996 14:51:18 -0800 (PST) From: Samuel Vincent To: Indrek Mandre cc: djgpp AT delorie DOT com Subject: Re: Graphics slow? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sat, 26 Oct 1996, Indrek Mandre wrote: > 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 I believe there is an msdos port of svgalib. I couldn't tell you where, though. This might do what you want, but the library would probably be lgpl'd... -Sam