From: Alan Cox Date: Sat, 30 Sep 2017 18:19:49 +0000 (+0100) Subject: v65: note a 6502 assumption we are making X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=18bea7f18032d6536addf6e4c774ec4885ae3142;p=FUZIX.git v65: note a 6502 assumption we are making --- 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 ;