Skip to content

Commit

Permalink
apple2: Disable TMR2 interrupt
Browse files Browse the repository at this point in the history
The relevant pin is polled when in Apple2 mode.
  • Loading branch information
keirf committed May 17, 2024
1 parent ec5071e commit 49ad731
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gotek/floppy.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ void IRQ_40(void) __attribute__((alias("IRQ_MOTOR_CHGRST_rotary"))); /* EXTI15_1
#define MOTOR_CHGRST_IRQ 40
static const struct exti_irq exti_irqs[] = {
/* SELA */ { 6, FLOPPY_IRQ_SEL_PRI, 0 },
#if !defined(APPLE2)
/* STEP */ { 28, FLOPPY_IRQ_STEP_PRI, m(2) /* dummy */ },
#endif
/* WGATE */ { 7, FLOPPY_IRQ_WGATE_PRI, 0 },
/* SIDE */ { 10, TIMER_IRQ_PRI, 0 },
/* WGATE */ { 23, FLOPPY_IRQ_WGATE_PRI, 0 },
Expand Down

0 comments on commit 49ad731

Please sign in to comment.