gingerbread
gingerbread copied to clipboard
Update for compatibility with RGBASM 0.8.0
The syntax for EQU
and MACRO
have changed in RGBASM v 0.8
now, lines with EQU must start with DEF, see for example this commit: https://github.com/ISSOtm/gb-starter-kit/commit/aa5d9a7a4344343436ded80de27da7bcdb2dfb15
Likewise, the MACRO
syntax has changed
Section "GingerBreadMemory",ROM0
MACRO WaitForNonBusyLCD
ld a,[rSTAT]
and STATF_BUSY
jr nz,@-4 ; Jumps up 4 bytes in the code (two lines in this case)
ENDM
without these changes, the compiler will throw this error: syntax error, unexpected EQU, expecting : or :: https://github.com/gbdev/rgbds/issues/1521
See https://github.com/gbdev/rgbds/issues/1521#issuecomment-2378244416