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:
parent
a0c4ca9bd7
commit
3ed3e98ec7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user