Live data from Hacker News

What’s up with the Beep driver in Windows 7? (2010)

blogs.msdn.microsoft.com

41–50 of 106 posts

Re: What’s up with the Beep driver in Windows 7? (2010)

#41

Earlier quoted context omitted.

Intel finally got rid of hardware A20 gating in Haskell. Real mode still exists, and iirc, the processor still defaults to it. You just can't jump into real mode from x64 mode, you need a virtualized environment in 32 bit mode to do that.

> Intel finally got rid of hardware A20 gating in Haskell. Has w ell?

Haswell. Curse you, autocorrect.

Re: What’s up with the Beep driver in Windows 7? (2010)

#42
post #6

Earlier quoted context omitted.

Not even chipset pins devoted to AT keyboards?

Good luck using an AT keyboard today :P there are some USB converters. Some motherboards that offer PS/2 connectivity (rare, mostly "gaming motherboards" for n-Key rollover fanatics) but I don't even know if that chipset would do AT.

The PS/2 keyboard interface is just AT with a mini-DIN connector instead of DIN. It's the same protocol.

Re: What’s up with the Beep driver in Windows 7? (2010)

#43

That is a pretty awesome tour de force. Somewhere deep inside your computer is an (emulated) PC/AT trying to get out :-). An interesting lesson about the use of 'beep' for the assistive technologies. I see those sorts of things in architectures which have grown up over time and I wonder whether or not you could know at the time "Hey we're using this weird thing, please deprecated at your earliest convenience" or if i…

"So," say I, "what is the madness, The state of awful system sadness, That would cause Linux such distress?" After all, the days of yore, from which this reference came before, those days are long since gone. Yes, the PDP is long since gone, and though it legacy carries on, the once-great HACTRN is no more. So once again this begs the question, which I ask through my HN session, what did feep upon your console's bell…

...twas qmail's spool space and nothing more.

Re: What’s up with the Beep driver in Windows 7? (2010)

#44
post #40
post #32

Earlier quoted context omitted.

On first few AMD's original AMD64 microarchitectures, 16 bit segments (both vm86 and 16b protected mode) were not working when the CPU was in long mode. The fact that they do on many modern CPUs is one of the Intel's extensions to AMD64. Also this is the reason why 64b windows do not support NTVDM and 16b windows applications, while the current hardware can support that. Another of these backward compatibility Intel'…

AFAIK that is not true as far as I know.

You can jump into real mode from long mode, but you can't run real mode programs while inside long mode.

Re: What’s up with the Beep driver in Windows 7? (2010)

#45
post #2

Anyone else remember that driver that allowed the internal speaker to output wave sound? I remember days of playing SimCity 2000 and Doom without a sound card, so it was just beeps and buzzes. Then one day I discovered that driver and started to enjoy small sounding wave sound

Somewhat (maybe) related : another world from Éric Chahi used to support the pc speaker as sound output, and had digitized sound effects and voices (very low quality but still incredible).

Re: What’s up with the Beep driver in Windows 7? (2010)

#46

Earlier quoted context omitted.

Well a certain amount of it is emulated in SMM, but from the fact that its still possible to boot DOS on most modern machines, a lot of the core hardware is still there emulated or otherwise. I was just reading a review on the Asus X99-A II, board where they were talking about the super-io chip's PS2 keyboard port. And IIRC, a couple years ago someone (IBM IIRC) dared to ship a machine without an 8042 keyboard contro…

> Especially given the love for all things ARM, which tend to implement their peripherals in a very 1980's way with simple fixed MMIO ports punched into the address map, but without the standardization that form the basis of PC/AT hardware. Isn't that a source of flexibility, though? The fact that that stuff is not standardized and is instead hidden behind a hardware abstraction layer (the OS kernel) means that ARM s…

From this POV, yes.

However, for that you need:

1) a specific kernel for specific hardware, there's no universal kernel like for PC and

2) lot of hope that the maintenance or support of that specific kernel is not going to be dropped as soon as the hardware ships out of the gates (which is the fate of many routers or android phones, which cannot be updated to newer OS releases).

Re: What’s up with the Beep driver in Windows 7? (2010)

#47
post #31

Earlier quoted context omitted.

Well a certain amount of it is emulated in SMM, but from the fact that its still possible to boot DOS on most modern machines, a lot of the core hardware is still there emulated or otherwise. I was just reading a review on the Asus X99-A II, board where they were talking about the super-io chip's PS2 keyboard port. And IIRC, a couple years ago someone (IBM IIRC) dared to ship a machine without an 8042 keyboard contro…

Can you talk about your firmware work on the X99-A board? Any coreboot tips?

It's possible the OP was talking about firmware development for embedded hardware (Arduino-scale devices), using the RS232 port on the X99 to communicate with the firmware. Lots of embedded hardware has a serial console hidden somewhere inside, and when debugging, it can be faster to add some printf equivalent calls or a new console command than to use a JTAG.

Re: What’s up with the Beep driver in Windows 7? (2010)

#49
post #19
post #2

Anyone else remember that driver that allowed the internal speaker to output wave sound? I remember days of playing SimCity 2000 and Doom without a sound card, so it was just beeps and buzzes. Then one day I discovered that driver and started to enjoy small sounding wave sound

I remember building a resistor ladder DA converter and connecting it to the parallel port. Software like No$ gameboy emulator used it, and it was easy enough to write to the parallel port directly.

I still have the connector with the resistor ladder laying in a drawer down here. A parallel port plug with a audio connector coming out of the back. :) Good times.

Re: What’s up with the Beep driver in Windows 7? (2010)

#50
post #45
post #2

Anyone else remember that driver that allowed the internal speaker to output wave sound? I remember days of playing SimCity 2000 and Doom without a sound card, so it was just beeps and buzzes. Then one day I discovered that driver and started to enjoy small sounding wave sound

Somewhat (maybe) related : another world from Éric Chahi used to support the pc speaker as sound output, and had digitized sound effects and voices (very low quality but still incredible).

The PC port of Pinball Fantasies could also play MOD music through the internal speaker fairly nicely. My personal favorite is still the "Magic Mushroom" disk, which played the audio part of an Air-O-Zone air freshener commercial, all in 360K. :)
Post reply on HN