<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>help me to run a dos program within XP</title>
		<link>http://www.allegro.cc/forums/view/525258</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Mon, 05 Sep 2005 01:40:51 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hi!</p><p>I&#39;d like to play an old DOS game. According to all internet sourcesm the game in question should run w/o any problems.</p><p>When I run the game, it tells me that I have not enough EMS memory. I configured the shortcut to make EMS available. When I use mem /c I get something like this:</p><div class="source-code snippet"><div class="inner"><pre>    <span class="n">655360</span> bytes total conventional memory
    <span class="n">655360</span> bytes available to MS-DOS
    <span class="n">633872</span> largest executable program size

   <span class="n">1048576</span> bytes total contiguous extended memory
         <span class="n">0</span> bytes available contiguous extended memory
    <span class="n">941056</span> bytes available XMS memory
           MS-DOS resident in High Memory Area
</pre></div></div><p>
As you can see, I have lots of extended memory, but 0 bytes of it are available... changing the settings only allows me to alter the &quot;total&quot; memory, not the available memory.</p><p>In the config.nt file for the game I&#39;ve the EMM=RAM line. And now, I&#39;m stuck. I&#39;ve no idea what I could do... <br />Any kind of help would really be appreciated.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (spellcaster)</author>
		<pubDate>Fri, 02 Sep 2005 22:26:04 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Have you tried using DosBox?  The windows XP &quot;Dos emulator&quot; really likes to b0rk things up from time to time (EMS memory being one of the things I could never figure out how to get to work properly).  It also refuses to allow you to get sound out of a dos game...</p><p><a href="http://dosbox.sourceforge.net/">DosBox</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Carrus85)</author>
		<pubDate>Fri, 02 Sep 2005 22:27:53 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>
The game works correctly from the DOS prompt if you don&#39;t boot Windows XP?<br />(Just making sure the game actually works ok!)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Richard Phipps)</author>
		<pubDate>Fri, 02 Sep 2005 22:29:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I second DosBox.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ReyBrujo)</author>
		<pubDate>Fri, 02 Sep 2005 22:50:55 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well, dosbox... I&#39;ll try to get it to work in dosbox again, but my first try suggested that it was slow as hell and after some time I simply got a black screen - nothing happened anymore.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Just making sure the game actually works ok!
</p></div></div><p>
The game should work ok, I just installed it from the original CDs.<br />Right now, my main problem is simply that I can&#39;t get XP to make some of the EMS memory actually available... it&#39;s there, just not available <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (spellcaster)</author>
		<pubDate>Fri, 02 Sep 2005 22:59:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
1048576 bytes total contiguous extended memory<br />      0 bytes available contiguous extended memory<br /> 941056 bytes available XMS memory
</p></div></div><p>

Well, for one thing, you don&#39;t have any EMS available. Ram above the 1mb space is automatically assigned as XMS. A DOS memory manager can take the XMS and assign it as EMS; thankfully we don&#39;t need them any more! I don&#39;t remember how to do this (in XP) off the top of my head.</p><p>Edit:</p><p>Look <a href="http://www.columbia.edu/~em36/wpdos/emsxp.html">here</a> and <a href="http://www.columbia.edu/~em36/wpdos/windows.html#customize">here</a>.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Sirocco)</author>
		<pubDate>Fri, 02 Sep 2005 23:09:28 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Um. yep. I know those links. I tried to google for help for days now <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (spellcaster)</author>
		<pubDate>Fri, 02 Sep 2005 23:21:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>
What is the game? <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Richard Phipps)</author>
		<pubDate>Fri, 02 Sep 2005 23:22:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Post your config.sys or config.nt, especially the line containing the emm386 thingy.</p><p>EDIT:</p><p>Go to %windir% and edit the Memory properties of _default.lnk?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Crazy Photon)</author>
		<pubDate>Fri, 02 Sep 2005 23:29:35 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
What is the game? <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div></div><p>
Star Trek: 25th anniversary CD</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Post your config.sys or config.nt, especially the line containing the emm386 thingy.
</p></div></div><p>
That&#39;s easy:<br />EMM=RAM</p><p>That&#39;s the only thing... there is no emm device to be loaded, you&#39;re supposed to set the memory via the properties of the shortcut.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (spellcaster)</author>
		<pubDate>Fri, 02 Sep 2005 23:36:04 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>In the shortcut, are you specifically telling XP you only have one meg of extended memory? Or is that just what you get automatically?</p><p>Edit:</p><p>Nevermind, this is the default behavior for XP. </p><p>Edit2:</p><p>I&#39;ve set up a standard shortcut to command.com, specified Win95 compatibility, 640kb base memory, and the maximum amount of EMS and XMS (16mb each). I run the shortcut, checked my memory, and everything was groovy. I then fired up Day of the Tentacle, and it ran fine (although without sound).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Sirocco)</author>
		<pubDate>Fri, 02 Sep 2005 23:51:32 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
