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

@@ -18,6 +18,9 @@
cputdirect = PRINT
newline = NEWLINE
;--------------------------------------------------------------------------
.code
_cputcxy:
pha ; Save C
@@ -75,7 +78,8 @@ plot: ldy CURS_X
putchar = $CC2F
;--------------------------------------------------------------------------
; Module constructor/destructor
; Module constructor/destructor. Don't move the constructor into the INIT
; segment, because it shares most of the code with the destructor.
initcputc:
lda #$C0