Here is a little refresher on how memory management and pointers work in the C programming language, and especially under real mode MS DOS programs written in Turbo C 2.0. We will go back to the basics to give all the new subscribers of this video series a chance to catch up.
Month: August 2024
Let’s Code MS DOS 0x2A: Background Adlib Music
We already learned how to program the Adlib sound card to produce percussion and melodic instruments. Now we tackle the problem of getting real music out of it. By utilizing the Reality Adlib Tracker’s playback routine we learn how to program the Programmable Interrupt Timer (PIT) in the PC to get a steady playback of background music.