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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user