Mail Archives: djgpp/2000/06/17/18:30:32
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 -