mirror of
https://codeberg.org/hkzlab/TK2048.git
synced 2025-12-25 14:22:16 +11:00
Add initialization code
This commit is contained in:
parent
b33253bcb1
commit
36ad3da27e
2 changed files with 6 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue