From 18bea7f18032d6536addf6e4c774ec4885ae3142 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 30 Sep 2017 19:19:49 +0100 Subject: [PATCH] v65: note a 6502 assumption we are making --- Kernel/platform-v65/v65.s | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Kernel/platform-v65/v65.s b/Kernel/platform-v65/v65.s index 443eea56..eb44c4f6 100644 --- a/Kernel/platform-v65/v65.s +++ b/Kernel/platform-v65/v65.s @@ -556,7 +556,7 @@ platform_doexec: sta ptr1 ; -; Set up the C stack +; Set up the C stack. FIXME: assumes for now our sp in ZP matches it ; lda U_DATA__U_ISP sta sp @@ -570,6 +570,7 @@ platform_doexec: txs ldx #>PROGLOAD ; For the relocation engine lda #ZPBASE + ldy #0 jmp (ptr1) ; Enter user application ; -- 2.34.1