so I'm porting Doom to a new platform, and sadly it doesn't have any sound output.

well, any traditional sound output. it has a piezo buzzer.

PC SPEAKER'S BACK ON THE MENU, GALS!

Got it working. Mostly.
There's some timing issues because my interface to the piezo is too indirect, I think I'm gonna have to add "play back arbitrary PC Speaker sound effects" to the microcontroller firmware.
but otherwise it sounds great. very "oh boy is this a 486 in 1993 again?"
I'd post videos but, you know, NDAs.
I'll get approval for the demo video when it's actually done
@foone it sounds vaguely like this is a thermostat but I don’t know where you work anymore so for all I know it’s a fire status panel or a CNC display or something (I’m trying to think of anything with a video display and a piezo buzzer which would have any business having a processor that could run Doom)

@foone when you say "to a new platform", do you mean "a new platform" as in "you'll be able to play the game on this hardware", or do you mean "a new platform" as in "so I've sent the entire shareware version of Doom through Facebook Messenger via QR codes stacked together in a gif"?

Normally I wouldn't have to ask, but,

@foone time for some bit-banging
@foone PC speaker Doom was my first experience of it. My mate didn't have a soundcard, so it was high pitched bleeps all the way.
@foone Is it possible to wrangle PCM out of that thing anyhow? ^^ I found some buzzers a bit too simple to stand in for a real PC speaker. Not sure if it’s due to ride time or something else.
@foone ahh, nature's healing

@foone anybody who played "F-19" (or F-119?) on old 286/386 with amber or white displays and no "soundblaster" knows the PC speaker very well ;)

Engine sound was more or less:
Fiiiiiiiiiiiiiiiiiiiiiiiiii......