Model T TimeSync V0.1
By T. Sosnow. 2023-24


Use this to sync the Real-Time Clock of a Model T Laptop to the current time of any PC running Windows (95b and XPSP3 tested).

You should use:
RTC100 for TRS-80 Model 100, US Olivetti M10 (for the European M10 you need to adjust the date format to "DD/MM/YY")
RTC200 for the Tandy 200
RTC8201 for the NEC PC-8201 and NEC PC-8300

RTC100 should work on the Tandy 102 as well but it's untested as I don't own one.

Running the program gives you following instructions for your Model T:
"Type RUN"COM:######" in BASIC now and press Enter."

Running this on the February 29th may cause errors except on the Tandy 200 which has proper leap year support.



This only needs one single argument: your COM port written as "COM5" or "\\.\COM31"

Forgetting that produces following the error message:
"COM port not specified. For COM10 and higher use \\.\COM--"

Trying to access an nonexistent port will yield this message:
"ERROR: ---- doesn't exist."

The argument is passed directly and WITHOUT checking to CreateFile(). Please make sure it's correct.

I don't see any room for improvement right now, aside from merging all three into one single executable.
Which I'm not interested in doing so, dealing with three separate sources seems so much simpler to me.



T. Sosnow. <t-sosnow@posteo.com>
Visit QWERTZ-tek at http://qwertz.w10.site/ for my other stuff
March 13, 2025
EOF