<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>which versions of djgpp and allegro</title>
		<link>http://www.allegro.cc/forums/view/618509</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Wed, 13 Oct 2021 18:52:04 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p> <br /> Hi, I am a user of djgpp and allegro for 20 years by now.<br /> I still use old versions: djgpp2.02 and allegro3.1 and dosbox0.74<br /> on Windows XP. Yes it is true!<br /> <br /> My question is: Which versions do I need for Windows 10 for <br /> compatibility with my old source code ?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (peter kenniphaas)</author>
		<pubDate>Thu, 23 Sep 2021 00:58:23 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The latest 4 should be still compatible as the API stayed fairly consistent.</p><p>Allegro 5 had a complete change of the API and would not work.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (DanielH)</author>
		<pubDate>Thu, 23 Sep 2021 01:23:29 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Allegro 4.2.3.1 is the latest that includes DOS support for DJGPP and WATCOM</p><p>I can&#39;t get djgpp to run on Windows 10. I have it on C:\DJGPP and there is C:\DJGPP\cwdspmi.exe and it can&#39;t open c:\cwsdpmi.swp for writing because C:\ is write protected.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Thu, 23 Sep 2021 06:54:14 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The latest Allegro that work with Djgpp is 4.4.2 (maybe with patchs)?<br />It is recommended to compile from git source code.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (RmBeer2)</author>
		<pubDate>Fri, 24 Sep 2021 15:35:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>bad rmbeer. No, 4.4.2/3/x does not work with DOS. CMake does not support DJGPP.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Fri, 24 Sep 2021 21:35:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>
Ok, thanks for the advice, but I notice some contradiction in the replys.<br />It is confusing for me, because I never did download,setup and install<br />myself. There was always someone who did that for me.<br />Is it latest 4(DanielH), is it 4.2.3.1(Reynaldo) or 4.4.2(Rmbeer2)?<br />And how about djgpp version?</p><p>I am a Dutchman and do not always understand the terms(abbreviations) <br />that are used.<br />Other question. I need a new computer, should I stay with Windows?</p><p>greetings peter kenniphaas.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (peter kenniphaas)</author>
		<pubDate>Tue, 28 Sep 2021 15:56:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Latest Allegro 4 will not work because CMake doesn&#39;t support DJGPP, maybe you can use the Watcom WMake generator though, so it is possible.</p><p>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.</p><p>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&#39;t tried yet.</p><p>There is another thread you&#39;re probably interested in, which is here :<br /><a href="https://www.allegro.cc/forums/thread/618503">https://www.allegro.cc/forums/thread/618503</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Tue, 28 Sep 2021 17:20:50 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>4.4.2/3 work with DOS. I&#39;m already use it for Djgpp and Windows. Also Djgpp have still support for the last Windows system.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (RmBeer2)</author>
		<pubDate>Wed, 29 Sep 2021 02:52:10 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I don&#39;t believe you. How did you build allegro with an old broken make file for djgpp that doesn&#39;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.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Wed, 29 Sep 2021 09:32:54 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><b>Edgar Reynaldo:</b><br />I don&#39;t know what&#39;re you talking about. I can see all the ASM code from the git repository.<br />The only problem is that I lost the file all442.zip that came with djgpp.</p><p>Now you can found from:<br /><a href="https://github.com/liballeg/allegro5/releases/tag/4.4.2">https://github.com/liballeg/allegro5/releases/tag/4.4.2</a></p><p>Also you can check it from:
