From: izydorst Date: Thu, 17 Apr 2003 10:13:01 +0000 (+0000) Subject: fixed endless loop exit->enterdesktop->exit->... X-Git-Tag: V2.12.0~1632 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c7bcd948a8a577fdd164defb5132c52b8483d498;p=cc65 fixed endless loop exit->enterdesktop->exit->... git-svn-id: svn://svn.cc65.org/cc65/trunk@2063 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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