Move constructor code into the INIT segment

git-svn-id: svn://svn.cc65.org/cc65/trunk@3405 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2005-02-26 09:28:46 +00:00
parent 6ec87c5dd9
commit d0bee35728
23 changed files with 166 additions and 59 deletions

View File

@@ -6,7 +6,7 @@
;
; 6.3.2001, 17.4.2003
.include "../inc/geossym.inc"
.export xsize, ysize
@@ -14,8 +14,8 @@
.importzp cursor_r, cursor_c
.import _cursor
.constructor initscrsize
.code
.segment "INIT"
initscrsize:
lda graphMode

View File

@@ -21,6 +21,8 @@
;---------------------------------------------------------------------------
; Setup arguments for main
.segment "INIT"
.proc initmainargs
; Setup a pointer to our argv vector