greg@turbo.atl.ga.us (Greg Montgomery) (01/04/91)
I'm having a problem with my system's clock. Sometimes when I'm running a program overnight, the date is not updated. I'm using a routine from BetterBasic that gets the DOS date, so I think the problem is the DOS clock is not being updated. I need to know when and how the DOS clock is updated. Shouldn't it be updated everytime I call it?? Or is the BIOS clock the one not being updated? However, if I reboot the computer, the date is correct and I don't have to change it manually. I'm thinking about writing an asm routine that the Basic program will call and the routine will set a global variable to the date returned by the BIOS clock (int 1ah, function 04h). Is this my only alternative?? It's been awhile since I've written asm code, so I'm hoping to avoid this! <grin> Thanks in advance for the help... Oh yeah, the computer is a Acer 286 running MS-DOS v3.30 or v3.31. Greg ---- Greg Montgomery | Montgomery Consultants, Inc. | Atlanta, Georgia, U.S.A Internet: greg@turbo.atl.ga.us | Home of the '96 UUCP: {rutgers,ogcise,gatech}!emory!turbo!greg | Olympics!