From 9983fd8bcd19ac87f0618fc13e730e32a20f8590 Mon Sep 17 00:00:00 2001 From: hkz Date: Sun, 27 Jul 2025 15:18:09 +0200 Subject: [PATCH] Update the linker --- linker-files/linker.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/linker-files/linker.scm b/linker-files/linker.scm index 44ab2fe..1d70f5f 100644 --- a/linker-files/linker.scm +++ b/linker-files/linker.scm @@ -7,8 +7,9 @@ ;;; (section (programStart #x801) (startup #x80e) code switch idata cdata data_init_table)) (section (programStart #x801) (startup #x80e) code)) (memory displayPage1 (address (#x2000 . #x3fff)) (type ram) (section loadscreen)) - (memory datamem (address (#x4000 . #x85ff)) (type ram) (section switch idata cdata data_init_table)) ;;; usermem goes from 0x4000 to 0x9FFFF (included), we are splitting it - (memory upperData (address (#x8600 . #x95ff)) (type ram) (section cstack zdata data heap)) + (memory upperData (address (#x4000 . #x85ff)) (type ram) (section switch idata cdata data_init_table)) ;;; usermem goes from 0x4000 to 0x9FFFF (included), we are splitting it + (memory upperMem (address (#x8600 . #x95ff)) (type ram) (section cstack zdata data heap)) + (memory dosMem (address (#x9600 . #x9fff)) (type ram)) (memory displayPage2 (address (#xa000 . #xbfff)) (type ram)) (memory io (address (#xc000 . #xc0ff)) (type ram)) (memory rombank (address (#xc100 . #xffff)) (type rom))