Skip to content

Conversation

@tyama501
Copy link
Contributor

Hello @ghaerr and @floriangit ,

I haven't added option to change the frequency and time,
but I have added the code for PC-98 according to
#1796

I could hear beep from PC-98 NekoProject/W emulator as below.
I also replaced IBM port numbers to defines of ports.h,
but I couldn't check it since my qemu on windows cannot enable speaker.
Could you double check it?

ELKS_PC98_beep_NP21W.mp4

Thank you!

@floriangit
Copy link
Contributor

I've applied your patch locally to test it. Still all beeps fine on qemu (from Debian) as well as on my 286-PC, @tyama501 !
The only nitpick I can find is in ports.h:

+/* bell*/
and
/* serial, serial-pc98.c*/

missing a white space before the comment ends in */

@tyama501
Copy link
Contributor Author

Hi @floriangit

Great! Thank you for quick testing!

@ghaerr
Copy link
Owner

ghaerr commented Feb 10, 2024

Hello @tyama501,

This looks good. When you add the options for frequency and time, perhaps we can also use #ifdef CONFIG_ARCH_IBMPC for the IBM PC code, rather then using an #else clause. This will allow for nothing to happen for the 8018X port, for instance.

Thank you!

@ghaerr ghaerr merged commit 2ccda60 into ghaerr:master Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants