I made the mistake of downloading Ralph's Interrupt list. :-)
I thought I would update my when.asm code.

I am not sure what they mean by the 3rd line.
I used this.
     
      clc 
      mov ah, 02h
      int 1ah

Thanks.

INT 1A - TIME - GET REAL-TIME CLOCK TIME (AT,XT286,PS)
AH = 02h
CF clear to avoid bug (see below)
Return: CF clear if successful
    CH = hour (BCD)
    CL = minutes (BCD)
    DH = seconds (BCD)
    DL = daylight savings flag
Posted on 2009-09-22 17:36:15 by skywalker
If this is true I have a lot of code to debug :shock:

What version of the list did you use.  I don't see any mention of the bug here.
Posted on 2009-09-22 22:08:58 by rCX

If this is true I have a lot of code to debug :shock:

What version of the list did you use.  I don't see any mention of the bug here.


My "mistake" comment was meant as humor.

This is the version that talks about the bug in Int 1A.
Is there a newer version?

Release 61 Last change 16jul00
Posted on 2009-09-23 05:20:30 by skywalker
CF set on error (i.e. clock not running or in middle of update)
BUG: some BIOSes leave CF unchanged if successful, so CF should be cleared
  before calling this function

Some 1989 BIOSes maybe...

6.1 is the last release

Posted on 2009-09-23 18:05:13 by sinsi