int
sysbeep(int pitch, int period)
{
if (!period)
return (0);
mtx_lock_spin(&clock_lock);
int x = splclock();
int x;
x = splclock();
if (acquire_timer2(TIMER_SQWAVE|TIMER_16BIT))
if (!beeping) {
int x = splhigh();
x = splhigh();
#ifdef PC98
if (acquire_timer1(TIMER_SQWAVE|TIMER_16BIT))