SECTION 6
Conversions and Interfaces
6-98 PEN*KEY
R
6100 Computer Programmer’s Reference Guide
INT 1Ah, Function AH = 03h: Set the Real-Time Clock Time
BIOS
Writes the hour, minute, second, and Daylight Savings option data to the CMOS
RAM area of the MC 146818. It must wait for the updateĆinĆprogress bit to beĆ
come zero and disable interrupts before accessing the CMOS data. Then, it must
return with the carry flag set, if there was an error; otherwise, the carry flag
must be cleared.
On Entry:
AH = 03h
CH = Hours in BCD (0ć23)
CL = Minutes in BCD (0ć59)
DH = Seconds in BCD (0ć59)
DL = Daylight Savings Time option
0 = No Daylight Savings Time
1 = Daylight Savings Time
On Return:
None
INT 1Ah, Function AH = 04h: Read the Real-Time Clock Date
BIOS
Reads the century, year, month, and day from the CMOS RAM area of the MC
146818. It must wait for the updateĆinĆprogress bit to become zero and disable
interrupts before accessing the CMOS data. Then, it must return with the carry
flag set, if there was an error; otherwise, the carry flag must be cleared.
On Entry:
AH = 04h
On Return:
CH = Century in BCD (19 or 20)
CL = Year in BCD (0ć99)
DH = Month in BCD (1ć12)
DL = Day in BCD (1ć31)
INT 1Ah, Function AH = 05h: Set the Real-Time Clock Date
BIOS
Writes the century, year, month, and day data to the CMOS data area of the MC
146818. It must wait for the updateĆinĆprogress bit to become zero and disable
interrupts before accessing the CMOS data. Then, it must return with the carry
flag set, if there was an error; otherwise, the carry flag must be cleared.
On Entry:
AH = 05h
CH = Century in BCD (19 or 20)
CL = Year in BCD (0ć99)
DH = Month in BCD (1ć12)
DL = Day in BCD (1ć31)
On Return:
None
6. Conversions and
Interfaces
Summary of Contents for PEN*KEY 6100
Page 1: ...PEN KEYR 6100 Computer PROGRAMMER S REFERENCE GUIDE P N 977 054 001 Revision B December 2000 ...
Page 14: ...CONTENTS xii PEN KEYR 6100 Computer Programmer s Reference Guide ...
Page 22: ...Preface 8 PEN KEYR 6100 Computer Programmer s Reference Guide PREFACE ...
Page 318: ...GENERAL INDEX Index 6 PEN KEYR 6100 Computer Programmer s Reference Guide ...