GEOS no longer requires explicit exit() call, now explicit MainLoop() is required

git-svn-id: svn://svn.cc65.org/cc65/trunk@1898 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
izydorst
2003-01-10 20:57:46 +00:00
parent 1b44423614
commit c094dc65c1
3 changed files with 34 additions and 33 deletions

View File

@@ -54,7 +54,6 @@
cli
ldy #4 ; Argument size
jsr _main ; call the users code
jmp _MainLoop ; jump to GEOS MainLoop
; Call module destructors. This is also the _exit entry which must be called
; explicitly by the code.

View File

@@ -1,8 +1,8 @@
;
; Maciej 'YTM/Alliance' Witkowiak
; Maciej 'YTM/Elysium' Witkowiak
;
; 30.10.99
; 30.10.1999, 10.01.2003
; void MainLoop (void);
@@ -10,4 +10,5 @@
.include "../inc/jumptab.inc"
_MainLoop = MainLoop
_MainLoop:
jmp MainLoop