<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Building MAME 0.1 for MS-DOS / DJGPP	</title>
	<atom:link href="https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/feed/" rel="self" type="application/rss+xml" />
	<link>https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/</link>
	<description>Fun with Virtualization</description>
	<lastBuildDate>Tue, 22 Oct 2019 22:46:05 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.1</generator>
	<item>
		<title>
		By: Stu		</title>
		<link>https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-229383</link>

		<dc:creator><![CDATA[Stu]]></dc:creator>
		<pubDate>Tue, 22 Oct 2019 22:46:05 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=8218#comment-229383</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-214652&quot;&gt;Mathew Carr&lt;/a&gt;.

Probably worth mentioning on the DJGPP mailinglist so unmangled DAT files can be uploaded in their place.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-214652">Mathew Carr</a>.</p>
<p>Probably worth mentioning on the DJGPP mailinglist so unmangled DAT files can be uploaded in their place.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mathew Carr		</title>
		<link>https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-214652</link>

		<dc:creator><![CDATA[Mathew Carr]]></dc:creator>
		<pubDate>Tue, 18 Jun 2019 09:02:54 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=8218#comment-214652</guid>

					<description><![CDATA[I also tracked down another issue I had that was causing the SIGSEGVs:

Turns out that the Allegro 4.2.2 sources hosted by DJGPP at v2tk/allegro/all422s.zip have mangled .dat resource files for SETUP and DEMO. Which was really a spanner in the works considering I was trying to test the sound card selection options and use the allegro.cfg it generates with the demo game!

If you download Allegro sources recommended by DJGPP&#039;s Zip Picker and use &#039;fix djgpp&#039; &#039;make all&#039;, it&#039;ll stop when it gets to the dat2s stage of make (which converts the setup.dat containing the background and font graphics for the SETUP sound card selection program) into a .s const block of data for inclusion in the final setup.exe).

The sources for Allegro 4.2.3 from allegro.cc work nicely and have the correct .dats. (Though they don&#039;t have the sb.c patch for SoundBlaster 1.0 which I need to apply.)

The SIGSEGV was (probably) due to a correctly compiled dat2s.exe not handling a malformed .dat gracefully. I initially thought it was a bug in the .dat code as any of the example programs that used a .dat resource file blew up, or some strange effect due to VirtualBox, but since the dat code was the same in .2+.3, I checked both source trees for weirdness and found that it was DJGPP&#039;s version of all the included .dat files - they were all truncated and invalid (either accidentally or deliberately if the DJ maintainers didn&#039;t want to distribute the resources due to size or licensing?)]]></description>
			<content:encoded><![CDATA[<p>I also tracked down another issue I had that was causing the SIGSEGVs:</p>
<p>Turns out that the Allegro 4.2.2 sources hosted by DJGPP at v2tk/allegro/all422s.zip have mangled .dat resource files for SETUP and DEMO. Which was really a spanner in the works considering I was trying to test the sound card selection options and use the allegro.cfg it generates with the demo game!</p>
<p>If you download Allegro sources recommended by DJGPP&#8217;s Zip Picker and use &#8216;fix djgpp&#8217; &#8216;make all&#8217;, it&#8217;ll stop when it gets to the dat2s stage of make (which converts the setup.dat containing the background and font graphics for the SETUP sound card selection program) into a .s const block of data for inclusion in the final setup.exe).</p>
<p>The sources for Allegro 4.2.3 from allegro.cc work nicely and have the correct .dats. (Though they don&#8217;t have the sb.c patch for SoundBlaster 1.0 which I need to apply.)</p>
<p>The SIGSEGV was (probably) due to a correctly compiled dat2s.exe not handling a malformed .dat gracefully. I initially thought it was a bug in the .dat code as any of the example programs that used a .dat resource file blew up, or some strange effect due to VirtualBox, but since the dat code was the same in .2+.3, I checked both source trees for weirdness and found that it was DJGPP&#8217;s version of all the included .dat files &#8211; they were all truncated and invalid (either accidentally or deliberately if the DJ maintainers didn&#8217;t want to distribute the resources due to size or licensing?)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: neozeed		</title>
		<link>https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-212946</link>

		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Tue, 07 May 2019 01:51:23 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=8218#comment-212946</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-212942&quot;&gt;Mathew Carr&lt;/a&gt;.

It&#039;s more so that the assembler supports them, not that it&#039;s actually detected at runtime.  It&#039;s a horrible system in retrospect.

At the same time I&#039;ve been using these toolchains to build Quake/QuakeWorld/Quake II for MS-DOS, and those I use native, and I&#039;d want the higher level CPU support as I expected it running on a P4 or higher.

But great that it&#039;s all done then!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-212942">Mathew Carr</a>.</p>
<p>It&#8217;s more so that the assembler supports them, not that it&#8217;s actually detected at runtime.  It&#8217;s a horrible system in retrospect.</p>
<p>At the same time I&#8217;ve been using these toolchains to build Quake/QuakeWorld/Quake II for MS-DOS, and those I use native, and I&#8217;d want the higher level CPU support as I expected it running on a P4 or higher.</p>
<p>But great that it&#8217;s all done then!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mathew Carr		</title>
		<link>https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-212942</link>

		<dc:creator><![CDATA[Mathew Carr]]></dc:creator>
		<pubDate>Mon, 06 May 2019 23:33:48 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=8218#comment-212942</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-212938&quot;&gt;neozeed&lt;/a&gt;.

I think it was the generated asmcapa.h falsely indicating that MMX and SSE were supported that was causing all my frustrating SIGSEGVs all along. After editing that file like you suggest I can compile Allegro libraries and examples fine in VirtualBox now.

The TESTS\TEST.EXE Allegro program reports &#039;686 (GeniuneIntel) / cpuid / FPU / cmov / SSE / SSE2 / SSE3 / MMX / MMX+&#039; in VirtualBox, and &#039;486 (GeniuneIntel) / cpuid / FPU&#039; in Dosbox.

I don&#039;t know how Dosbox would end up with MMX and SSE showing up in its asmcapa.h from that... it&#039;s possible that Allegro&#039;s make process is misdetecting it since nobody tested it on real DOS :) (I&#039;ve got allegro compiling under Dosbox again now since I want to see what the generated asmcapa.h looks like. It&#039;ll take a while though.)

This doesn&#039;t explain why VirtualBox&#039;s exes crashed before. I haven&#039;t told VirtualBox to hide any capabilities of my processor (if that&#039;s possible) so it ought to have MMX and SSE available to the guest. Maybe Allegro uses those instructions in such a way that isn&#039;t compatible with how csdpmi sets up the processor/memory state? I don&#039;t know much about this and I&#039;m totally guessing.

As part of &#039;make all&#039; in VirtualBox, makedoc.exe is crashing when handling allegro._tx but I suspect that&#039;s an out-of-memory error or something like that if the help file is big, and it&#039;s not important.

I&#039;ll leave it there for now. Thanks again for the help.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-212938">neozeed</a>.</p>
<p>I think it was the generated asmcapa.h falsely indicating that MMX and SSE were supported that was causing all my frustrating SIGSEGVs all along. After editing that file like you suggest I can compile Allegro libraries and examples fine in VirtualBox now.</p>
<p>The TESTS\TEST.EXE Allegro program reports &#8216;686 (GeniuneIntel) / cpuid / FPU / cmov / SSE / SSE2 / SSE3 / MMX / MMX+&#8217; in VirtualBox, and &#8216;486 (GeniuneIntel) / cpuid / FPU&#8217; in Dosbox.</p>
<p>I don&#8217;t know how Dosbox would end up with MMX and SSE showing up in its asmcapa.h from that&#8230; it&#8217;s possible that Allegro&#8217;s make process is misdetecting it since nobody tested it on real DOS 🙂 (I&#8217;ve got allegro compiling under Dosbox again now since I want to see what the generated asmcapa.h looks like. It&#8217;ll take a while though.)</p>
<p>This doesn&#8217;t explain why VirtualBox&#8217;s exes crashed before. I haven&#8217;t told VirtualBox to hide any capabilities of my processor (if that&#8217;s possible) so it ought to have MMX and SSE available to the guest. Maybe Allegro uses those instructions in such a way that isn&#8217;t compatible with how csdpmi sets up the processor/memory state? I don&#8217;t know much about this and I&#8217;m totally guessing.</p>
<p>As part of &#8216;make all&#8217; in VirtualBox, makedoc.exe is crashing when handling allegro._tx but I suspect that&#8217;s an out-of-memory error or something like that if the help file is big, and it&#8217;s not important.</p>
<p>I&#8217;ll leave it there for now. Thanks again for the help.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: neozeed		</title>
		<link>https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-212938</link>

		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Mon, 06 May 2019 18:54:26 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=8218#comment-212938</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-212936&quot;&gt;Mathew Carr&lt;/a&gt;.

It&#039;s one of those things, that sometimes newer isn&#039;t better.  Just as compiling stuff to plain 80386 sometimes is better as the instruction set is probably emulated better when it comes to edge cases.

Great that you were able to get your build working for you!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-212936">Mathew Carr</a>.</p>
<p>It&#8217;s one of those things, that sometimes newer isn&#8217;t better.  Just as compiling stuff to plain 80386 sometimes is better as the instruction set is probably emulated better when it comes to edge cases.</p>
<p>Great that you were able to get your build working for you!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mathew Carr		</title>
		<link>https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-212937</link>

		<dc:creator><![CDATA[Mathew Carr]]></dc:creator>
		<pubDate>Mon, 06 May 2019 17:40:31 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=8218#comment-212937</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-212936&quot;&gt;Mathew Carr&lt;/a&gt;.

Aha! This is great! I can compile and run both the DEMO and the SETUP just fine now, using Allegro 4.2.3 with those tips you gave. Thank you!

You can reproduce the Soundblaster bug yourself if you use SETUP in Dosbox and set the card to a SoundBlaster 1.0, Vol 200, Channels 8 and use Test. The default SB16 card in Dosbox autodetected by Allegro isn&#039;t affected so most folks wouldn&#039;t notice. I noticed this bug on my Yamaha Audician 32 Plus hardware first before I tried it in Dosbox, so I know it&#039;s an Allegro fault. (Plus you can see the allegro.cc thread I linked to on twitter as well.)

If you want a really bad experience, use SETUP to select a SB 1.0 and then save the config. Then copy the allegro.cfg file the setup generates into the demo directory and run DEMO. The default Allegro behaviour is to read the allegro.cfg file in the working directory and use that to select the sound driver to use - this will let you play the demo shooter with the SB 1.0 driver, and it&#039;s not very nice. :)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-212936">Mathew Carr</a>.</p>
<p>Aha! This is great! I can compile and run both the DEMO and the SETUP just fine now, using Allegro 4.2.3 with those tips you gave. Thank you!</p>
<p>You can reproduce the Soundblaster bug yourself if you use SETUP in Dosbox and set the card to a SoundBlaster 1.0, Vol 200, Channels 8 and use Test. The default SB16 card in Dosbox autodetected by Allegro isn&#8217;t affected so most folks wouldn&#8217;t notice. I noticed this bug on my Yamaha Audician 32 Plus hardware first before I tried it in Dosbox, so I know it&#8217;s an Allegro fault. (Plus you can see the allegro.cc thread I linked to on twitter as well.)</p>
<p>If you want a really bad experience, use SETUP to select a SB 1.0 and then save the config. Then copy the allegro.cfg file the setup generates into the demo directory and run DEMO. The default Allegro behaviour is to read the allegro.cfg file in the working directory and use that to select the sound driver to use &#8211; this will let you play the demo shooter with the SB 1.0 driver, and it&#8217;s not very nice. 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mathew Carr		</title>
		<link>https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-212936</link>

		<dc:creator><![CDATA[Mathew Carr]]></dc:creator>
		<pubDate>Mon, 06 May 2019 17:06:58 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=8218#comment-212936</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-212935&quot;&gt;neozeed&lt;/a&gt;.

Aha! That&#039;s amazing - will have to check this out asap. The demo is supposed to come with a pretty large datafile. It seems like all422s is the anomaly in that it has a weird stub instead of the full thing; I assumed that it would be built as part of the allegro library building process, but in all4310s and all423s there&#039;s a 390k~ demo.dat that has the voice clips, graphics and intro fanfare etc. Try copying that into the same dir as your demo.exe.

(That&#039;s actually how I got interested in this mess. When I tried Allegro on real DOS for the first time (I was around for the WinXP Allegro era mostly :) ), I immediately hit upon the SB1.0 regression I recorded here https://twitter.com/SkullKidUK/status/1120242885960568832 and wanted to make myself a fixed Allegro that&#039;d work on my real comp.)

I didn&#039;t know that MMX was so late.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-212935">neozeed</a>.</p>
<p>Aha! That&#8217;s amazing &#8211; will have to check this out asap. The demo is supposed to come with a pretty large datafile. It seems like all422s is the anomaly in that it has a weird stub instead of the full thing; I assumed that it would be built as part of the allegro library building process, but in all4310s and all423s there&#8217;s a 390k~ demo.dat that has the voice clips, graphics and intro fanfare etc. Try copying that into the same dir as your demo.exe.</p>
<p>(That&#8217;s actually how I got interested in this mess. When I tried Allegro on real DOS for the first time (I was around for the WinXP Allegro era mostly 🙂 ), I immediately hit upon the SB1.0 regression I recorded here <a href="https://twitter.com/SkullKidUK/status/1120242885960568832" rel="nofollow ugc">https://twitter.com/SkullKidUK/status/1120242885960568832</a> and wanted to make myself a fixed Allegro that&#8217;d work on my real comp.)</p>
<p>I didn&#8217;t know that MMX was so late.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: neozeed		</title>
		<link>https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-212935</link>

		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Mon, 06 May 2019 16:35:45 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=8218#comment-212935</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-212931&quot;&gt;Mathew Carr&lt;/a&gt;.

remember most MS-DOS based emulation stuff isnt going to do SSE or MMX....

&lt;code&gt;type obj\djgpp\asmcapa.h
#define ALLEGRO_GENERATED_BY_MAKEFILE_TST&lt;/code&gt;

You want that to be pretty bare bones.

Anyways in Makefile.tst you can make it use &#039;unix&#039; mode for echo to work right

&lt;code&gt;# testing capabilities.
UNIX_TOOLS = 1&lt;/code&gt; 

And when it comes to MMX:

&lt;code&gt;test-mmx:
	false
#	as --defsym ASMCAPA_MMX_TEST=1 -o $(PLATFORM_DIR_U)/asmcapa$(OBJ) src/misc/asmcapa.s&lt;/code&gt;

likewise for SSE:
&lt;code&gt;test-sse:
	false
#	as --defsym ASMCAPA_SSE_TEST=1 -o $(PLATFORM_DIR_U)/asmcapa$(OBJ) src/misc/asmcapa.s&lt;/code&gt;

I use the &lt;a href=&quot;https://virtuallyfun.com/wordpress/2011/02/11/ms-dos-player-2/&quot;&gt;MS-DOS Player&lt;/a&gt;&gt; to run the MS-DOS asmdef/dat2s parts.  At it&#039;s high end it&#039;s basically restricted to 486 opcodes... so dont get fancy! :)

&lt;code&gt;makefile.dj:    msdos tools/dat2s.exe -p setup -o obj/djgpp/setupdat.s setup/setup.dat
makefile.dj:    msdos obj/djgpp/asmdef.exe obj/djgpp/asmdef.inc&lt;/code&gt;

the &#039;demo&#039; crashes on the line:

&lt;code&gt;   data = load_datafile(buf2);&lt;/code&gt;

I found that just by moving an exit(0) around the code... Not sure what is up with that, but there u go.

Anyways &lt;a href=&quot;https://virtuallyfun.com/wordpress/wp-content/uploads/2019/05/ex12bit.png&quot;&gt;ex12bit&lt;/a&gt;, &lt;a href=&quot;https://virtuallyfun.com/wordpress/wp-content/uploads/2019/05/test-program.png&quot;&gt;test program&lt;/a&gt;, &lt;a href=&quot;https://virtuallyfun.com/wordpress/wp-content/uploads/2019/05/playfli-from-allegro.png&quot;&gt;playfli&lt;/a&gt;.  So it&#039;s not totally broken.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-212931">Mathew Carr</a>.</p>
<p>remember most MS-DOS based emulation stuff isnt going to do SSE or MMX&#8230;.</p>
<p><code>type obj\djgpp\asmcapa.h<br />
#define ALLEGRO_GENERATED_BY_MAKEFILE_TST</code></p>
<p>You want that to be pretty bare bones.</p>
<p>Anyways in Makefile.tst you can make it use &#8216;unix&#8217; mode for echo to work right</p>
<p><code># testing capabilities.<br />
UNIX_TOOLS = 1</code> </p>
<p>And when it comes to MMX:</p>
<p><code>test-mmx:<br />
	false<br />
#	as --defsym ASMCAPA_MMX_TEST=1 -o $(PLATFORM_DIR_U)/asmcapa$(OBJ) src/misc/asmcapa.s</code></p>
<p>likewise for SSE:<br />
<code>test-sse:<br />
	false<br />
#	as --defsym ASMCAPA_SSE_TEST=1 -o $(PLATFORM_DIR_U)/asmcapa$(OBJ) src/misc/asmcapa.s</code></p>
<p>I use the <a href="https://virtuallyfun.com/wordpress/2011/02/11/ms-dos-player-2/">MS-DOS Player</a>> to run the MS-DOS asmdef/dat2s parts.  At it&#8217;s high end it&#8217;s basically restricted to 486 opcodes&#8230; so dont get fancy! 🙂</p>
<p><code>makefile.dj:    msdos tools/dat2s.exe -p setup -o obj/djgpp/setupdat.s setup/setup.dat<br />
makefile.dj:    msdos obj/djgpp/asmdef.exe obj/djgpp/asmdef.inc</code></p>
<p>the &#8216;demo&#8217; crashes on the line:</p>
<p><code>   data = load_datafile(buf2);</code></p>
<p>I found that just by moving an exit(0) around the code&#8230; Not sure what is up with that, but there u go.</p>
<p>Anyways <a href="https://virtuallyfun.com/wordpress/wp-content/uploads/2019/05/ex12bit.png">ex12bit</a>, <a href="https://virtuallyfun.com/wordpress/wp-content/uploads/2019/05/test-program.png">test program</a>, <a href="https://virtuallyfun.com/wordpress/wp-content/uploads/2019/05/playfli-from-allegro.png">playfli</a>.  So it&#8217;s not totally broken.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: neozeed		</title>
		<link>https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-212933</link>

		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Mon, 06 May 2019 14:04:51 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=8218#comment-212933</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-212929&quot;&gt;Mathew Carr&lt;/a&gt;.

There is some weird stuff with the way it constructs the mmx test I recall doing it manually...  Although it would say I don&#039;t have it as my binutils is too old (and I don&#039;t care, under full emulation why bother with mmx?)

Usually it crashes from stack and runtime mismatches. 

I&#039;ll have to try it later on if I can.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-212929">Mathew Carr</a>.</p>
<p>There is some weird stuff with the way it constructs the mmx test I recall doing it manually&#8230;  Although it would say I don&#8217;t have it as my binutils is too old (and I don&#8217;t care, under full emulation why bother with mmx?)</p>
<p>Usually it crashes from stack and runtime mismatches. </p>
<p>I&#8217;ll have to try it later on if I can.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mathew Carr		</title>
		<link>https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-212931</link>

		<dc:creator><![CDATA[Mathew Carr]]></dc:creator>
		<pubDate>Mon, 06 May 2019 13:30:22 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=8218#comment-212931</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-212930&quot;&gt;Mathew Carr&lt;/a&gt;.

Same result with the 346 archive.

https://imgur.com/a/kukbMj3

This is the same error I get compiling allegro in VirtualBox or DOSBOX (with the latest DJGPP or the djdev gcc and binutils from 2007), or with either of your Windows djgpp compilers. I&#039;m starting to think that I&#039;m missing something else...]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://virtuallyfun.com/2018/03/04/building-mame-0-1-for-ms-dos-djgpp/comment-page-1/#comment-212930">Mathew Carr</a>.</p>
<p>Same result with the 346 archive.</p>
<p><a href="https://imgur.com/a/kukbMj3" rel="nofollow ugc">https://imgur.com/a/kukbMj3</a></p>
<p>This is the same error I get compiling allegro in VirtualBox or DOSBOX (with the latest DJGPP or the djdev gcc and binutils from 2007), or with either of your Windows djgpp compilers. I&#8217;m starting to think that I&#8217;m missing something else&#8230;</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
