make sure clocktick starts at zero

This commit is contained in:
mrdudz
2015-07-16 16:54:40 +02:00
parent 21d7729ad1
commit d229d51be5
2 changed files with 23 additions and 13 deletions

View File

@@ -88,8 +88,6 @@ start:
lda #$05
sta IRQ_MASK ; IRQ1=on
cli
; Clear the BSS data
jsr zerobss
@@ -141,6 +139,8 @@ start:
; Call module constructors
jsr initlib
cli ; allow IRQ only after constructors have run
; Pass an empty command line
jsr push0 ; argc
jsr push0 ; argv