That&#39;s the only thing... there is no emm device to be loaded, you&#39;re supposed to set the memory via the properties of the shortcut.
</p></div></div><p>
Select the .exe, so it is marked in the explorer. Hit ALT+ENTER. On the upcoming dialog box, select the &quot;Speicher&quot;(Memory) tab. There you can enter EMS in some drop-down list.<br />Hit Ok.</p><p>Start by double clicking the .exe.</p><p>If you set the EMS in the .exe(or shortcut) but not start the game by directly using the .exe(or shortcut) and instead open a command prompt, then running the .exe from the command prompt will <u>not</u> utilize the settings you made. That&#39;s why mem /c does not report the EMS, because it&#39;s not set.</p><p>If you want to use a command prompt, you&#39;ll have to do a shortcut to &quot;command.com&quot; and set it like Sirocco described in his edit2.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dennis)</author>
		<pubDate>Sat, 03 Sep 2005 00:36:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks. That&#39;s what I&#39;ve done. as you can see in my first post, I do have EMS. The problem is, that none of that memory is available.<br />Regarding the exe / shell thing:<br />I changed the settings both for my shortcut for command.com and the exe in question. It doesn&#39;t change a thing.</p><p>At first, I only tried the startrek.exe settings. Since this didn&#39;t give me many debug options, I also configured a command.com with the same settings, including the same config.nt and autoexec.nt files.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
If you want to use a command prompt, you&#39;ll have to do a shortcut to &quot;command.com&quot; and set it like Sirocco described in his edit2.
</p></div></div><p>
Um no.<br />Both my command.com shortcut and my startrek.exe shortcut use the maximum possible ems that the properties/memory setting allow me to set. It just doesn&#39;t change a thing - no ems available.</p><p>The funny thing is, that the described steps above seem to solve the problem on pretty much 90% of the computers, and the other 10% seem to have the problem I&#39;m encountering.</p><p>25th anniversary is supposed to run &quot;out-of-the-box&quot; in XP - the problem is, it doesn&#39;t work at all on my puter.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (spellcaster)</author>
		<pubDate>Sat, 03 Sep 2005 01:16:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Weird, now that i checked it, i have the same problem on my XP machine.</p><p>[edit]<br />Actually, the following, seems to be bs. It pretty randomly works/works not and it even crashes the &#39;command.com&#39; sometimes.<br />[/edit]</p><p>I fiddled around a little and found a &quot;strange&quot; solution:<br />Comment out (&quot;REM&quot;) the EMM = RAM line in config.nt.<br />Run &quot;cmd.exe&quot;.<br />Type mem /c<br />(gives a black screen)<br />Type mem /c again.<br />(now says there&#39;s EMS available)<br />Try running the game then.</p><p>The &quot;strange&quot; thing is, after commenting out EMM=RAM, if i run a command.com shortcut, there is NO TEXT visible, but entering commands seems to work, because if typing &quot;exit&quot; it closes... strange.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dennis)</author>
		<pubDate>Sat, 03 Sep 2005 01:34:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><a href="http://sourceforge.net/projects/vdmsound">VDMSound</a> should help!<br />It does not only enable DOS sound drivers for your XP dos box, it features also advanced memory settings. Maybe you can configure EMS in your VDMSound setup.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Simon Parzer)</author>
		<pubDate>Sat, 03 Sep 2005 14:14:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I have some sort of Star Trek thing I leeched off an abandonware site, and it ran fine for me with real DOS, and I didn&#39;t have to use EMS.<br />I normally run XMS, but didn&#39;t try disabling it as the game ran as is.</p><p>EMS means &quot;EXPANDED&quot; memory, reminiscient of those old boards that could switch memory banks in/out of a &quot;memory window&quot; in an 8088 computer, kind of like banked VESA display modes.</p><p>XMS means &quot;EXTENDED&quot; memory, using 32 bit pointers whether 16 bit segment : offset or flat, accessing the memory directly.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Sun, 04 Sep 2005 23:49:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks. I knew that. But, please believe me, when I tell you that the program doesn&#39;t run with the message that it needs at least 1meg of EMS.</p><p>I&#39;ll try VDMSound, thanks for the link <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (spellcaster)</author>
		<pubDate>Mon, 05 Sep 2005 01:14:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I really don&#39;t care for any type of dos emulation except for ntvdm&#39;s, which isnt really &#39;great&#39; I guess, but for me, everything else is crap, solely because of the speed and lag, it really bothers me.</p><p>I&#39;d stick with either getting it to run in XP or grabbing a dos boot disk, should be able to find something to make one online rather easily.</p><p>like maybe... <a href="http://www.answersthatwork.com/Downright_pages/downrights_bootdisks.htm">http://www.answersthatwork.com/Downright_pages/downrights_bootdisks.htm</a></p><p>I believe I&#39;ve even used that once upon a time.</p><p>Good luck with your problem.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Sevalecan)</author>
		<pubDate>Mon, 05 Sep 2005 01:40:51 +0000</pubDate>
	</item>
</rss>
