home bbs files messages ]

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,171 of 4,675   
   Kerr-Mudd,John to All   
   Calendar program   
   08 Oct 20 11:19:09   
   
   From: notsaying@nospicedham.127.0.0.1   
      
   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.   
      
   --   
   Bah, and indeed, Humbug.   
      
   --- 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