1
0
Fork 0

Speaker init in BIOS causes samples to be generated at startup, so for now move it to hardware.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3959
This commit is contained in:
ripsaw8080 2016-02-05 13:29:17 +00:00
parent 81e4f773f5
commit fe46abe6ff
2 changed files with 2 additions and 5 deletions

View file

@ -1254,10 +1254,6 @@ public:
config |= 0x1000;
mem_writew(BIOS_CONFIGURATION,config);
CMOS_SetRegister(0x14,(Bit8u)(config&0xff)); //Should be updated on changes
/* Setup PC speaker initial state - real BIOS does this for POST beeps */
IO_Write(0x43,0xb6); // PIT 2 mode 3
IO_Write(0x42,0x28); // counter 1320
IO_Write(0x42,0x05);
/* Setup extended memory size */
IO_Write(0x70,0x30);
size_extended=IO_Read(0x71);