From 45482b4fb1fdf69d149cbdd5aa7aafdbc816020d Mon Sep 17 00:00:00 2001 From: bauen1 Date: Thu, 4 Jan 2018 22:14:01 +0100 Subject: [PATCH] Fixed none/crt0.s to respect none.cfg --- libsrc/none/crt0.s | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libsrc/none/crt0.s b/libsrc/none/crt0.s index 7858ad839..a90f60d26 100644 --- a/libsrc/none/crt0.s +++ b/libsrc/none/crt0.s @@ -2,15 +2,14 @@ .export __STARTUP__ : absolute = 1 ; Mark as startup .import zerobss, _main .import initlib, donelib - .import __MAIN_START__, __MAIN_SIZE__ ; Linker generated - .import __STACKSIZE__ ; Linker generated + .import __STACKSTART__, __STACKSIZE__ ; Linker generated .include "zeropage.inc" .segment "STARTUP" - lda #<(__MAIN_START__ + __MAIN_SIZE__ + __STACKSIZE__) - ldx #<(__MAIN_START__ + __MAIN_SIZE__ + __STACKSIZE__) + lda #<__STACKSTART__ + lda #>__STACKSTART__ sta sp stx sp+1 jsr zerobss -- 2.39.5