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:
@@ -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
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user