|
obsolescent |
peter kenniphaas
Member #20,900
August 2021
|
Thanks Edgar and Peter for new suggestions. Hope to hear from you. |
DanielH
Member #934
January 2001
|
Windows dropped DOS support early 2000s. Switch to an updated compiler. Here is an old 2003 thread asking the same thing. |
Chris Katko
Member #1,881
January 2002
|
Unless you have a DARN GOOD reason to use DOS, do not use DOS. It was being phased out twenty-five years ago. Use a Windows compiler with the latest version of Allegro 4. 95% of your program will work without changes. [Allegro 5 is the one that changed the API.] If you insist on using DOS, you will pay the price for using an unsupported, obsoleted operating system. You might as well be programming on a CP/M machine, a Tandy, or an Amiga. -----sig: |
amarillion
Member #940
January 2001
|
Well, it could be interesting from a constrained creativity / programming challenge perspective. There are still people making games for the NES or the ZX Spectrum. However, if your question is "why do I need to run my game in dosbox" then this is probably not your thing, and you need to upgrade to the current decade. -- |
LennyLen
Member #5,313
December 2004
|
amarillion said: Well, it could be interesting from a constrained creativity / programming challenge perspective. Or for nostalgia. I do miss DOS programming sometimes. That was around the time that I probably got the most enjoyment out of coding, especially once I discovered DJGPP and could forget about near and far pointers. edit: Now that I think about it, I think it was discovering Allegro that put me on to DJGPP.
|
Edgar Reynaldo
Major Reynaldo
May 2007
|
Think about it from your user's perspective. Are they running DOS? Not likely. Making the upgrade to MinGW-W64 means new versions of gcc and better compilers, along with better warnings. There's a whole new world out there besides DOS, I suggest you explore it. Your allegro functions are all included in Allegro 4.4. There's a new API for Allegro 5 though, and that would require a small amount of porting. For example, textout is still in Allegro 4.4, but it is deprecated in favor of textout_ex. 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 |
Peter Hull
Member #1,136
March 2001
|
You probably already know this but I'll say it anyway: the experience of compiling with MinGW in a Windows terminal prompt is almost identical to using DJGPP in DOS - the compiler is still gcc and you will be using make (probably). So you have nothing to fear!
|
peter kenniphaas
Member #20,900
August 2021
|
You put me on the road again, thanks. I will not be buried in a dosbox ! Chris Katko: Programs should be written for people to read......... Amarillion: You used the word constrained.I can`t find it in my schoolenglish. You will hear from me again, when I have my new stuff installed. |
Peter Hull
Member #1,136
March 2001
|
My guess is that Amarillion would know the Dutch word for 'constrained' if we asked him Good luck Peter K, I look forward to seeing you next post!
|
Chris Katko
Member #1,881
January 2002
|
peter kenniphaas said:
Chris Katko: Programs should be written for people to read......... that's my forum signature, it's the same for every post. But yes, it's a hallmark of experienced, wise, programmers that programs should favor readability over (almost) everything because if the programmer can't understand it all, that's where bugs come from and makes it harder to update as well. Programs that are clearly written, are also easier to optimize. It's a good rule-of-thumb to program with that is violated only when you have a good reason to do so. It's from a programming book written by MIT professors. -----sig: |
peter kenniphaas
Member #20,900
August 2021
|
to Peter Hull: I think Amarillion meant: constrained PERSPECTIVE ? to Chris Katko: A forum signature, OK, I did not know. I`m new in this.. Peter K. |
LennyLen
Member #5,313
December 2004
|
peter kenniphaas said: to Peter Hull: I think Amarillion meant: constrained PERSPECTIVE ? What he meant was that the limitations of the environment add extra challenge to programming for it.
|
Edgar Reynaldo
Major Reynaldo
May 2007
|
If your code is valuable to you, port it to MinGW-W64 and GCC on Windows using CodeBlocks with Allegro 4.4.3GIT . That will be the LEAST trouble with the MOST gain for you right now. Then in the future I would recommend you write all your programs using Allegro 5. 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 |
|