Mail Archives: djgpp/2000/03/27/23:46:44
On Sun, 26 Mar 2000 15:55:19 +0100, "David Green"
<Dcgreen AT btinternet DOT com> wrote:
>Well, the main reason for the switch, which i prolly should have
>mentioned in the initial post is that i'm having SERIOUS trauma
>accessing SVGA and sound hardware well enough when running under NT.
That's because NT's VDM (virtual dos machine) and HAL (hardware
abstraction layer) don't allow such access from a DOS application.
NT is a workstation and server operating system (IMHO a pretty
crappy one); W98 is a game console.
>Unfortunately, although i've been developing on win98, i must
>demonstrate this at college
At any good college, they should have some Linux boxen.
Allegro runs very well on Linux + X and OK on most UNIX flavors.
>So this left me a choice, since i'd ideally like to carry on using
>allegro and re-use as much, if not all of my code. Windoze or Linux...
Linux.
>i'm just trying to ascertain which will involve
>the least amount of hassle.
GNU/Linux: fewer reboots and cooler themes.
>my preference, since my degree depends on this being a good decision
Linus Torvalds has a degree IIRC. Bill Gates doesn't.
>is to go with linux, and not let micro$oft
>have _any_ bearing on the outcome of my degree !!
Right.
>I don't think there's any platform specific stuff... I've let allegro handle
>all that (keyboard / mouse interrupt stuff), so i'm hoping since allegro is
>portable, my code should be, to some extent, also.
Yup. As long as you don't #include <dos.h> or something else platform
specific, you probably won't have a lot of problem.
>Now as to using GCC specific features not available in MSVC, i'm
>_really_ unsure... I remember the last time i battled with MSVC there
>were lots of subtle language differences which kept tripping me up,
Mostly an anal-retentive "all warnings" option that tripped up on
short x;
long y;
y = 3;
x = y; // "warning: potential loss of significant digits"
>but i can't for the life of me remember what the differences
>are between msvc's interpretation and gcc's...
You don't have to worry. There's MinGW, a GCC for Win32:
http://www.mingw.org/
And you don't have to worry if you write ANSI + Allegro like I do.
>just wanted to canvas opinion and make sure there were no
>horrible pitfalls waiting for me round the next corner!!
http://www.talula.demon.co.uk/allegro/
--
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/
- Raw text -