Files
rgbds/test/asm/sym-collision.asm
Rangi a70ecba06f Implement PRINT and PRINTLN (#672)
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
2021-01-02 02:37:32 +01:00

35 lines
692 B
NASM

; Hashmap collisions are pretty poorly-tested code path...
; At some point, `PURGE` would malfunction with them
SECTION "Collision course", OAM[$FE00]
; All the following symbols collide!
aqfj: ds 1 ; Give them different addresses
cxje: ds 1
dgsd: ds 1
dork: ds 1
lxok: ds 1
psgp: ds 1
sfly: ds 1
syyq: ds 1
ussg: ds 1
xlmm: ds 1
xtzp: ds 1
zxfr: ds 1
; Completely by accident, but cool
PURGE dork
PRINTLN "aqfj: {aqfj}"
PRINTLN "cxje: {cxje}"
PRINTLN "dgsd: {dgsd}"
PRINTLN "dork: {dork}"
PRINTLN "lxok: {lxok}"
PRINTLN "psgp: {psgp}"
PRINTLN "sfly: {sfly}"
PRINTLN "syyq: {syyq}"
PRINTLN "ussg: {ussg}"
PRINTLN "xlmm: {xlmm}"
PRINTLN "xtzp: {xtzp}"
PRINTLN "zxfr: {zxfr}"