VOGONS


First post, by theelf

User metadata
Rank Oldbie
Rank
Oldbie

hi,

on some/all? 286/386/486 boards with amibios you can toggle turbo with ctrl+alt+- / +, so i understand the bios is doing it in software when it catches the key.

my question is: someone knows is there any way to trigger the same turbo on/off from a normal dos program?

i mean not pressing the hotkeys, but writing to some port or calling something in the bios, to implement the turbo off in a batch file

thanks!

Reply 1 of 8, by BitWrangler

User metadata
Rank l33t++
Rank
l33t++

Ther are several you can use on command line. The ones always kicking around on shareware and cover disks used to be fast.com and slow.com, but I have also seen turbo and deturbo ... those you can use from command line or batch. Might have to go looking on a simtel archive or mpoli to dig them up.

Unicorn herding operations are proceeding, but all the totes of hens teeth and barrels of rocking horse poop give them plenty of hiding spots.

Reply 2 of 8, by maxtherabbit

User metadata
Rank l33t
Rank
l33t

Usually this is implemented in the keyboard controller where it detects the keystroke and toggles one of its GPIO pins. So, no

Reply 3 of 8, by Grzyb

User metadata
Rank l33t
Rank
l33t

Some turbo XT boards were shipped with utilities to switch CPU speeds, see eg. Juko ST and NEST.
But I'm not aware of anything like that for 286+ boards.

In 2003, I voted in favour of joining the European Union. However, due to recent developments - especially the restrictions on cash usage - I'm hereby withdrawing my support. DOWN WITH THE EU!

Reply 4 of 8, by jakethompson1

User metadata
Rank l33t
Rank
l33t
maxtherabbit wrote on 2026-05-09, 00:38:

Usually this is implemented in the keyboard controller where it detects the keystroke and toggles one of its GPIO pins. So, no

The scan codes for turbo on/off were customizable in AMIBCP so it should be controlled by the BIOS.
OP, you could always try stashing Ctrl Alt NumPadMinus in the keyboard buffer to simulate pressing it and see what happens. It probably won't work from a Windows DOS box but a full screen one should work.

Reply 5 of 8, by maxtherabbit

User metadata
Rank l33t
Rank
l33t
jakethompson1 wrote on 2026-05-09, 01:24:
maxtherabbit wrote on 2026-05-09, 00:38:

Usually this is implemented in the keyboard controller where it detects the keystroke and toggles one of its GPIO pins. So, no

The scan codes for turbo on/off were customizable in AMIBCP so it should be controlled by the BIOS.
OP, you could always try stashing Ctrl Alt NumPadMinus in the keyboard buffer to simulate pressing it and see what happens. It probably won't work from a Windows DOS box but a full screen one should work.

All I remember seeing in there is a "speed pin" setting (where you select which GPIO pin it toggles)

Reply 6 of 8, by jmarsh

User metadata
Rank Oldbie
Rank
Oldbie

The KBC's GPIOs are generally accessible to the CPU though, that's how the A20 gate works after all.

Reply 7 of 8, by theelf

User metadata
Rank Oldbie
Rank
Oldbie

thanks guys for all reply

i tried a small test program, to send keys to keyboard buffer, obviusly did not worl, so i guess its not something you can trigger that easily from normal dos

I found the datasheet for this opti chipset https://theretroweb.com/chipset/documentation … 8e471224329.pdf

and it actually mentions turbo/slow speed control and programmable CPU/bus clock, but nothing how to deal with bios

i may try tracing the bios routine or finding the actual port/register used, someone did? any ideas? thanks

Reply 8 of 8, by BitWrangler

User metadata
Rank l33t++
Rank
l33t++

The vague understanding of the utilities I had was that they skipped the KBC hook and went right for a chipset register, so may vary by chipset. Guess it toggles the same bits set when you have turbo on/off settings in CMOS setup.

Been trying to chase down the ones I've seen in the past, but kept pulling up timer fiddling slowdown utils.... and cd.textfiles.com seems to have a lot of bitrot/missing files now.

Unicorn herding operations are proceeding, but all the totes of hens teeth and barrels of rocking horse poop give them plenty of hiding spots.