diff --git a/linker-files/linker.scm b/linker-files/linker.scm index 8e7a438..6567025 100644 --- a/linker-files/linker.scm +++ b/linker-files/linker.scm @@ -1,5 +1,6 @@ (define memories - '((memory zeroPage (address (#x72 . #xdf)) (type ram) ;;; Should be starting at 0x56, ending at 0xff, but experiments in the monitor have shown doc is not to be trusted +;;; '((memory zeroPage (address (#x72 . #xdf)) (type ram) ;;; Should be starting at 0x56, ending at 0xff, but experiments in the monitor have shown doc is not to be trusted + '((memory zeroPage (address (#x56 . #xff)) (type ram) ;;; Should be starting at 0x56, ending at 0xff, but experiments in the monitor have shown doc is not to be trusted (section registers zpage zzpage)) (memory firstPage (address (#x100 . #x1ff)) (section stack)) (memory reserved (address (#x200 . #x7ff)) (type ram)) diff --git a/src/main.c b/src/main.c index 6b4874b..44d46b0 100644 --- a/src/main.c +++ b/src/main.c @@ -11,7 +11,11 @@ #include "game_graphics.h" #include "monitor_subroutines.h" +// External initialization requirements #pragma require __preserve_zp +//#pragma require __call_heap_initialize +#pragma require __data_initialization_needed + // Make sure the loading screen is included #pragma require __loading_screen