SNASM68K trouble... (solved)

Ask anything your want about Megadrive/Genesis programming.

Moderator: BigEvilCorporation

Post Reply
TmEE co.(TM)
Very interested
Posts: 2440
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

SNASM68K trouble... (solved)

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

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 ?
Last edited by TmEE co.(TM) on Thu Sep 13, 2007 7:43 am, edited 1 time in total.
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

evildragon
Very interested
Posts: 326
Joined: Mon Mar 12, 2007 1:53 am
Contact:

Post by evildragon » Wed Sep 12, 2007 3:19 pm

http://en.wikipedia.org/wiki/Page_fault

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

TmEE co.(TM)
Very interested
Posts: 2440
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Wed Sep 12, 2007 3:27 pm

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...
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

evildragon
Very interested
Posts: 326
Joined: Mon Mar 12, 2007 1:53 am
Contact:

Post by evildragon » Wed Sep 12, 2007 3:56 pm

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".

TmEE co.(TM)
Very interested
Posts: 2440
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Wed Sep 12, 2007 4:13 pm

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)
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

evildragon
Very interested
Posts: 326
Joined: Mon Mar 12, 2007 1:53 am
Contact:

Post by evildragon » Wed Sep 12, 2007 4:18 pm

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.

Chilly Willy
Very interested
Posts: 2984
Joined: Fri Aug 17, 2007 9:33 pm

Post by Chilly Willy » Wed Sep 12, 2007 8:41 pm

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/

TmEE co.(TM)
Very interested
Posts: 2440
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Thu Sep 13, 2007 7:46 am

I just need a 200K executable which I can copy anywhere for convenient use
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

Post Reply