mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Improve LOAD test to also test patches inside LOAD section
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
SECTION "test", ROM0[1]
|
SECTION "test", ROM0[1]
|
||||||
call Target
|
call Target
|
||||||
LOAD "new", WRAM0[$C001]
|
LOAD "new", WRAM0[$C001]
|
||||||
Target: dl $DEADBEEF
|
Target: dl DEAD << 16 | BEEF
|
||||||
.end
|
.end
|
||||||
ENDL
|
ENDL
|
||||||
After:
|
After:
|
||||||
@@ -9,6 +9,11 @@ After:
|
|||||||
ld hl, Word
|
ld hl, Word
|
||||||
dw Byte, Target.end, After
|
dw Byte, Target.end, After
|
||||||
|
|
||||||
|
SECTION "dead", WRAMX[$DEAD]
|
||||||
|
DEAD:
|
||||||
|
SECTION "beef", SRAM[$BEEF]
|
||||||
|
BEEF:
|
||||||
|
|
||||||
SECTION "ram test", WRAM0 ; Should end up at $C005
|
SECTION "ram test", WRAM0 ; Should end up at $C005
|
||||||
Word:
|
Word:
|
||||||
dw
|
dw
|
||||||
|
|||||||
Reference in New Issue
Block a user