Here's a small routine to read and display the system time and date.
Yeah, I know - it's no big deal. My XT's clock card became psychotic
and I ended up buying one of the no-slot clocks (which by the way works
great). The time display routine they provide has a bug in it such that
Saturday always comes out aturday. I started to disassemble the routine
and realized I was being kind of stupid. So I just wrote this - it
seems to work just fine. It's in the Public Domain and I hope somebody
might find a use for it.
It's in TASM 1.0 IDEAL mode, I used...
tasm /w /ml /la
tlink /t /s %1