|
This thread is locked; no one can reply to it. |
1
2
|
which versions of djgpp and allegro |
peter kenniphaas
Member #20,900
August 2021
|
|
DanielH
Member #934
January 2001
|
The latest 4 should be still compatible as the API stayed fairly consistent. Allegro 5 had a complete change of the API and would not work. |
Edgar Reynaldo
Major Reynaldo
May 2007
|
Allegro 4.2.3.1 is the latest that includes DOS support for DJGPP and WATCOM I can't get djgpp to run on Windows 10. I have it on C:\DJGPP and there is C:\DJGPP\cwdspmi.exe and it can't open c:\cwsdpmi.swp for writing because C:\ is write protected. 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 |
RmBeer2
Member #16,660
April 2017
|
The latest Allegro that work with Djgpp is 4.4.2 (maybe with patchs)? 🌈🌈🌈 🌟 BlackRook WebSite (Only valid from my installer) 🌟 C/C++ 🌟 GNU/Linux 🌟 IceCream/Cornet 🌟 🌈🌈🌈 Rm Beer for Emperor 2021! Rm Beer for Ruinous Slave Drained 2022! Rm Beer for Traveler From The Future Warning Not To Enter In 2023! Rm Beer are building a travel machine for Go Back from 2023! Rm Beer in an apocalyptic world burning hordes of Zombies in 2024! |
Edgar Reynaldo
Major Reynaldo
May 2007
|
bad rmbeer. No, 4.4.2/3/x does not work with DOS. CMake does not support 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 |
peter kenniphaas
Member #20,900
August 2021
|
Ok, thanks for the advice, but I notice some contradiction in the replys. I am a Dutchman and do not always understand the terms(abbreviations) greetings peter kenniphaas. |
Edgar Reynaldo
Major Reynaldo
May 2007
|
Latest Allegro 4 will not work because CMake doesn't support DJGPP, maybe you can use the Watcom WMake generator though, so it is possible. The build system was completely redone after 4.2.3 to use CMake. Earlier versions used make files. There is a make file for DJGPP which is why I said to use 4.2.3.1. rmbeer is incorrect. I tried to get DJGPP to work on Windows 10, but as I said in another thread, C: is write protected and therefore cwsdpmi.tmp cannot be created, which is used by DJGPP. Maybe it would work on another drive, I haven't tried yet. There is another thread you're probably interested in, which is here : 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 |
RmBeer2
Member #16,660
April 2017
|
4.4.2/3 work with DOS. I'm already use it for Djgpp and Windows. Also Djgpp have still support for the last Windows system. 🌈🌈🌈 🌟 BlackRook WebSite (Only valid from my installer) 🌟 C/C++ 🌟 GNU/Linux 🌟 IceCream/Cornet 🌟 🌈🌈🌈 Rm Beer for Emperor 2021! Rm Beer for Ruinous Slave Drained 2022! Rm Beer for Traveler From The Future Warning Not To Enter In 2023! Rm Beer are building a travel machine for Go Back from 2023! Rm Beer in an apocalyptic world burning hordes of Zombies in 2024! |
Edgar Reynaldo
Major Reynaldo
May 2007
|
I don't believe you. How did you build allegro with an old broken make file for djgpp that doesn't include the addons? The build system was rewritten. There is NO DOS support in 4.4.2/3. All the assembly was removed and the djgpp make file was no longer maintained. 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 |
RmBeer2
Member #16,660
April 2017
|
Edgar Reynaldo: Now you can found from: Also you can check it from: git clone https://github.com/liballeg/allegro5.git cd allegro5 git checkout 4.4 cd src/i386 vim iblit32.s (or any other file)
🌈🌈🌈 🌟 BlackRook WebSite (Only valid from my installer) 🌟 C/C++ 🌟 GNU/Linux 🌟 IceCream/Cornet 🌟 🌈🌈🌈 Rm Beer for Emperor 2021! Rm Beer for Ruinous Slave Drained 2022! Rm Beer for Traveler From The Future Warning Not To Enter In 2023! Rm Beer are building a travel machine for Go Back from 2023! Rm Beer in an apocalyptic world burning hordes of Zombies in 2024! |
Edgar Reynaldo
Major Reynaldo
May 2007
|
There is no build system for Allegro 4.4 with DJGPP. I'm not making this up. Either you're using an old makefile, or you wrote it yourself. All the assembly was disabled, it's not used. I challenge you to build Allegro 4.4.2 for DJGPP. Prove me wrong. Your link points to source code, not binaries, because there aren't any. 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 |
RmBeer2
Member #16,660
April 2017
|
Edgar Reynaldo: At the time I did not download allegro binaries, I downloaded their source and compiled them with djgpp. All by default. Now I could try dosbox, although your result is probably the same. 🌈🌈🌈 🌟 BlackRook WebSite (Only valid from my installer) 🌟 C/C++ 🌟 GNU/Linux 🌟 IceCream/Cornet 🌟 🌈🌈🌈 Rm Beer for Emperor 2021! Rm Beer for Ruinous Slave Drained 2022! Rm Beer for Traveler From The Future Warning Not To Enter In 2023! Rm Beer are building a travel machine for Go Back from 2023! Rm Beer in an apocalyptic world burning hordes of Zombies in 2024! |
peter kenniphaas
Member #20,900
August 2021
|
peter kenniphaas again: Rmbeer2 & Reynaldo: |
RmBeer2
Member #16,660
April 2017
|
ok, I have already tried it in practice and nothing works with dosbox. So it's a DEAD END. They can forget about me. :/ Maybe somewhere in the future I can try qemu and DOS, or with FreeDOS on a new machine... EDIT: i'm already tried with a older versions of djgpp and allegro. But don't work even djgpp. Only work my old binaries of old games. 🌈🌈🌈 🌟 BlackRook WebSite (Only valid from my installer) 🌟 C/C++ 🌟 GNU/Linux 🌟 IceCream/Cornet 🌟 🌈🌈🌈 Rm Beer for Emperor 2021! Rm Beer for Ruinous Slave Drained 2022! Rm Beer for Traveler From The Future Warning Not To Enter In 2023! Rm Beer are building a travel machine for Go Back from 2023! Rm Beer in an apocalyptic world burning hordes of Zombies in 2024! |
Peter Hull
Member #1,136
March 2001
|
As far as I can see DOSBOX 0.74 will still run on Windows 10 so you can carry on doing what you're doing.
|
Edgar Reynaldo
Major Reynaldo
May 2007
|
If you can find binaries you're good to go, but djgpp doesn't work on Windows 10 as far as I can figure out how to get it to work. The C:\ drive is write protected, and so cwsdpmi.swp can't be created, and djgpp refuses to create it anywhere else. I tried running dosbox and cmd as administrator and no go either way. If anyone can get djgpp running on Win 10, you should be able to build allegro 4.2.3 at least and maybe 4.4 with Watcom. I'm out of ideas. 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
|
I found https://www.windowscentral.com/dosbox-windows-10 and others which suggested to me that DOSBOX does run on Windows 10, though I haven't tried it. DJGPP definitely won't run outside DOSBOX but should run inside, that's what Peter has been doing. http://sandmann.dotster.com/cwsdpmi/ suggests it's possible to move the swapfile (using the -s command line option) - did this not work for you?
|
Edgar Reynaldo
Major Reynaldo
May 2007
|
Peter, thanks for your reply. I never had any problems with DosBox (I am using DosBoxX) - it was just compiling with djgpp that wouldn't work. Every time I tried to run make for allegro it failed to create cwsdpmi.swp. I will try your workaround and see what happens. I changed the parameters for cwsdpmi using cwsparam program to move the swap file. This works, but make still segfaults and I can't build allegro. https://www.allegro.cc/files/attachment/613046 EDIT 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 |
Audric
Member #907
January 2001
|
Allegro 4 is mostly forward compatible with Allegro 3 - the only big exception I can remember is a function that ended up with a change of signature (textout_ex() as a remplacement for textout()?) Most code written for DJGPP can be easily compiled using Mingw-gcc, since they both are ports of gcc. The standards and default have changed a lot since DJGPP 2, so you probably want to compile your old code with -std=c89 I would suggest you try an easily-installed environment (Code:blocks maybe? It has a package system in order to get allegro 4.x), and see it compile an allegro 4 example. |
Edgar Reynaldo
Major Reynaldo
May 2007
|
I'm trying to build a debugging djgpp version of make but it's not working very well. First of all configure is not an 8.3 filename, so it isn't recognized. Second, builddos.bat chokes on a define. DJGPP is looking like a dead dodo bird to me. Do you need DOS support? Or are you just stuck in your ways? I would suggest MinGW-W64 as well. That will let you compile Allegro 4.4 or Allegro 5.2 for Windows. If you don't need DOS. just drop it. 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 |
RmBeer2
Member #16,660
April 2017
|
Allegro 5.2, I can only use it with 'cmake', but 'cmake' does not exist among Djgpp tools. Maybe I could just use 'make', but it's incompatible with the huge project I'm working on, I have also not managed to get it to work from 'make' for Allegro 5. It seems like it's being too troublesome, even for many programmers here. 🌈🌈🌈 🌟 BlackRook WebSite (Only valid from my installer) 🌟 C/C++ 🌟 GNU/Linux 🌟 IceCream/Cornet 🌟 🌈🌈🌈 Rm Beer for Emperor 2021! Rm Beer for Ruinous Slave Drained 2022! Rm Beer for Traveler From The Future Warning Not To Enter In 2023! Rm Beer are building a travel machine for Go Back from 2023! Rm Beer in an apocalyptic world burning hordes of Zombies in 2024! |
Peter Hull
Member #1,136
March 2001
|
I tried a slightly different tack - FreeDOS on a VirtualBox VM. The latest DJGPP runs fine but fails to build Allegro 3.12 early on due to some linker errors. Fixable I guess but may be more trouble than it's worth. Next I will try Allegro 4.2.3.1, and as an alternative Allegro 3 + older DJGPP. But really this is a nerd rabbit hole - for Peter I recommend just continuing DOSBOX, or embracing the future and Allegro 4 or 5 + MinGW-W64. It depends Peter what you want to do, run old programs that you already have or develop new ones? [append]
|
Edgar Reynaldo
Major Reynaldo
May 2007
|
No matter what I do, make segfaults. Ich bin ein berliner. 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
|
I had some success with VirtualBox + FreeDOS and Allegro 4.2. I took the DJGPP files from https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/repos/pkg-html/group-devel.html rather than from DJ's site, because those gave me a SIGSEGV when running make, similar to yours Edgar. {"name":"613052","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/1\/0\/103de59d2531f5a295972c187ee30aaf.png","w":668,"h":468,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/1\/0\/103de59d2531f5a295972c187ee30aaf"} Honestly I wouldn't recommend this, feels like constantly fighting ten years plus of obsolescence. Better to move onto the latest I'd say.
|
Edgar Reynaldo
Major Reynaldo
May 2007
|
make 3.7 is sort of working. This is going to take hours to compile allegro inside dosboxx EDIT 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 |
|
1
2
|