en:docs:bios:api:int1a:01

Note: This IBM PC BIOS API call is for DOS/Win16 personality only. Use Family API for portability.

Note: osFree Macro Library provides macros for most of functions

2022/03/13 05:41 · prokushev · 0 Comments

Int 1AH, AH=01H

Version

IBM 5150 and higher

Brief

SetTime

Family API

Input

  • AH = 01h
  • CX:DX = number of clock ticks since midnight

Return

nothing

Macro

INCLUDE BIOS.INC
 
@SetTime 54432

Notes

  • there are approximately 18.2 clock ticks per second, 1800B0h per 24 hrs (except on Tandy 2000, where the clock runs at 20 ticks per second)
  • this call resets the midnight-passed flag

Note