]> git.sur5r.net Git - cc65/commitdiff
fixed endless loop exit->enterdesktop->exit->...
authorizydorst <izydorst@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 17 Apr 2003 10:13:01 +0000 (10:13 +0000)
committerizydorst <izydorst@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 17 Apr 2003 10:13:01 +0000 (10:13 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2063 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/geos/devel/crt0.s
libsrc/geos/system/enterdesktop.s

index 091b76edd68fe09dd123d95fbf24c2b5f017134f..89829dd2939c4d66481f50645c37d9cb1b97e487 100644 (file)
@@ -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
index 08238adb92ccfd6afeffc8cbd34610c8806fe902..5a93e3f245aff4ae4d97efaacb0c402c7094e935 100644 (file)
@@ -6,9 +6,7 @@
 
 ; void EnterDeskTop (void);
 
-           .export _EnterDeskTop
            .import _exit
-
-           .include "../inc/jumptab.inc"
+           .export _EnterDeskTop
 
 _EnterDeskTop = _exit