Tested with v.1.0.0-3-ga2f37e0
Demo code
File: TEST.ASM
ZILOG
nop
;ld A,(RUNEVENTS_EVENTSDONE)
;------------------------------------
; RAM
;------------------------------------
PAGE 3
___RAM___:
PILA0:
ds 256
PILA: byte
INCLUDE "RAM/RUNEVENTS.RAM"
File: RUNEVENTS.RAM
;RUNEVENTS Variables en RAM
RUNEVENTS_MAX_EVENTSDONE equ EVENTS_TOTAL
RUNEVENTS_EVENTSDONE: ds 2 * RUNEVENTS_MAX_EVENTSDONE
RUNEVENTS_EVENTSDONE_END:
Beware EVENTS_TOTAL not defined, but...
Output:
Parsing file TEST.ASM
Using standard Zilog syntax
Expanding system macros
Assembling source file TEST.ASM
Assembling labels, calls and jumps
Binary file TEST.z80 saved
Symbol file TEST.sym saved
Completed in 0.03 seconds
TEST.SYM
No symbols from INCLUDE file
; Symbol table from TEST.ASM
; generated by asMSX v.1.0.0-3-ga2f37e0
; global and local labels
C000h ___RAM___
C000h PILA0
C100h PILA
uncommend line 3 from TEST.ASM
EVENTS_TOTAL stills not defined, but there is an error about RUNEVENTS_EVENTSDONE
Output:
Parsing file TEST.ASM
Using standard Zilog syntax
Expanding system macros
Assembling source file TEST.ASM
Assembling labels, calls and jumps
TEST.ASM, line 3: undefined identifier
Tested with v.1.0.0-3-ga2f37e0
Demo code
File: TEST.ASM
File: RUNEVENTS.RAM
Beware EVENTS_TOTAL not defined, but...
Output:
TEST.SYM
No symbols from INCLUDE file
uncommend line 3 from TEST.ASM
EVENTS_TOTAL stills not defined, but there is an error about RUNEVENTS_EVENTSDONE
Output: