1
0
mirror of https://github.com/cc65/cc65.git synced 2025-02-07 20:30:49 +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
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.
jsr initlib

View File

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