shithub: rgbds

ref: 1a1f1365e66e17610aaf65d73ce974b0fb556396
dir: /test/asm/unmapped-char.asm/

View raw version
SECTION "test", ROM0

	db "A" ; OK, default empty charmap

	pushc
	newcharmap custom
	db "A" ; unmapped in non-default charmap
	popc

	db "A" ; OK, default empty charmap again

	charmap "B", $42
	db "A" ; unmapped in non-empty charmap

	println "A" ; does not use charmap

	opt Wno-unmapped-char
	db "A" ; warning silenced