Jump to content



0

Problem compiling with DASM


3 replies to this topic

#1 Susuwatari OFFLINE  

Susuwatari

    River Patroller

  • 2,701 posts
  • Location:Now in Ann Arbor, MI

Posted Sat Jan 24, 2004 3:07 AM

I've tried to modify the game's color code (which I used Distella to decode) but whenever I try to use DASM to convert the file to binary for testing on emulator, I get lots of unknown mnemonic error and I get a 4K file that doesn't work at all.

I downloaded the DASM and the 2600 support files from http://www.atari2600.org/dasm and I did make sure to include 'processor 6502' and both 'include "vcs.h"' and 'include "marco.h"' at the begining of the file.

Obviously I'm missing something but what? :? Correct file placement?

#2 Nukey Shay OFFLINE  

Nukey Shay

    Sheik Yerbouti

  • 20,458 posts
  • Location:The land of Gorch

Posted Sat Jan 24, 2004 3:09 AM

Is the assembly file just a plain MsDos text file with no formatting? I'm pretty sure that you need to specify this when saving the file using Wordpad.

#3 Thomas Jentzsch OFFLINE  

Thomas Jentzsch

    Thrust, Jammed, SWOOPS!

  • 16,745 posts
  • Always left from right here!
  • Location:Düsseldorf, Germany

Posted Sat Jan 24, 2004 7:41 AM

Susuwatari said:

I did make sure to include 'processor 6502' and both 'include "vcs.h"' and 'include "marco.h"' at the begining of the file.
In exactly that order and before any assembler code?

And make sure there are spaces in front of those three lines.

#4 Susuwatari OFFLINE  

Susuwatari

    River Patroller

  • 2,701 posts
  • Location:Now in Ann Arbor, MI

Posted Sat Jan 24, 2004 5:34 PM

Looks like I was missing the leading spaces! Added the space, it now compiles without error.

Thanks!!




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users