|
Does Allegro 4.4 still runs on DOSBOX, or I need to use 4.2? |
larienna
Member #3,185
January 2003
|
I want to see if I can cross-compile one of my project in dos to run it on DOSBOX. Since DOSBOX can run on any platform, it makes it like a Java VM. Now I think I read somewhere, that the difference between allegro 4.4 and 4.2 is that they stopped support for DOS. But I am not sure it's the entire library that does not run on DOS anymore, or if certain features will be missing. Enjoy! and have fun |
Edgar Reynaldo
Major Reynaldo
May 2007
|
djgpp is no longer supported as of 4.4, so you can't necessarily compile for DOS anymore. Go with 4.2 for DOSBox support. Trouble is, cmake doesn't support djgpp makefiles. And plain make file support was dropped in 4.4 because it was too complicated and cmake was easier. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
larienna
Member #3,185
January 2003
|
Is it just a matter of build tool? Could I create a djgpp makefile, or adapt the 4.2 makefile for 4.4? Enjoy! and have fun |
Edgar Reynaldo
Major Reynaldo
May 2007
|
All assembly was removed from 4.4. I think it was integral to DOS. You could try compiling it yourself, but ymmv. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
larienna
Member #3,185
January 2003
|
Oh! OK, now I understand. Making project code compatible with both 4.2 and 4.4 might be tricky. There could be a pre-processor commands that branch out different lines of code according to the allegro version variable. Again, it's doable, most routines are the same besides the "textout" which I already encapsulated. Some add-on might be missing in 4.2, they would need to be added manually. Enjoy! and have fun |
Edgar Reynaldo
Major Reynaldo
May 2007
|
The API didn't change much, just the internals and the support for DJGPP. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
|