Re: Calendar Info Needed

new topic     » goto parent     » topic index » view thread      » older message » newer message

-----Original Message-----
From:   Leung, Ying-Kit [SMTP:Ying-Kit.Leung at CAN.XEROX.COM]
Sent:   Wednesday, June 16, 1999 3:36 PM
To:     EUPHORIA at LISTSERV.MUOHIO.EDU
Subject:        Re: Calendar Info Needed

>What is the addresses of the BIOS date/time?
The BIOS RTC Services are on INT 1Ah (See Below)

>Can I use Peek() to get the data?
NO!.  (unless Peek can access I/O Mappings?)

The BIOS is ROM so contains nothing that changes like the current time

What I think was ment, is use the BIOS Interrupt service to access the RTC
hardware

FYI
INT 1A - System and Real Time Clock BIOS Services

      INT 1A,0   Read system clock counter
      INT 1A,1   Set system clock counter
      INT 1A,2   Read real time clock time (AT,PS/2)
      INT 1A,3   Set real time clock time (AT,PS/2)
      INT 1A,4   Read real time clock date (AT,PS/2)
      INT 1A,5   Set real time clock date (AT,PS/2)
      INT 1A,6   Set real time clock alarm (AT,PS/2)
      INT 1A,7   Reset real time clock alarm (PS/2)
      INT 1A,8   Set RTC activated power on mode (convertible,PS/2)
      INT 1A,9   Read RTC alarm time and status (convertible,PS/2)
      INT 1A,A   Read system day counter (PS/2)
      INT 1A,B   Set system day counter (PS/2)
      INT 1A,80  Set up sound multiplexer (PCjr only)

      - function is specified in register AH

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu