Open sverx opened 4 years ago
additional note:
it doesn't like the .IF condition even if written in different way such as:
.if \2 & $01
(won't like the \ )
.if $01 & \2
(won't like the &)
edit: I forgot .IF needs an operator so syntax should be like
.if EXPR operator EXPR
and WLA-DX says
Supported operators are '<', '>', '>=', '<=', '!=' and '=='.
just to confirm that both
.incbin "data/level.bin" skip 16*28 read 16*14
and
ld a,(ix)
now works fine. Thanks! :+1:
If you could fix the
.if (\2 & $01) != 0
would be great :1st_place_medal:
here's a list of minor annoyances
this doesn't like the parenthesis in the test condition:
.if (\2 & $01) != 0
this doesn't like the fact that the values aren't expressed as constants
.incbin "data/level.bin" skip 16*28 read 16*14
this requires I explicitly write ix+0 inside the parenthesis
ld a,(ix)