delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/17/18:30:32

X-Originating-Host: 132.248.111.52
Organization: http://www.remarq.com: The World's Usenet/Discussions Start Here
Subject: Re: porting to linux or windows
Lines: 49
From: hellbaron <hellknightNOheSPAM AT hotbot DOT com DOT invalid>
Newsgroups: comp.os.msdos.djgpp
Message-ID: <1bc41682.a9d48aa2@usw-ex0102-016.remarq.com>
References: <17b97210 DOT a917435f AT usw-ex0105-038 DOT remarq DOT com> <usajksgv3ecg2brnm5l3gs592oiqkk0t97 AT 4ax DOT com>
Bytes: 1995
X-Wren-Trace: eMHkzM3Uk9mSidDFyIrOwdTaxeTMypXVy9mAwcfYmNCdlc+Sm9manpyRi5Gd
Date: Sat, 17 Jun 2000 15:27:13 -0700
NNTP-Posting-Host: 10.0.2.16
X-Complaints-To: wrenabuse AT remarq DOT com
X-Trace: WReNphoon4 961280957 10.0.2.16 (Sat, 17 Jun 2000 15:29:17 PDT)
NNTP-Posting-Date: Sat, 17 Jun 2000 15:29:17 PDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
wrote:
>On Thu, 15 Jun 2000 16:07:00 -0700, hellbaron
><hellknightNOheSPAM AT hotbot DOT com DOT invalid> wrote:
>
>>Hi, I'm new to graphics programming, but I've done a fractal
>>program under djgpp for dos (obviously). I use my home made
svga
>>library that usese dpmi.h, crt0.h and go32.h. Then I just use
>>the standard get_mode_info functions etc... The problem is that
>>I would like to port this program to linux or windows... In
>>linux I would use gcc, but I dont know how to start graphics
>>mode in linux or to get the screen pointer... In windows i'm
>>using Visual C++ 6.0 Enterprise, but I cant use graphics there
>>either without libraries like OpenPTC or OpenGL, and I would
>>like to do my own header file to solve the problem... please
>>help me!!
>
>http://www.talula.demon.co.uk/allegro/
>then get Work in Progress 3.9.32 (which is essentially Allegro
4.0 for
>DOS, Windows, and POSIX+X systems (including GNU/Linux
systems)).
>
>--
>Damian Yerrick
>"I refuse to listen to those who refuse to listen to reason."
>See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html
>
>This is McAfee VirusScan. Add these two lines to your signature
to
>prevent the spread of signature viruses.  http://www.mcafee.com/
>
>

I had considered the possibility of using allegro, but is there
any way to compile something that uses allegro but only include
the start_graphics, close_graphics and putpixel functions or
their equivalent names... Because those would be the only
features of allegro I would use, thats why I would rather do my
own graphics libarary, but I dont know how to do so in linux...
If someone could show me some code to start graphics mode and
get a screen pointer in linux that would be enough..

         PS: Thanx Damien for your quick and helpful response...

Got questions?  Get answers over the phone at Keen.com.
Up to 100 minutes free!
http://www.keen.com

- Raw text -


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