|
System Disk 03
Dinkit 003 (System disk 003) now has IO (input/output)! Called the PC speaker, will OK, that is just output only. Fine! Dinkit 003 now just has O ! In “System disk 003” we will be working with generating sound from the PC speaker. There are two tools (subroutines) that were added to the kernels basic core called "Beepe" and "Beep". The first tool when called simply beeps the PC speaker. (BONK) Beepe is just used by the kernel for panic conditions. (When the system is dying) Beepe uses no interrupts or stack, just jump to it and beep the error code then shut down. "Beepe" has been aaded to Much of the kernel code, so that you know the an error has happened. (Great for debugging) Beep uses interrupts and is programmable. Beep use "S_wait" to give a constant wait time and constant tone independent of the CPU speed. This badly needed tool was never implemented in any of the 6 Ms-Dos versions. Thus games and other program would run out of control with higher speed CPU's. With the use of "Beep" and "S_wait" you can make interesting sound files. In time sound files of various types will become available for your use to cut and past into this project
What you will learn
The main lesson is learning the “BEEP” command. the code is technical. But running the command is very easy. The “BEEP” is always used with WAIT command. Then do some fun stuff by chaining the tone(s) and timing. Maybe write a shot song.
Download System Disk 003
Go to the downloads page and click on the “system disk 003” link
|