Commodore 128 Alive!

Commodore 128 => 128 programmers => Topic started by: xlar54 on January 07, 2008, 01:53 PM

Title: 6502TASS
Post by: xlar54 on January 07, 2008, 01:53 PM
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
Title: 6502TASS
Post by: BigDumbDinosaur on January 08, 2008, 12:08 AM
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?
Title: 6502TASS
Post by: nikoniko on January 08, 2008, 05:41 AM
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.
EhPortal 1.34 © 2025, WebDev