diff --git a/sys/pc98/pc98/pcaudio.c b/sys/pc98/pc98/pcaudio.c index 5f4972bbcb0f..b2f945291a86 100644 --- a/sys/pc98/pc98/pcaudio.c +++ b/sys/pc98/pc98/pcaudio.c @@ -309,11 +309,12 @@ pca_continue(void) int x = splhigh(); #ifdef PC98 - pca_status.oldval = inb(IO_PPI) & ~0x08; + pca_status.oldval = inb(IO_PPI) & ~0x08; + acquire_timer1(TIMER_LSB|TIMER_ONESHOT); #else - pca_status.oldval = inb(IO_PPI) | 0x03; -#endif + pca_status.oldval = inb(IO_PPI) | 0x03; acquire_timer2(TIMER_LSB|TIMER_ONESHOT); +#endif acquire_timer0(INTERRUPT_RATE, pcaintr); pca_status.timer_on = 1; splx(x); @@ -559,7 +560,7 @@ pcaintr(struct clockframe *frame) disable_intr(); #ifdef PC98 __asm__("outb %0,$0x35\n" - "andb $0x08,%0\n" + "orb $0x08,%0\n" "outb %0,$0x35" #else __asm__("outb %0,$0x61\n"