Solved

MS-DOS  3.xx timer handler

Posted on 1998-04-08
2
205 Views
Last Modified: 2013-12-29
Does anybody know what does the MS-DOS timer handler does when the time has passed by midnight? We have several embedded machines with MS-DOS 3.xx and it seems it sometimes locks whenever a DOS (File I/O?) function is called (almost) simultaneously when midnight occurs.
(some MS-DOS programming links will also be helpful).



0
Comment
Question by:noexpert
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Expert Comment

by:Slarti
ID: 1804366
Could you give more details on the operation you are performing, what language you're writing in, what DOS function you're calling, whether you're running from within Windows, and so on. Also some background on the application itself might be useful.

0
 
LVL 7

Accepted Solution

by:
kamall earned 100 total points
ID: 1804367
noexpert,
The DOS timer handler resets system timer at midnight.
This seems to be conflicting with something inside your code. You might be able to avoid this by checking the timer value, or better the system time before committing your file I/O operation.
Regards.
0

Featured Post

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question