Consistently place constructors (and their exclusive subroutines) in "INIT".

This commit is contained in:
Oliver Schmidt
2015-10-09 21:44:20 +02:00
parent 575f859a03
commit 326da85145
8 changed files with 17 additions and 22 deletions

View File

@@ -5,9 +5,11 @@
.include "pce.inc"
.include "extzp.inc"
.forceimport ticktock
.export _clock
.forceimport ticktock
.importzp sreg
.constructor initclock
.proc _clock
@@ -21,8 +23,7 @@
.endproc
.constructor initclock
.segment "INIT"
initclock:
lda #0
ldx #3