When [Ben Eater] talks, hackers in every single place hear. In his newest video [Ben] exhibits us the right way to make pc noises utilizing sq. waves and a 6502 microprocessor.
[Ben] makes use of the timer within the W65C22 Versatile Interface Adapter to generate the sq. waves which generate a tone. He then provides assist for a brand new BEEP command into his MS BASIC interpreter. We coated [Ben Eater]’s MS BASIC right here at Hackaday again in April, so positively verify that out should you missed it.
After checking the frequency of oscillation utilizing his Keysight oscilloscope he then wires in an 8Ω 2W speaker through a LM386 audio amplifier. We are able to’t use the W65C22 output pin immediately as a result of that may solely output a number of milliwatts of energy. [Ben] implements the standard circuit software from the LM386 datasheet to drive the speaker. To finish his video [Ben] writes a program for his BASIC interpreter which performs a tune.
Because of [Mark Stevens] for writing in to tell us about this one. If you happen to’re planning to play alongside at dwelling place to begin is to construct your personal 6502, like [Ben] did!