1
0
mirror of https://github.com/cc65/cc65.git synced 2025-08-10 20:25:20 +00:00

Moved interrupt enabling to the interrupt constructor.

This commit is contained in:
Oliver Schmidt
2015-02-16 15:43:08 +01:00
parent a0c4ca9bd7
commit 3ed3e98ec7
2 changed files with 4 additions and 4 deletions

View File

@@ -164,10 +164,6 @@ basic: lda HIMEM
: sta sp : sta sp
stx sp+1 stx sp+1
; Enable interrupts, as old ProDOS versions (i.e. 1.1.1)
; jump to SYS and BIN programs with interrupts disabled.
cli
; Call the module constructors. ; Call the module constructors.
jsr initlib jsr initlib

View File

@@ -21,6 +21,10 @@ initirq:
.byte $40 ; Alloc interrupt .byte $40 ; Alloc interrupt
.addr i_param .addr i_param
bcs prterr bcs prterr
; Enable interrupts, as old ProDOS versions (i.e. 1.1.1)
; jump to SYS and BIN programs with interrupts disabled.
cli
rts rts
; Print error message and exit ; Print error message and exit