mirror of
https://github.com/KarolS/millfork.git
synced 2025-02-05 09:32:59 +00:00
Fix cia_disable_irq macro.
I'm fairly sure this is the correct sequence of instructions to disable irq - tested in my own project. The original macro didn't work for me.
This commit is contained in:
parent
43b64aac21
commit
d49e5cf022
@ -16,8 +16,8 @@ byte cia2_ddrb @$DD03
|
|||||||
|
|
||||||
macro asm void cia_disable_irq() {
|
macro asm void cia_disable_irq() {
|
||||||
? LDA #$7f
|
? LDA #$7f
|
||||||
! LDA $dc0d
|
! STA $dc0d
|
||||||
! LDA $dd0d
|
! STA $dd0d
|
||||||
! LDA $dc0d
|
! LDA $dc0d
|
||||||
! LDA $dd0d
|
! LDA $dd0d
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user