// init the system timers
// timer 0: mode 3, 65536 ticks
IO_WriteB(0x43, 0x36); IO_WriteB(0x40, 0x0); IO_WriteB(0x40, 0x0);
// timer 1: mode 2, low byte only, 117 ticks (memory refresh)
IO_WriteB(0x43, 0x54); IO_WriteB(0x41, 0x75);
// timer 2: mode 3, 1320 ticks (from the POST beep)
IO_WriteB(0x43, 0xb6); IO_WriteB(0x42, 0x28); IO_WriteB(0x42, 0x5);
What was it that fixed 3 Stooges?
Have to tell you that I currently attempt to rewrite the system timer, so the interface to the pcspeaker code may change if it works out.
What kind of a plan do you have for the rewrite?
ripa wrote:300 cycles explains why 3 Stooges was quiet. I was experimenting at 3000 cycles ("You idiots!").
I've attached the third revision. It fixes Nope and Atom demos, reduces whine in Wizball and Perestroika, and fixes The Three Stooges speech (normal core, cycles < 1000).
- look at Battle Bugs and Will Harvey's Music Construction Set
- implementing proper filtering
- refactoring the pc speaker code
Thanks for that video. It confirms that the emulated motor sound in HD2 is now correct.
NOTE FOR NOT DEVELOPERS: The exe file you provide requires some dll files to run. Installing Microsoft Visual C++ 2010 Redistributable Package (x86) will solve that.
Users browsing this forum: No registered users and 1 guest