mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
This would cause spurious section overflow messages, since the load offset is added to the section's when computing its size.
16 lines
204 B
NASM
16 lines
204 B
NASM
|
|
SECTION "Output", ROM0[0]
|
|
db SIZEOF("ROM CODE")
|
|
db SIZEOF("RAM CODE")
|
|
db SIZEOF("HRAM")
|
|
|
|
|
|
SECTION "ROM CODE",ROM0
|
|
ds $80
|
|
LOAD "RAM CODE",SRAM
|
|
PUSHS
|
|
SECTION "HRAM",HRAM
|
|
ds 1
|
|
POPS
|
|
ENDL
|