Anyone know how to properly include another source file in a 6502TASS assembly file? The docs for this assembler state just this:
+--------------------+
|.include |(*)
+--------------------+
Includes other source to the source. All labels are global and must be
unique in both sources.
Given this:
.include consts.asm
This doesnt appear to work - the assembler always answers with
Assembling file: main.asm
**Error** main.asm(1) Not defined CONSTS
Ive went with path and file extension assumptions, and renamed and moved the file, etc, but no luck.
The assembler is located at: http://www.zimmers.net/anonftp/pub/cbm/programming/msdos/index.html
A lot of these homebrew assemblers do not conform to the MOS Technology standards. I suspect you may have to surround the filename with quotes or angle brackets. Also, since it appears to be a DOS-based assembler, an absolute path may be required. Who knows with some of this stuff?
I'm not familiar with 64TASS, but you might try a newer version from here: http://singularcrew.hu/64tass/
EDIT: Oops, now I see you're using 6502TASS, not 64TASS. Anyway though, since 64TASS uses the same Turbo Assembler syntax, maybe it'll work for you.