Bypass navigation menu
RGB Classic Games
Keeping the classics alive
Currently hosting 566 great games!
Return to Chapter 3

GetTimer

Function number: 134

Returns the current speed of the 8253 timer chip.

Register entry values

AX = EE86

Register exit values

BX = Current speed of the 8253 timer chip.

Example

MOV     AX,0EE86H       ;Get 8253 timer chip speed function
INT 10H ;Call GRAFIX
MOV [CurSpeed],BX ;Store current 8253 timer chip speed

Comments

See the 'FastTimer' function in chapter 2 for more information on the 8253 timer chip.