Groups | Search | Server Info | Login | Register


Groups > comp.lang.asm.x86 > #8248

Re: Calendar program

From "Kerr-Mudd,John" <notsaying@nospicedham.127.0.0.1>
Newsgroups comp.lang.asm.x86
Subject Re: Calendar program
Date 2020-11-20 13:30 +0000
Organization dis
Message-ID <XnsAC7B896E16EEAadmin127001@144.76.35.198> (permalink)
References (9 earlier) <XnsAC6FE35DD64D7admin127001@144.76.35.198> <roggnn$kuu$1@gioia.aioe.org> <XnsAC7271D52F40Aadmin127001@144.76.35.198> <XnsAC727643E12C6admin127001@144.76.35.198> <XnsAC72AD7C9E5DFadmin127001@144.76.35.198>

Show all headers | View raw


On Wed, 11 Nov 2020 17:03:15 GMT, "Kerr-Mudd,John" 
<notsaying@nospicedham.127.0.0.1> wrote:

> On Wed, 11 Nov 2020 11:37:32 GMT, "Kerr-Mudd,John"
> <notsaying@nospicedham.127.0.0.1> wrote: 
> 
>> On Wed, 11 Nov 2020 11:11:24 GMT, "Kerr-Mudd,John" 
>> <notsaying@nospicedham.127.0.0.1> wrote:
>> 
>>> On Wed, 11 Nov 2020 11:08:16 GMT, wolfgang kern
>>> <nowhere@nospicedham.never.at> wrote: 
>>> 
>>>> On 08.11.2020 23:21, Kerr-Mudd,John wrote:
>>>>> On Sun, 01 Nov 2020 16:21:58 GMT, "Kerr-Mudd,John"
>>>>> <notsaying@nospicedham.127.0.0.1> wrote:
>>>>> 
>>>>>> On Sun, 01 Nov 2020 13:39:27 GMT, Bogus@Embarq.com 
(Steve) wrote:
>>>>>>
>>>>>>> "Kerr-Mudd,John" <notsaying@nospicedham.127.0.0.1> 
writes:
>>>>>>>>
>>>>>>>> 512 bytes ; OK to y31k (I think). (oh, I also managed 
to keep
>>>>>>>> the 'accepts "monthname"' code).
> 
> Ok dropped the "+n" code for start of week day, but allow as 
text;  512 
> bytes.
> 
> 
> C:\>d:scala4 feb 1960  mon
>       Feb 1960
> Mo Tu We Th Fr Sa Su
>  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
> 
> C:\>d:scala4 MARCH  1983 Tues
>       Mar 1983
> Tu We Th Fr Sa Su Mo
>  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 30 31
> 
> 
> C:\>d:scala4a / help or any other bad parms
> "cal {mthnum|mthname} {year} {dow}"
>         eg: cal Feb 2020 Mon
> 

I've discovered an 620 byte "interactive" calendar:

'Copyright (C) Lawrence E. Boothby 1998'

which comes wrapped in a compression method of his own 
devising

It starts at the current calendar month, and permits
CsrL -1 month
CsrR +1 month
CsrU -1 year
CsrD +1 year
PgUp -100 years
PgDn +100 years
(escape)
drawn at the top right of a standard colour text screen in 
blue on green.

I've reverse-engineered it and inserted my own leap year code 
to get a 398 byte (no compression, no copyright) program.
Still room for cutting some, I think.

So there's potential to add e.g. startday adjust code inside 
the 512 limit.  





-- 
Bah, and indeed, Humbug.

Back to comp.lang.asm.x86 | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Calendar program "Kerr-Mudd,John" <notsaying@nospicedham.127.0.0.1> - 2020-10-08 11:19 +0000
  Re: Calendar program wolfgang kern <nowhere@nospicedham.never.at> - 2020-10-08 14:11 +0200
  Re: Calendar program Terje Mathisen <terje.mathisen@nospicedham.tmsw.no> - 2020-10-08 17:10 +0200
  Re: Calendar program "Kerr-Mudd,John" <notsaying@nospicedham.127.0.0.1> - 2020-10-09 16:08 +0000
    Re: Calendar program Terje Mathisen <terje.mathisen@nospicedham.tmsw.no> - 2020-10-09 18:51 +0200
      Re: Calendar program "Kerr-Mudd,John" <notsaying@nospicedham.127.0.0.1> - 2020-10-09 19:24 +0000
        Re: Calendar program "Kerr-Mudd,John" <notsaying@nospicedham.127.0.0.1> - 2020-10-10 10:24 +0000
          Re: Calendar program "Kerr-Mudd,John" <notsaying@nospicedham.127.0.0.1> - 2020-10-24 11:45 +0000
            Re: Calendar program "Kerr-Mudd,John" <notsaying@nospicedham.127.0.0.1> - 2020-11-01 11:51 +0000
              Re: Calendar program Bogus@Embarq.com (Steve) - 2020-11-01 13:39 +0000
                Re: Calendar program Terje Mathisen <terje.mathisen@nospicedham.tmsw.no> - 2020-11-01 15:37 +0100
                Re: Calendar program wolfgang kern <nowhere@nospicedham.never.at> - 2020-11-02 09:10 +0100
                Re: Calendar program "Kerr-Mudd,John" <notsaying@nospicedham.127.0.0.1> - 2020-11-01 16:21 +0000
                Re: Calendar program "Kerr-Mudd,John" <notsaying@nospicedham.127.0.0.1> - 2020-11-08 22:21 +0000
                Re: Calendar program wolfgang kern <nowhere@nospicedham.never.at> - 2020-11-11 12:08 +0100
                Re: Calendar program "Kerr-Mudd,John" <notsaying@nospicedham.127.0.0.1> - 2020-11-11 11:11 +0000
                Re: Calendar program "Kerr-Mudd,John" <notsaying@nospicedham.127.0.0.1> - 2020-11-11 11:37 +0000
                Re: Calendar program "Kerr-Mudd,John" <notsaying@nospicedham.127.0.0.1> - 2020-11-11 17:03 +0000
                Re: Calendar program "Kerr-Mudd,John" <notsaying@nospicedham.127.0.0.1> - 2020-11-20 13:30 +0000
                Re: Calendar program "Kerr-Mudd,John" <notsaying@nospicedham.127.0.0.1> - 2020-11-20 13:56 +0000
                Re: Calendar program wolfgang kern <nowhere@nospicedham.never.at> - 2020-11-21 08:53 +0100
                Re: Calendar program "Kerr-Mudd,John" <notsaying@nospicedham.127.0.0.1> - 2020-11-21 20:20 +0000
                Re: Calendar program "Kerr-Mudd,John" <notsaying@nospicedham.127.0.0.1> - 2020-11-25 09:53 +0000
                Re: Calendar program "Kerr-Mudd,John" <notsaying@nospicedham.127.0.0.1> - 2020-12-09 15:24 +0000
                Re: Calendar program "Kerr-Mudd,John" <notsaying@nospicedham.127.0.0.1> - 2020-12-18 11:21 +0000
                Re: Calendar program "Kerr-Mudd,John" <notsaying@nospicedham.127.0.0.1> - 2021-01-11 20:15 +0000
      Re: Calendar program "Kerr-Mudd,John" <notsaying@nospicedham.127.0.0.1> - 2020-10-09 19:24 +0000

csiph-web