Page 1 of 1

SNASM68K trouble... (solved)

Posted: Wed Sep 12, 2007 2:51 pm
by TmEE co.(TM)
Image

No matter what I do I get this !!! And only with CA !!! I checked all the ASM files and these weren't messed up, and the program is not messed up either (I had an HDD issue which caused my some messed up files - BIOS doesn't support HDDs over 139GB and I have 250GB HDD, and a software solution to come over the limit... but Win98SE doesn't use it).

Ignore the last line, it is put there by my time stamp proggy...

Any ideas ?

Posted: Wed Sep 12, 2007 3:19 pm
by evildragon
http://en.wikipedia.org/wiki/Page_fault

welcome to the world of DOS memory management. ;) (told you it was bad)

Posted: Wed Sep 12, 2007 3:27 pm
by TmEE co.(TM)
Thing is that when I've got page fault with some other soft, it was caused by too little memory (or crashing the program on purpose), and appeared only once, but in this case it happens whenever I try to assemble... other copies of SNASM68K in other locations of my SMD directory work fine...

Posted: Wed Sep 12, 2007 3:56 pm
by evildragon
Make sure the directory it's in doesn't have any spaces.

Also, didn't you say you were using the NT version of SNASM? That's really not a smart idea. That's 32-bit vs 16-bit. Windows 9X command line is 16-bit, as it doesn't have CMD.EXE, which is a 32-bit "console".

Posted: Wed Sep 12, 2007 4:13 pm
by TmEE co.(TM)
After seeing if XP version works (and it gave even bigger error), I started to comment every single line and finally: Problem solved, one graphics file WAS messed up, and it was the problem, now everything assemble perfectly (with both DOS and XP versions of SNASM68K)

Posted: Wed Sep 12, 2007 4:18 pm
by evildragon
im curious if the only change to the NT version of SNASM is just LFN support.. i'll need to see if it truly is a 32-bit executable, it might not be..

but, you said other SNASMs in different directories were working.

Posted: Wed Sep 12, 2007 8:41 pm
by Chilly Willy
SNASM is pretty long in the tooth. It's probably time to retire the old girl. :lol:

Use asmx instead. It supports not just the 68000, but also the Z80 and a number of other older CPUs. It also compiles for a number of platforms - I'm using it in 64 bit linux.

http://xi6.com/projects/asmx/

Posted: Thu Sep 13, 2007 7:46 am
by TmEE co.(TM)
I just need a 200K executable which I can copy anywhere for convenient use