delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/10/07:49:45

Date: Tue, 10 Sep 1996 13:33:22 +0200 (MET DST)
From: Mark Habersack <grendel AT ananke DOT amu DOT edu DOT pl>
Reply-To: grendel AT ananke DOT amu DOT edu DOT pl
To: Jan Hubicka <hubicka AT ta DOT jcu DOT cz>
cc: djgpp AT delorie DOT com
Subject: Re: allegro author?
In-Reply-To: <Pine.LNX.3.91.960910104035.26086A-100000@tabor.ta.jcu.cz>
Message-ID: <Pine.NEB.3.95.960910132501.2429A-100000@ananke.amu.edu.pl>
MIME-Version: 1.0

On Tue, 10 Sep 1996, Jan Hubicka wrote:

>> I think it might be quite hard. Allegro heavily relies on features specific to
>> DOS and DJGPP. But I think it's worth giving it a shot.
>I was browsing sources...a bit..and I think that I need
>1) write new driver that makes interface to svgalib
Well... I think it doesn't make sense to write such an interface. Allegro is a
self-contained library in every aspect and writing an interface to SVGAlib
would be just creating a new front-end. Allegro has completely different model
of driver structure. What you should do is to isolate the parts tightly M$-DOG
related and re-write them Linux-like.

 >2) rewrite keyboard functions
An easy one - you might use libkb. Or even it might not be necessary to change
the keyboard handling routines of allegro. AFAIR, Allegro installs hw int
handler for keyboard? If so, then, as long as PC platform is concerned, you
are in home with what you have in Allegro. If, however, you want to use
Allegro also on other hardware platforms then you have to create an
independent interface to UNIX kernel's kb handler.

 >3) rewrite mouse functions
That for sure.

>4) make some sound?(this will be hard work..I still don't know how to
>   play midi and digital sound in linux.. I want to add some cool music
>   to koules but....)
Do you have Linux sources? Take a look at them and you'll know how to do that.

>I can skip 2-4 for primary testing and 4 for first beta :)
>so I think it will be quite simple...
>do you know some problems that can occour
>(I now starting school so it can take few months until I will get some 
>time for it)
As with any port there probably will be a lots of problems. Memory issues may
be ones to give you a major headache, possibly file access functions.

Mark

**********************************************************************
So if you ask me how do I feel inside, I could honestly tell you we've
been taken on a very long ride. And if my owners let me have free time
some day, with all good intention I would probably run away!
Clutching the short straw...
******************* http://ananke.amu.edu.pl/~grendel ****************

- Raw text -


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