Crazy idea and question

Discussion about everything. New games, 3d math, development tips...
Post Reply
Metalhead33
Posts: 13
Joined: Sat Jan 25, 2014 1:31 pm
Location: Budapest, Hungary
Contact:

Crazy idea and question

Post by Metalhead33 »

Anyone thought of compiling Irrlicht on a DOS compiler, like Borland, Turbo or Watcom?

The first Quake was made for MS-DOS too, and it used OpenGL.
No one wants to develop DOS games today, but it would be somewhat fun to see Irrlicht working on DOS.
There is a GCC compiler for DOS too, in case more serious C++ support is needed. Or an MS-DOS cross-compiler.
It would be fun to run it on DosBox.
CuteAlien
Admin
Posts: 9643
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Crazy idea and question

Post by CuteAlien »

I suppose you would have to write some IrrDOSDevice class in Irrlicht for that.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Metalhead33
Posts: 13
Joined: Sat Jan 25, 2014 1:31 pm
Location: Budapest, Hungary
Contact:

Re: Crazy idea and question

Post by Metalhead33 »

Wouldn't cross-compiling for MS-DOS target suffice though?
CuteAlien
Admin
Posts: 9643
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Crazy idea and question

Post by CuteAlien »

Even in MS-DOS you need some way to set up the graphic context. Don't know - maybe the SDL device still has DOS-support.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Metalhead33
Posts: 13
Joined: Sat Jan 25, 2014 1:31 pm
Location: Budapest, Hungary
Contact:

Re: Crazy idea and question

Post by Metalhead33 »

CuteAlien wrote:Even in MS-DOS you need some way to set up the graphic context. Don't know - maybe the SDL device still has DOS-support.
DOS support OpenGL The first game to ever use OpenGL - Quake - was for DOS.
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: Crazy idea and question

Post by hendu »

Negative, the DOS port of Quake used software rendering. GL was only win95 and up:
http://alag3.mfa.kfki.hu/games/3dfx/glquake/glq_faq.htm
CuteAlien
Admin
Posts: 9643
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Crazy idea and question

Post by CuteAlien »

Yeah, wasn't opengl, but that's not what I'm talking about. The problem is not the driver (we could use software drivers) but the device. Even if it had opengl you'd have to set it up first. Same for software driver - the device still would have to create some target bitmap to render into. Take a look at the other devices (Win32, Linux, SDL) - they all can render to OpenGL, but before doing that they have to create the environment to do so. Not saying it couldn't be done - just that's the part you'd have to code.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply