delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/2001/04/24/00:38:40.1

Message-ID: <01FD6EC775C6D4119CDF0090273F74A4022040@emwatent02.meters.com.au>
From: "da Silva, Joe" <Joe DOT daSilva AT emailmetering DOT com>
To: "'opendos AT delorie DOT com'" <opendos AT delorie DOT com>
Subject: RE: DOS issues #1.1
Date: Tue, 24 Apr 2001 13:52:40 +1000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id AAA08250
Reply-To: opendos AT delorie DOT com

Yes ... I'm sure your explanation of the problem is correct,
although I found this problem using just M$-DOS or PC-DOS
(ie. no Windoze involved).

However, the suggested solution does not work! Years ago,
I tried to write a TSR to do exactly this. However, although
under normal circumstances this was well behaved, it "hung"
the PC every once in a while (probably due to re-entrancy
issues with DOS)! Then I discovered that DR-DOS 6.0 did
not have this bug, so the solution was to change to DR-DOS
(BTW, DR-DOS 7.0X is also OK).

Joe.

> -----Original Message-----
> From:	Arkady V.Belousov [SMTP:ark AT belous DOT munic DOT msk DOT su]
> Sent:	Thursday, 19 April 2001 20:14
> To:	opendos AT delorie DOT com
> Subject:	RE: DOS issues #1
> 
> X-Comment-To: da Silva, Joe
> 
> Hi!
> 
> 19-áÐÒ-2001 18:43 Joe DOT daSilva AT emailmetering DOT com (da Silva, Joe) wrote to
> "'opendos AT delorie DOT com'" <opendos AT delorie DOT com>:
> 
> dJ>     3. All versions of M$-DOS and PC-DOS I have tried
> dJ>         (up to 6.22, IIRC) have a bug in the timekeeping
> dJ>         stuff, such that if left at the DOS prompt or within
> dJ>         an application for more than 24h, they sometimes
> dJ>         forget to update the calendar. I haven't tried this
> dJ>         with M$-DOS 7.XX, so it's slightly possible they
> dJ>         fixed this - if not, then this can be a problem for
> dJ>         embedded applications.
> 
>      Below my addition to RBIL (just for programmers note):
> 
> ______________O\_/_________________________________\_/O______________
> - `B-1A00':
> >BUG: Under W4WG midnight flag may not be returned (AL is zero, even if
> >  [0:470h] is nonzero) and consequently not cleared after this call or
> even
> >  may not be forced after midnight at all. Moreover, if sometime this
> flag
> >  is returned, then it anyway not cleared and not seen in next calls (for
> >  example, when INT21/2Ah (DOS Get Date) function is called), so date
> >  change will not forced. This trouble may be solved by direct accessing
> >  [0:46Ch] and [0:470h] cells: when [0:470h] cell is changed, then call
> >  INT 21/2Ah and then clear [0:470h] cell
> _____________________________________________________________________
>               O/~\                                 /~\O

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019