Files
rgbds/test/link/wramx-dmg-mode.asm
ISSOtm 2d15e40539 Fix WRAM0/WRAMX test
The previous test did not expect failure when trying to stuff
$3000 bytes into $2000-byte WRAM; this is now fixed, and we
also test the reverse now (that we cannot stuff more than
$1000 bytes into WRAM0 without `-d`/`-w`.
2023-01-07 22:20:42 +01:00

14 lines
255 B
NASM

; 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 "w0b", WRAM0
DS 1
SECTION "wx0", WRAMX
DS $1000
SECTION "wx1", WRAMX
DS 1