From f2ca4c3ad47f23a94ecd8cc4accbdd4f270d43f3 Mon Sep 17 00:00:00 2001 From: Yoshihiro Takahashi Date: Tue, 8 Apr 2008 13:10:57 +0000 Subject: [PATCH] Always set the bell_pitch to 800. This catch up with the sysbeep() argument changing. --- sys/pc98/cbus/sc_machdep.h | 4 ---- sys/pc98/cbus/syscons_cbus.c | 5 +---- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/sys/pc98/cbus/sc_machdep.h b/sys/pc98/cbus/sc_machdep.h index ea7b3ba7069..5dbc94eb182 100644 --- a/sys/pc98/cbus/sc_machdep.h +++ b/sys/pc98/cbus/sc_machdep.h @@ -43,10 +43,6 @@ #define KANJI 1 -#define BELL_DURATION 5 -#define BELL_PITCH_8M 1339 -#define BELL_PITCH_5M 1678 - #define UJIS 0 #define SJIS 1 diff --git a/sys/pc98/cbus/syscons_cbus.c b/sys/pc98/cbus/syscons_cbus.c index 9f42f399148..719b3cb7943 100644 --- a/sys/pc98/cbus/syscons_cbus.c +++ b/sys/pc98/cbus/syscons_cbus.c @@ -214,10 +214,7 @@ sc_get_bios_values(bios_values_t *values) values->cursor_start = 15; values->cursor_end = 16; values->shift_state = 0; - if (pc98_machine_type & M_8M) - values->bell_pitch = BELL_PITCH_8M; - else - values->bell_pitch = BELL_PITCH_5M; + values->bell_pitch = BELL_PITCH; } int