From af461406cbf4cef261a4eb1b087e340c435f2022 Mon Sep 17 00:00:00 2001 From: cuz Date: Tue, 2 Mar 2004 17:10:43 +0000 Subject: [PATCH] Fix: No ST constant available git-svn-id: svn://svn.cc65.org/cc65/trunk@2885 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/cbm510/crt0.s | 2 +- libsrc/cbm610/crt0.s | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libsrc/cbm510/crt0.s b/libsrc/cbm510/crt0.s index 936d67c61..829aed4c7 100644 --- a/libsrc/cbm510/crt0.s +++ b/libsrc/cbm510/crt0.s @@ -485,7 +485,7 @@ _exit: pha ; Save the return code on stack ; Place the program return code into ST pla - ldy #ST + ldy #$9C ; ST sta (sysp0),y ; Setup the welcome code at the stack bottom in the system bank. diff --git a/libsrc/cbm610/crt0.s b/libsrc/cbm610/crt0.s index 12e083d87..c6b073bb0 100644 --- a/libsrc/cbm610/crt0.s +++ b/libsrc/cbm610/crt0.s @@ -392,7 +392,7 @@ _exit: pha ; Save the return code ; Place the program return code into ST pla - ldy #ST + ldy #$9C ; ST sta (sysp0),y ; Setup the welcome code at the stack bottom in the system bank. -- 2.39.5