-
Notifications
You must be signed in to change notification settings - Fork 3
Cmos Functions
Joshua Riek edited this page Feb 17, 2020
·
1 revision
Read the contents from a chosen CMOS register
- IN:
AL
= CMOS address to read - OUT:
AH
= Contents from read
Write to the chosen CMOS register
- IN:
AL, AH
= CMOS address to write, Value to write - OUT:
Nothing
Get the system date from the CMOS
- IN:
Nothing
- OUT:
AL, CX, DH, DL
= Week, Year, Month, Day
Get the system time from the CMOS
- IN:
Nothing
- OUT:
CH, CL, DH
= Hour, Minute, Second
Use the CMOS to wait a period of time in seconds
- IN:
CX
= Seconds to wait for - OUT:
Nothing
Convert a value into a binary-coded decimal (BCD)
- IN:
AL
= Number to convert - OUT:
AL
= Converted number