Mail Archives: djgpp/1998/11/10/05:00:59
Robert Cronk <rcronk AT altiris DOT com> wrote:
>> We are currently using DJGPP in a DOS environment. We are currently
>> adding a GUI for our DOS product and have been working with ZINC
>> software's cross-platform layer. We can get the source code for ZINC and
>> port it to compile under DJGPP - but - ZINC under DOS uses MetaWindows as
>> their graphics support. MetaWindows is written completely in assembler
>> and so we need to know how much effort would be involved to get DJGPP to
>> compile the ZINC code with the correct calling conventions (parameter list
>> order, etc.) along with the MetaWindows code. We're not sure if it would
>> be more difficult to work with the MetaWindows or modify ZINC to work with
>> Allegro.
I've used ZINC for almost three years, starting w/ v3.6 upto 4.2. The company I
worked for ran into the same problem you did in regards to the graphics library.
At the time we were using another graphics library (GENUS) instead of the
graphics library Zinc was using. What I ended up doing was writing another
display class. Took a little time, but it was pretty much just replacing the
Zinc graphic library calls w/ the equivalent Genus calls. Didn't have to worry
about the assembly. Using this approach you can pretty much choose a graphics
library that works w/ DJGPP (i.e. Allegro, GRX, Scitech).
>>
>> I guess our question is : What order does DJGPP put parameters when
>> calling asm routines from C++. Do you know of anyone who is working with
>> DJGPP, ZINC, and MetaWindows (or Allegro)? Could anybody give us some
>> hints or direction regarding these issues? Thank you.
I would be interested in helping if you like.
>>
>> Robert Cronk
>> Altiris, Inc.
>> rcronk AT altiris DOT com
Walt
- Raw text -