1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-06-09 16:29:34 +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:
Bruce Sutherland 2020-01-05 10:53:51 +08:00 committed by GitHub
parent 43b64aac21
commit d49e5cf022
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
} }