Skip to content

Commit 1354176

Browse files
committed
Fix for resetting interrupts on warm reset
1 parent b90d9f8 commit 1354176

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Spin/codybasic.bin

0 Bytes
Binary file not shown.

Tass/codybasic.asm

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6547,7 +6547,10 @@ MAIN SEI ; Shut off interrupts
65476547
LDA #$40 ; Set up VIA timer 1 continuous interrupts, no outputs
65486548
STA VIA_ACR
65496549

6550-
LDA #$C0 ; Set up VIA timer 1 interrupt
6550+
LDA #$7F ; Disable all interrupt sources
6551+
STA VIA_IER
6552+
6553+
LDA #$C0 ; Enable VIA timer 1 interrupt
65516554
STA VIA_IER
65526555

65536556
LDA #$07 ; Set VIA data direction register A to 00000111 (pins 0-2 outputs, pins 3-7 inputs)

0 commit comments

Comments
 (0)