delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/10/05:00:59

From: silvaw AT rpi DOT edu (Walt Silva)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Using DJGPP with ZINC
Date: Tue, 10 Nov 1998 09:43:26 GMT
Organization: Sage Hill Technologies
Lines: 32
Message-ID: <36480893.1873032@usenet.rpi.edu>
References: <51CBA4F0B84CD211BBA60060080588D210A756 AT exchange-dc DOT keylabs DOT com>
NNTP-Posting-Host: rts4p12.xyp.rpi.edu
X-Newsreader: Forte Free Agent 1.11/32.235
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


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