I had one guy I'm the late 90s at my HS who made a program that copied itself onto every directory on the computer at startup. It was a .com file and if you tried to run it it would use the PC speakers and play an tone increasing in volume and pitch until it was unbearable. You had to do a hard boot to end it.
I also remember the Form virus that made the PC speakers make a sound each time you pressed a key. Can't remember I'd it did anything else.