pedro@cs.mcgill.ca (Sandro MAZZUCATO) (01/21/91)
Hello everyone ... I have a 286 6-12Mhz, and from the keyboard I can switch from one speed to the other when I boot in 6MHz. I only need to do <CTRL><ALT><-> or <CTRL><ALT><\> I'd like to be able to write a small program to simulate the 2 possible sequences of keys, I think that this triggers an interrupt in the BIOS... how can I find the right interrupt..... Thank you for your help....
raymond@math.berkeley.edu (Raymond Chen) (01/21/91)
In article <1991Jan21.013033.4574@cs.mcgill.ca>, pedro@cs (Sandro MAZZUCATO) writes: > I'd like to be able to write a small program to simulate the 2 >possible sequences of keys [that change CPU speeds] >I think that this triggers an interrupt in the >BIOS... how can I find the right interrupt..... Typically, they emit magic numbers out special ports. Different machines do it differently. The only way to find out for sure is to (ugh) trace through the keyboard interrupt code with DEBUG. Tedious but not too difficult if you're rather fluent with assembly. It helps to boot from a floppy disk with no TSR's. (I've done it once before.)