Page 1 of 1

Stop SNASM from crashing!

Posted: Wed Jan 12, 2011 2:23 am
by Charles MacDonald
Sometimes SNASM68K crashes as soon as you invoke it under Windows XP. This problem has been driving me nuts, but here is the solution:

Make sure your PATH environment variable is 250 characters or less.

That's it! You can type "path" in the command prompt to see how big it currently is, and set up a batch file invoke a prompt with a more limited path to work around this problem.

In general, restricting the PATH size will prevent any program that uses DOS4GW from crashing immediately. :D

Posted: Wed Jan 12, 2011 8:48 am
by TmEE co.(TM)
Use the 98/NT/2K/XP version instead ?

Posted: Wed Jan 12, 2011 2:32 pm
by Pascal
good to know, thanks charles !

Posted: Wed Jan 12, 2011 7:14 pm
by Charles MacDonald
TmEE co.(TM) wrote:Use the 98/NT/2K/XP version instead ?
Ah, I should have clarified: this is a fix _for_ the 98/NT/2K/XP version. :D

My problem is that it would work for a while and then stop working, and now I realized it's because I installed and removed software which adjusted the PATH length.

On another forum somebody was debugging some productivity software that used DOS4GW and mentioned the hard-coded PATH limit, and that's what fixed it.

Posted: Fri Jan 21, 2011 3:09 pm
by cdoty
Charles MacDonald wrote: On another forum somebody was debugging some productivity software that used DOS4GW and mentioned the hard-coded PATH limit, and that's what fixed it.
Ahh, that explains some other software that seemed to work for random reasons.