TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

8088 PC Speaker MOD player: How it’s done

120 pointsby mmozeikoabout 10 years ago

6 comments

bitwizeabout 10 years ago
Reading this account brought back memories.<p>I had a Tandy 2000 when I was a kid. I tried to get polyphonic sound output out of the thing&#x27;s beeper via PWM, by taking advantage of the fact that the machine&#x27;s 80186 CPU had three internal very high res timers in addition to the onboard 8253 timer used to drive the speaker (the same timer is used on the PC, but at different I&#x2F;O locations; the T2K ran DOS but was one of those rare machines that were NOT &quot;100% IBM compatible&quot;). By grabbing a spare timer, programming it, and setting the cpu to halt until it got a timer interrupt and toggle the speaker line when it did, I was able to get a very rough out of tune approximation of multiple tones, as well as rudimentary volume control.<p>The system clock froze after I ran my experiments but it was worth it... FOR SCIENCE!
malkiaabout 10 years ago
I was excited everytime I&#x27;ve heard Mach-3 digitized music back on the PC (DOS) - <a href="http:&#x2F;&#x2F;www.mobygames.com&#x2F;game&#x2F;dos&#x2F;mach-3" rel="nofollow">http:&#x2F;&#x2F;www.mobygames.com&#x2F;game&#x2F;dos&#x2F;mach-3</a> - then later came all mods&#x2F;s3m&#x2F;ft&#x2F;etc. trackers (I did not had Commodore&#x2F;Amiga&#x2F;Atari, just PC and Apple ][)
评论 #9357771 未加载
mhdabout 10 years ago
For some reasons this reminds me of the somewhat common hack of soldered together resistors attached to the parallel port used as a simple DAC. Anyone else who burned their fingers doing this?
评论 #9358868 未加载
评论 #9358974 未加载
spiritplumberabout 10 years ago
This is amazingly elegant. I remember showing off the fact that my laptop had a sound card because I made a parallel port DAC for it.
评论 #9357026 未加载
评论 #9357682 未加载
heywireabout 10 years ago
Slightly off topic -- does anyone remember a boot disk in the late 80&#x27;s or early 90&#x27;s that would play voice from the PC speaker, saying something to the effect of, &quot;Help, I&#x27;m trapped inside the computer&quot;? I can&#x27;t remember if it was on my 8088 or something later...
评论 #9358681 未加载
评论 #9358450 未加载
评论 #9357728 未加载
empressplayabout 10 years ago
To be fair, playing back MOD files on an XT through a PC speaker _has_ been done before -- pretty sure it was ModEdit, but there might have been something else (also). When I lost my Atari ST and only had an XT it was all I had =)
评论 #9358856 未加载
评论 #9358009 未加载
评论 #9358020 未加载