Merge pull request #36 from pcem-maintainer/master

Remove AWARD 286 BIOS turbo hack
This commit is contained in:
pcem-maintainer 2021-06-24 12:55:05 -03:00
commit 958de5ecc0

View file

@ -675,17 +675,14 @@ void keyboard_at_write(uint16_t port, uint8_t val, void *priv)
keyboard_at_adddata(0x00); keyboard_at_adddata(0x00);
break; break;
case 0xe8: /* Super-286TR: turbo ON */ // AWARD BIOS: called after turbo ON/OFF in the
// TODO: 0xe8 is always followed by 0xba // Hyundai Super-286TR and probably other AWARD 286
// TODO: I don't know where to call cpu_set_turbo(1) to avoid slow POST after ctrl-alt-del when on low speed (if this is the real behavior!) // bioses. Related to the Turbo LEDs. Exact function
if (romset == ROM_HYUNDAI_SUPER286TR) // can't be confirmed because the system in question
cpu_set_turbo(1); // 12 MHz // has no such leds.
break; //case 0xe8: /* Turbo ON, always followed by 0xba */
//case 0xe9: /* Turbo OFF */
case 0xe9: /* Super-286TR: turbo OFF */ //break;
if (romset == ROM_HYUNDAI_SUPER286TR)
cpu_set_turbo(0); // 8 MHz
break;
case 0xef: /*??? - sent by AMI486*/ case 0xef: /*??? - sent by AMI486*/
break; break;