ref: ebda8255ffd6432b57a13fa79797aa0b0db339d2
parent: deb91f679dfdf06811badd5f3a28ef44549bf170
author: ISSOtm <eldredhabert0@gmail.com>
date: Fri Mar 20 14:20:20 EDT 2020
Improve LOAD test to also test patches inside LOAD section
--- a/test/asm/ram-code.asm
+++ b/test/asm/ram-code.asm
@@ -1,7 +1,7 @@
SECTION "test", ROM0[1]
call Target
LOAD "new", WRAM0[$C001]
-Target: dl $DEADBEEF
+Target: dl DEAD << 16 | BEEF
.end
ENDL
After:
@@ -8,6 +8,11 @@
jp Target
ld hl, Word
dw Byte, Target.end, After
+
+SECTION "dead", WRAMX[$DEAD]
+DEAD:
+SECTION "beef", SRAM[$BEEF]
+BEEF:
SECTION "ram test", WRAM0 ; Should end up at $C005
Word: