ea5511032062 — Laurens Holst 9 years ago
Heap: Move heap instantiation to ROM.
2 files changed, 10 insertions(+), 15 deletions(-)

M src/Heap.asm
M src/ROM.asm
M src/Heap.asm +0 -15
@@ 409,18 409,3 @@ Heap_RoundBC:
 	ld c,a
 	inc bc
 	ret
-
-;
-	SECTION RAM
-
-Heap_heap:
-	Heap 8000H, 3000H
-
-Heap_heapUpper:
-	Heap Heap_heapUpperSpace, 100H
-
-	ALIGN 4
-Heap_heapUpperSpace:
-	ds 100H
-
-	ENDS

          
M src/ROM.asm +10 -0
@@ 151,4 151,14 @@ ROM_bank4000:
 ROM_bank6000:
 	dw ROM_BANK_6000_CHANGE | ROM_CodeBank2
 
+Heap_heap:
+	Heap 8000H, 3000H
+
+Heap_heapUpper:
+	Heap Heap_heapUpperSpace, 100H
+
+	ALIGN 4
+Heap_heapUpperSpace:
+	ds 100H
+
 	ENDS