</p><div class="source-code snippet"><div class="inner"><pre>git clone https:<span class="c">//github.com/liballeg/allegro5.git</span>
cd allegro5
git checkout <span class="n">4</span>.<span class="n">4</span>
cd src<span class="k3">/</span>i386
vim iblit32.s <span class="k2">(</span><span class="k1">or</span> any other file<span class="k2">)</span>
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (RmBeer2)</author>
		<pubDate>Wed, 29 Sep 2021 12:41:38 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>There is no build system for Allegro 4.4 with DJGPP. I&#39;m not making this up. Either you&#39;re using an old makefile, or you wrote it yourself.</p><p>All the assembly was disabled, it&#39;s not used.</p><p>I challenge you to build Allegro 4.4.2 for DJGPP. Prove me wrong.</p><p>Your link points to source code, not binaries, because there aren&#39;t any.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Wed, 29 Sep 2021 22:02:53 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><b>Edgar Reynaldo:</b><br /><i>&quot;you wrote it yourself.&quot;</i><br /><img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=";D" border="0" />, i want (All I have ever done here is copy their code and create new &#39;blit&#39; functions for allegro).</p><p>At the time I did not download allegro binaries, I downloaded their source and compiled them with djgpp. All by default.</p><p>Now I could try dosbox, although your result is probably the same.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (RmBeer2)</author>
		<pubDate>Fri, 01 Oct 2021 13:25:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>peter kenniphaas again:</p><p>Rmbeer2 &amp; Reynaldo:<br />I am starting to like you two, but your answer is still blowing in the wind.<br />I do not need latest version, do I? I am satisfied with the old ones.<br />and I just need to continue developing, programming and testing my AI-chessgame.<br />Can`t you send me a cd rom with everything on it like in old days?<br />Question worth trying.....(nice reward waiting)<br />Please help me..gr peter kenniphaas
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (peter kenniphaas)</author>
		<pubDate>Tue, 05 Oct 2021 01:01:43 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>ok, I have already tried it in practice and nothing works with dosbox. So it&#39;s a DEAD END. They can forget about me. :/</p><p>Maybe somewhere in the future I can try qemu and DOS, or with FreeDOS on a new machine...</p><p><b>EDIT:</b> i&#39;m already tried with a older versions of djgpp and allegro. But don&#39;t work even djgpp. Only work my old binaries of old games.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (RmBeer2)</author>
		<pubDate>Wed, 06 Oct 2021 23:49:44 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>As far as I can see DOSBOX 0.74 will still run on Windows 10 so you can carry on doing what you&#39;re doing.<br />An alternative is to go to Allegro 4.4 and MingW-W64 which will run natively on Windows (as Daniel says, the Allegro 4.x API is similar to 3.x)<br />Or, you can go all the way to Allegro 5 - this will be a learning curve for you but you&#39;re more likely to find people to help you. Depends on how much code you&#39;ve built up in the last 20 years...<br />Edgar&#39;s the expert, possibly the world&#39;s foremost expert, on setting up Allegro + MinGW !
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Thu, 07 Oct 2021 18:02:21 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>If you can find binaries you&#39;re good to go, but djgpp doesn&#39;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&#39;t be created, and djgpp refuses to create it anywhere else.</p><p>I tried running dosbox and cmd as administrator and no go either way.</p><p>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&#39;m out of ideas.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Thu, 07 Oct 2021 18:42:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I found <a href="https://www.windowscentral.com/dosbox-windows-10">https://www.windowscentral.com/dosbox-windows-10</a> and others which suggested to me that DOSBOX  does run on Windows 10, though I haven&#39;t tried it. DJGPP definitely won&#39;t run outside DOSBOX but should run inside, that&#39;s what Peter has been doing.</p><p><a href="http://sandmann.dotster.com/cwsdpmi/">http://sandmann.dotster.com/cwsdpmi/</a> suggests it&#39;s possible to move the swapfile (using the -s command line option) - did this not work for you?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Thu, 07 Oct 2021 18:57:29 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Peter, thanks for your reply.</p><p>I never had any problems with DosBox (I am using DosBoxX) - it was just compiling with djgpp that wouldn&#39;t work. Every time I tried to run make for allegro it failed to create cwsdpmi.swp.</p><p>I will try your workaround and see what happens.</p><p>I changed the parameters for cwsdpmi using cwsparam program to move the swap file. This works, but make still segfaults and I can&#39;t build allegro.</p><p>https://www.allegro.cc/files/attachment/613046</p><p><b>EDIT</b><br />I&#39;m going to try and compile make from sources and debug it.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Thu, 07 Oct 2021 19:00:26 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>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()?)</p><p>Most code written for DJGPP can be easily compiled using Mingw-gcc, since they both are ports of <a href="https://fr.wikipedia.org/wiki/GNU_Compiler_Collection">gcc</a>.<br />A lot of stuff that you would think djgpp-specific are in fact gcc-specific, and thus implemented on all platforms<br /><a href="https://gcc.gnu.org/onlinedocs/gcc/C-Extensions.html">https://gcc.gnu.org/onlinedocs/gcc/C-Extensions.html</a></p><p>The standards and default have changed a lot since DJGPP 2, so you probably want to compile your old code with <i>-std=c89</i></p><p>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.<br />It will let you see if such environment is familiar enough to justify the time investment of adapting the environment and your own code.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Audric)</author>
		<pubDate>Thu, 07 Oct 2021 20:33:22 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m trying to build a debugging djgpp version of make but it&#39;s not working very well.</p><p>First of all configure is not an 8.3 filename, so it isn&#39;t recognized.</p><p>Second, builddos.bat chokes on a define.</p><p>DJGPP is looking like a dead dodo bird to me.</p><p>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&#39;t need DOS. just drop it.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Thu, 07 Oct 2021 20:37:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Allegro 5.2, I can only use it with &#39;cmake&#39;, but &#39;cmake&#39; does not exist among Djgpp tools. Maybe I could just use &#39;make&#39;, but it&#39;s incompatible with the huge project I&#39;m working on, I have also not managed to get it to work from &#39;make&#39; for Allegro 5. <img src="http://www.allegro.cc/forums/smileys/undecided.gif" alt=":-/" /></p><p>It seems like it&#39;s being too troublesome, even for many programmers here.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (RmBeer2)</author>
		<pubDate>Fri, 08 Oct 2021 01:16:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>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&#39;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? </p><p>[append]<br />Possibly related for old-skool fans: <a href="https://github.com/mattiasgustavsson/dos-like">https://github.com/mattiasgustavsson/dos-like</a> ?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Fri, 08 Oct 2021 10:42:20 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>No matter what I do, make segfaults. Ich bin ein berliner.<br />https://www.allegro.cc/files/attachment/613050</p><p><a href="https://www.allegro.cc/files/attachment/613051">https://www.allegro.cc/files/attachment/613051</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Sun, 10 Oct 2021 07:17:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I had some success with VirtualBox + FreeDOS and Allegro 4.2. I took the DJGPP files from <a href="https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/repos/pkg-html/group-devel.html">https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/repos/pkg-html/group-devel.html</a> rather than from DJ&#39;s site, because those gave me a SIGSEGV when running make, similar to yours Edgar.</p><p><span class="remote-thumbnail"><span class="json">{"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"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/1/0/103de59d2531f5a295972c187ee30aaf-240.jpg" alt="613052" width="240" height="168" /></span></p><p>Honestly I wouldn&#39;t recommend this, feels like constantly fighting ten years plus of obsolescence. Better to move onto the latest I&#39;d say.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Sun, 10 Oct 2021 15:10:54 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>make 3.7 is sort of working.</p><p>This is going to take hours to compile allegro inside dosboxx</p><p><b>EDIT</b><br />There are major memory and cpu problems. make is probably running out of memory
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Sun, 10 Oct 2021 19:11:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>First I want to thank everybody for the time and effort to help me out.</p><p>It is not easy for me to formulate in English what I mean to say,<br />and what I am doing.<br />I am working on that, so I hope to contact you again in a couple of days<br />with a more clear message/explanation.</p><p>Greetings, peter kenniphaas.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (peter kenniphaas)</author>
		<pubDate>Tue, 12 Oct 2021 18:18:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Greetings Peter K.</p><p>translate.google.com may be able to help you get your message across.</p><p>I think so far, Peter Hull has had the best success. Try FreeDOS in a VM. If you get it working there, it should work in DosBox too.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Wed, 13 Oct 2021 18:52:04 +0000</pubDate>
	</item>
</rss>
