VOGONS

Common searches


Search results

Display options

Re: GWBASIC "TIME$" function

Another geek (MUCH more advanced than I!) whipped up a nice little EXE file that syncs the DOS clock to the Windows system clock. It's not NTP, itself, but Windows calls an NTP to sync itself so this utility gets accurate time. One of the BAT files calls the EXE and exits back to the GWBASIC program …

Re: GWBASIC "TIME$" function

Just for the sake of those that have followed this thread, the looping BAT files did, indeed, do the trick. It's been running flawlessly for months, now. 😀 (Not counting the fact that Windows, itself, gets stupid and needs a reboot about once a month.)

Re: GWBASIC "TIME$" function

In case anyone is curious... that did the trick! :) Even if the clock drifts a few seconds by the end of the day, that's not too serious. The midnight re-sync has been working all week. The looping BAT files also have the added advantage of re-launching the program, if it's accidentally closed. ( …

Re: GWBASIC "TIME$" function

I think I found a solution! With some clever use of loops in a BAT file, I can make the program drop to DOS at midnight, where the looping batch re-launches DOSBOX, thus re-syncing the system clock. I will leave it running for a few days this way, and see how well it holds up. :) Re-writing the code …

Re: Mouse copy/paste support

Dominus wrote: Willie, I understand that you want your problem solved but please stay on topic (copy/paste) and don't post your problem in every Dosbox patch thread... I believe I only posted in two threads? If I crossed the line, I apologize.

Re: Mouse copy/paste support

Disregard... I think I found a solution! With some clever use of loops in a BAT file, I can make the program drop to DOS at midnight, where the looping batch re-launches it, thus re-syncing the system clock. I will leave it running for a few days this way, and see how well it holds up. 😀

Re: GWBASIC "TIME$" function

Well.... unfortunately, QB64 doesn't support the important COM(x) port functions that I need! Sigh. :( SO FAR, the issue is either the serial works or the clock works. They are thus far mutually exclusive, due to limitations in the BASIC emulation software I've tried! Sigh.... :( The thought of …

GWBASIC "TIME$" function

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 …

Page 1 of 1