PC Speaker: Difference between revisions
[unchecked revision] | [unchecked revision] |
Content deleted Content added
m Replace non-standard uxint types with uintx_t. |
|||
Line 37:
<source lang="c">
//Play sound using built in speaker
static void play_sound(
//Set the PIT to the desired frequency
Line 56:
//make it shutup
static void nosound() {
outb(0x61, tmp);
|