diff --git a/test/link/wramx-dmg-mode-d.out b/test/link/wramx-dmg-mode-d.out index e69de29b..4d2f7058 100644 --- a/test/link/wramx-dmg-mode-d.out +++ b/test/link/wramx-dmg-mode-d.out @@ -0,0 +1 @@ +error: Unable to place "wx1" (WRAM0 section) anywhere diff --git a/test/link/wramx-dmg-mode.asm b/test/link/wramx-dmg-mode.asm index 9851de27..b1095315 100644 --- a/test/link/wramx-dmg-mode.asm +++ b/test/link/wramx-dmg-mode.asm @@ -1,8 +1,13 @@ +; With `-w`, there is not enough WRAM (0 & X) to accomodate $4000 bytes; +; without it, there is not enough WRAM0 to accomodate $4001 bytes. SECTION "w0a", WRAM0 DS $1000 -SECTION "wx", WRAMX +SECTION "w0b", WRAM0 +DS 1 + +SECTION "wx0", WRAMX DS $1000 -SECTION "w0b", WRAM0 -DS $1000 +SECTION "wx1", WRAMX +DS 1