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

@@ -56,6 +56,8 @@ L2: jsr KBDREAD ; Read char and return in A
.constructor initkbd
.destructor donekbd
.segment "INIT"
.proc initkbd
ldy #15
@@ -68,6 +70,8 @@ L2: jsr KBDREAD ; Read char and return in A
.endproc
.code
.proc donekbd
ldx #$39 ; Copy the original function keys