diff options
| author | KATO Takenori <kato@FreeBSD.org> | 2000-04-12 13:19:44 +0000 |
|---|---|---|
| committer | KATO Takenori <kato@FreeBSD.org> | 2000-04-12 13:19:44 +0000 |
| commit | 86cc4d7dfaddc1a3e79e04b89c321f52f4fb954f (patch) | |
| tree | b0d61c21556708defaddf4c1de8921d2b41b4c56 /sys/pc98 | |
| parent | 00add4ed4fbcc6b7aa507355527f5899cefb9b25 (diff) | |
Notes
Diffstat (limited to 'sys/pc98')
| -rw-r--r-- | sys/pc98/pc98/pcaudio.c | 9 |
1 files changed, 5 insertions, 4 deletions
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" |
