Moved interrupt enabling to the interrupt constructor.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user