You can define the RAM variables in the data segment like so:
then use eqd instead of equ when defining the variables.
This seems to do nothing besides put a D next to the symbol in the assembler listing. Using "segment DATA" generates an error that no such segment exists, so I suspect AS has no concept of a data segment in 68000 programs.
eqd macro x,{INTLABEL}
__LABEL__ = x,DATA
endm
then use eqd instead of equ when defining the variables.
This seems to do nothing besides put a D next to the symbol in the assembler listing. Using "segment DATA" generates an error that no such segment exists, so I suspect AS has no concept of a data segment in 68000 programs.


00