Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.asm.x86    |    Ahh, the lost art of x86 assembly    |    4,675 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 4,173 of 4,675    |
|    wolfgang kern to John    |
|    Re: Calendar program    |
|    08 Oct 20 14:11:05    |
      From: nowhere@nospicedham.never.at              On 08.10.2020 13:19, Kerr-Mudd,John wrote:       > I found an old cal.com (900 bytes)       >> cal /? gives       >       > CAL 1.07 Freeware       > Copyright 1998, Charles Dye       >       > CAL       > CAL mm/yyyy       > CAL yyyy       >       > ; I have another 856 byte one       >       > which I may have written, or recreated from someone else's com:       >> cal /? gives       > Unknown month or year. Example usage: "cal march 83"       >       > which shows how long ago it was written!       >       > I have rewritten it to the same spec:       > cal (uses current mth&year)       > cal mthname (uses current year and mthname)       > cal mthname year (uses year and mthname)       >       > current byte count is down to 465       >       >       > Sample output:       >> cal fEb       >       > February 2020       >       > Sun Mon Tue Wed Thu Fri Sat       >       > 1       > 2 3 4 5 6 7 8       > 9 10 11 12 13 14 15       > 16 17 18 19 20 21 22       > 23 24 25 26 27 28 29       >       >       > DOS dependencies:       > Int 21 fn 2A for curr yr/mth (if full yr/mth not specced)       > Int 21 fn 09 to print.              In my OS there is a running wall clock which can be set to various       output forms, the default is a two liner:       [Fr Oct.09.20]       [23:59:59.999]       It initially reads direct from RTCL, it calculates DayOfWeek and the       Milli-Seconds join in from the PIT (which is synchronized by RTCL).       Together with the few bytes in the IRQ-routines it's about 512 byte.              And it can be (ab)used to display DOW of any date (based anno 1800).       __       wolfgang              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca