First post, by Willie...
Hello, Forum! This is my first post.
I'm trying to run a GWBASIC program that relies upon the TIME$ and DATE$ variables working. It's running on a P4, 1.5Ghz machine with 768 megs of RAM and Windows XP/SP3. I'm using DOSBOX .74
The BASIC program is communicating via the serial port as desired, so I'm happy with that! The only issue I have is that the TIME$ just keeps incrementing, rather than starting at 00:00:00 at midnight each night. The DATE$ never updates, it holds the date that DOSBOX was started. I've tried exiting BASIC (with the SYSTEM command) to drop to DOS. This doesn't restore the clock/calendar, so it's obviously a bug in DOSBOX.
If I run my program directly in the XP DOS window, the TIME$ and DATE$ work... but the serial port doesn't.
For those who may be curious, it is a data logging program that accepts serial data strings, displaying them on screen in a logical format, and permits saving them as text strings to disk. So obviously, the time & date are important. 😀
Thanks! 😀
Willie...