mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Fixes #669 Closes #368 Closes #624 Deprecate PRINTT, PRINTV, PRINTI, and PRINTF Default STRFMT("%f") to 5 fractional digits like "{f:}" Any use of string formatting will share this default
12 lines
226 B
NASM
12 lines
226 B
NASM
SECTION "Fixed bank", ROMX,BANK[42]
|
|
ldh a, [BANK(@) * 256] ; This should be complained about at assembly time
|
|
|
|
X = BANK(@)
|
|
|
|
SECTION "Something else", ROMX
|
|
Y = BANK("Fixed bank")
|
|
|
|
PRINTLN "@: {X}\nStr: {Y}"
|
|
|
|
ERR = BANK(@)
|