From c7bcd948a8a577fdd164defb5132c52b8483d498 Mon Sep 17 00:00:00 2001 From: izydorst Date: Thu, 17 Apr 2003 10:13:01 +0000 Subject: [PATCH] fixed endless loop exit->enterdesktop->exit->... git-svn-id: svn://svn.cc65.org/cc65/trunk@2063 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/geos/devel/crt0.s | 4 ++-- libsrc/geos/system/enterdesktop.s | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/libsrc/geos/devel/crt0.s b/libsrc/geos/devel/crt0.s index 091b76edd..89829dd29 100644 --- a/libsrc/geos/devel/crt0.s +++ b/libsrc/geos/devel/crt0.s @@ -8,10 +8,10 @@ .import __RAM_START__, __RAM_SIZE__ ; Linker generated .import initlib, donelib .import callmain - .import _EnterDeskTop .import zerobss .importzp sp .export _exit + .include "../inc/jumptab.inc" ; ------------------------------------------------------------------------ ; Create an empty LOWCODE segment to avoid linker warnings @@ -47,4 +47,4 @@ _exit: jsr donelib ; Run module destructors - jmp _EnterDeskTop ; return control to the system + jmp EnterDeskTop ; return control to the system diff --git a/libsrc/geos/system/enterdesktop.s b/libsrc/geos/system/enterdesktop.s index 08238adb9..5a93e3f24 100644 --- a/libsrc/geos/system/enterdesktop.s +++ b/libsrc/geos/system/enterdesktop.s @@ -6,9 +6,7 @@ ; void EnterDeskTop (void); - .export _EnterDeskTop .import _exit - - .include "../inc/jumptab.inc" + .export _EnterDeskTop _EnterDeskTop = _exit -- 2.39.5