Hello MY,
The following seems to explain the reason for your previous problem -
Near the top of the MAIN_.asm file you have included the file S08_TPM1_tmr.inc. This latter file provides a conditional XREF to the label TPM1SR, to indicated that the definition for the label will be found elswhere (not within the current MAIN_.asm file). If you then define the label as a zero page variable, this represents the conflict that you have observed.
If you wish to define the variable within MAIN_.asm,. but still provide the conditional XREF within S08_TPM1_tmr.inc (for use by other files), perhaps XDEF the label prior to the INCLUDE directive.
File: MAIN_.asm:
XDEF TPM1SR
INCLUDE "S08_TPM1_tmr.inc"
...
MY_ZEROPAGE: SECTION SHORT
TPM1SR ds 1 ...
File: S08_TPM1_tmr.inc:
IFNDEF TPM1SR
XREF TPM1SR
ENDIF ...Regards,
Mac