Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

When Dexter's on the Internet, can Hell be far behind?"


devel / alt.lang.asm / Re: Calendar program (revisited)

SubjectAuthor
* Re: Calendar program (revisited)Kerr-Mudd, John
+* Re: Calendar program (revisited)Terje Mathisen
|+- Re: Calendar program (revisited)Herbert Kleebauer
|`- Re: Calendar program (revisited)Skybuck Flying
`- Re: Calendar program (revisited)Kerr-Mudd, John

1
Re: Calendar program (revisited)

<20230801164523.6d8af1599d7d93d8f3dc993b@127.0.0.1>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=436&group=alt.lang.asm#436

 copy link   Newsgroups: comp.lang.asm.x86 alt.lang.asm comp.os.dos.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: adm...@nospicedham.127.0.0.1 (Kerr-Mudd, John)
Newsgroups: comp.lang.asm.x86,alt.lang.asm,comp.os.dos.programmer
Subject: Re: Calendar program (revisited)
Date: Tue, 1 Aug 2023 16:45:23 +0100
Organization: Dis
Lines: 34
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <20230801164523.6d8af1599d7d93d8f3dc993b@127.0.0.1>
References: <XnsAC507D51B94E2admin127001@144.76.35.198>
<XnsAC51AE613F3F0admin127001@144.76.35.198>
<rlq4eg$1e72$1@gioia.aioe.org>
<XnsAC51CF8F71911admin127001@144.76.35.198>
<XnsAC527422322CFadmin127001@144.76.35.198>
<XnsAC6081C3BEE31admin127001@144.76.35.198>
<XnsAC68789E52F8Badmin127001@144.76.35.198>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="ec2e0f2c1b5885111ad61f2ef67150bc";
logging-data="3898192"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18cMp2ojXdbzNlQp9j1ZhlYhR1ZBzB+Ra0="
Cancel-Lock: sha1:5dRBkMD+VWmNNEPssx0Z3MqenQ0=
 by: Kerr-Mudd, John - Tue, 1 Aug 2023 15:45 UTC

Just print current Month in <256 bytes, start of week as parm.

eg. 'Showmth Tu' (must be exact case to match display letter pairs!).
default with no or invalid parm is 'Su'(nday).

251 bytes (233 without parm code)- possibly add code to prt '*' for
current day?

Should be OK to year 9999; it's bit hard to test without changing the
system clock.

-> d 100 l100
1636:0100 A1 82 00 BF-C7 01 B9 07-00 89 CB F2-AF 75 03 29 .............u.)
1636:0110 CB 4B BF 24-09 57 B4 2A-CD 21 51 28-C2 00 DA BE .K.$.W.*.!Q(....
1636:0120 D5 01 A5 B0-20 B9 06 00-00 CA F3 AA-88 F1 49 89 .... .........I.
1636:0130 CD 01 CE 01-CE 01 CE A5-A4 AA 58 52-99 B1 64 F7 ..........XR..d.
1636:0140 F1 52 08 D2-75 02 88 C2-E8 71 00 58-E8 6D 00 BE .R..u....q.X.m..
1636:0150 C5 01 56 A5-01 DE 01 DE-B0 20 B1 07-38 D9 75 03 ..V...... ..8.u.
1636:0160 BE C7 01 A5-AA E2 F5 5E-A5 5B 92 99-4D 75 06 4A .......^.[..Mu.J
1636:0170 24 03 74 01-4A 88 F9 BE-D5 0A D3 EE-83 D2 1E 93 $.t.J...........
1636:0180 BE 0A 0D B1-07 D4 07 98-74 0C 50 28-C1 B0 20 AA ........t.P(.. .
1636:0190 AA AA E2 FB-91 59 40 4A-78 16 50 D4-0A 86 E0 3C .....Y@Jx.P....<
1636:01A0 00 75 02 B0-10 E8 18 00-B0 20 AA 58-E2 E8 B1 07 .u....... .X....
1636:01B0 96 AB 96 79-E1 5A 89 D0-AA CD 21 C3-B1 0A F6 F1 ...y.Z....!.....
1636:01C0 35 30 30 AB-C3 0D 0A 53-75 4D 6F 54-75 57 65 54 500....SuMoTuWeT
1636:01D0 68 46 72 53-61 0D 0A 4A-61 6E 46 65-62 4D 61 72 hFrSa..JanFebMar
1636:01E0 41 70 72 4D-61 79 4A 75-6E 4A 75 6C-41 75 67 53 AprMayJunJulAugS
1636:01F0 65 70 4F 63-74 4E 6F 76-44 65 63 00-00 00 00 00 epOctNovDec.....
-> q

--
Bah, and indeed Humbug.

Re: Calendar program (revisited)

<uabket$3o5h2$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=437&group=alt.lang.asm#437

 copy link   Newsgroups: comp.lang.asm.x86 alt.lang.asm comp.os.dos.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: terje.ma...@nospicedham.tmsw.no (Terje Mathisen)
Newsgroups: comp.lang.asm.x86,alt.lang.asm,comp.os.dos.programmer
Subject: Re: Calendar program (revisited)
Date: Tue, 1 Aug 2023 20:55:24 +0200
Organization: A noiseless patient Spider
Lines: 46
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <uabket$3o5h2$1@dont-email.me>
References: <XnsAC507D51B94E2admin127001@144.76.35.198>
<XnsAC51AE613F3F0admin127001@144.76.35.198> <rlq4eg$1e72$1@gioia.aioe.org>
<XnsAC51CF8F71911admin127001@144.76.35.198>
<XnsAC527422322CFadmin127001@144.76.35.198>
<XnsAC6081C3BEE31admin127001@144.76.35.198>
<XnsAC68789E52F8Badmin127001@144.76.35.198>
<20230801164523.6d8af1599d7d93d8f3dc993b@127.0.0.1>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="ec2e0f2c1b5885111ad61f2ef67150bc";
logging-data="3938121"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ukeLlmYn1Wl6/FfrJL9RtKv6Wu4nKRZg="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Firefox/91.0 SeaMonkey/2.53.16
Cancel-Lock: sha1:Dp3k8ljDidPqrOchrqAAAcr+N0A=
 by: Terje Mathisen - Tue, 1 Aug 2023 18:55 UTC

Kerr-Mudd, John wrote:
> Just print current Month in <256 bytes, start of week as parm.
>
> eg. 'Showmth Tu' (must be exact case to match display letter pairs!).
> default with no or invalid parm is 'Su'(nday).
>
> 251 bytes (233 without parm code)- possibly add code to prt '*' for
> current day?
>
> Should be OK to year 9999; it's bit hard to test without changing the
> system clock.
>
> -> d 100 l100
> 1636:0100 A1 82 00 BF-C7 01 B9 07-00 89 CB F2-AF 75 03 29 .............u.)
> 1636:0110 CB 4B BF 24-09 57 B4 2A-CD 21 51 28-C2 00 DA BE .K.$.W.*.!Q(....
> 1636:0120 D5 01 A5 B0-20 B9 06 00-00 CA F3 AA-88 F1 49 89 .... .........I.
> 1636:0130 CD 01 CE 01-CE 01 CE A5-A4 AA 58 52-99 B1 64 F7 ..........XR..d.
> 1636:0140 F1 52 08 D2-75 02 88 C2-E8 71 00 58-E8 6D 00 BE .R..u....q.X.m..
> 1636:0150 C5 01 56 A5-01 DE 01 DE-B0 20 B1 07-38 D9 75 03 ..V...... ..8.u.
> 1636:0160 BE C7 01 A5-AA E2 F5 5E-A5 5B 92 99-4D 75 06 4A .......^.[..Mu.J
> 1636:0170 24 03 74 01-4A 88 F9 BE-D5 0A D3 EE-83 D2 1E 93 $.t.J...........
> 1636:0180 BE 0A 0D B1-07 D4 07 98-74 0C 50 28-C1 B0 20 AA ........t.P(.. .
> 1636:0190 AA AA E2 FB-91 59 40 4A-78 16 50 D4-0A 86 E0 3C .....Y@Jx.P....<
> 1636:01A0 00 75 02 B0-10 E8 18 00-B0 20 AA 58-E2 E8 B1 07 .u....... .X....
> 1636:01B0 96 AB 96 79-E1 5A 89 D0-AA CD 21 C3-B1 0A F6 F1 ...y.Z....!.....
> 1636:01C0 35 30 30 AB-C3 0D 0A 53-75 4D 6F 54-75 57 65 54 500....SuMoTuWeT
> 1636:01D0 68 46 72 53-61 0D 0A 4A-61 6E 46 65-62 4D 61 72 hFrSa..JanFebMar
> 1636:01E0 41 70 72 4D-61 79 4A 75-6E 4A 75 6C-41 75 67 53 AprMayJunJulAugS
> 1636:01F0 65 70 4F 63-74 4E 6F 76-44 65 63 00-00 00 00 00 epOctNovDec.....
> -> q

Calendar program are always fun, I wrote my first one about 30 years
ago. The main feature was that it knew about all the fixed and variable
Norwegian holidays, and would print them in Red, just like it did for
Sat/Sun. It would by default print 12 months in a 3x4 grid. It was much
larger though, about 5KB of Turbo Pascal that compiled into a 10K CAL.EXE.

I could probably start up DosBox and check that it still works?

Terje

--
- <Terje.Mathisen at tmsw.no>
"almost all programming can be viewed as an exercise in caching"

Re: Calendar program (revisited)

<uabt52$3p14p$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=438&group=alt.lang.asm#438

 copy link   Newsgroups: alt.lang.asm comp.os.dos.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: kle...@unibwm.de (Herbert Kleebauer)
Newsgroups: alt.lang.asm,comp.os.dos.programmer
Subject: Re: Calendar program (revisited)
Date: Tue, 1 Aug 2023 23:20:40 +0200
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <uabt52$3p14p$1@dont-email.me>
References: <XnsAC507D51B94E2admin127001@144.76.35.198>
<XnsAC51AE613F3F0admin127001@144.76.35.198> <rlq4eg$1e72$1@gioia.aioe.org>
<XnsAC51CF8F71911admin127001@144.76.35.198>
<XnsAC527422322CFadmin127001@144.76.35.198>
<XnsAC6081C3BEE31admin127001@144.76.35.198>
<XnsAC68789E52F8Badmin127001@144.76.35.198>
<20230801164523.6d8af1599d7d93d8f3dc993b@127.0.0.1>
<uabket$3o5h2$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 1 Aug 2023 21:23:46 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="308920a7229a77bff5ee3035b5b0f894";
logging-data="3966105"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+P5zVfNe/qoHkZvdK/7N732dUzCSJpPPE="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:6QZ+eCR2u0GpetJcL/m0ATjbt8U=
In-Reply-To: <uabket$3o5h2$1@dont-email.me>
Content-Language: en-US
 by: Herbert Kleebauer - Tue, 1 Aug 2023 21:20 UTC

On 01.08.2023 20:55, Terje Mathisen wrote:
> Kerr-Mudd, John wrote:

>> Just print current Month in <256 bytes, start of week as parm.

> Calendar program are always fun, I wrote my first one about 30 years
> ago. The main feature was that it knew about all the fixed and variable
> Norwegian holidays, and would print them in Red, just like it did for
> Sat/Sun. It would by default print 12 months in a 3x4 grid. It was much
> larger though, about 5KB of Turbo Pascal that compiled into a 10K CAL.EXE.
>
> I could probably start up DosBox and check that it still works?

A better hardware for a calendar program than a DosBox:

https://www.waveshare.com/product/displays/e-paper/photopainter.htm
http://www.waveshare.com/wiki/PhotoPainter
https://www.aliexpress.com/item/1005005547336322.html

Re: Calendar program (revisited)

<20230802071913.04e81c6312873bf10f54ad3f@127.0.0.1>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=439&group=alt.lang.asm#439

 copy link   Newsgroups: comp.lang.asm.x86 alt.lang.asm comp.os.msdos.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: adm...@nospicedham.127.0.0.1 (Kerr-Mudd, John)
Newsgroups: comp.lang.asm.x86,alt.lang.asm,comp.os.msdos.programmer
Subject: Re: Calendar program (revisited)
Date: Wed, 2 Aug 2023 07:19:13 +0100
Organization: Dis
Lines: 33
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <20230802071913.04e81c6312873bf10f54ad3f@127.0.0.1>
References: <XnsAC507D51B94E2admin127001@144.76.35.198>
<XnsAC51AE613F3F0admin127001@144.76.35.198>
<rlq4eg$1e72$1@gioia.aioe.org>
<XnsAC51CF8F71911admin127001@144.76.35.198>
<XnsAC527422322CFadmin127001@144.76.35.198>
<XnsAC6081C3BEE31admin127001@144.76.35.198>
<XnsAC68789E52F8Badmin127001@144.76.35.198>
<20230801164523.6d8af1599d7d93d8f3dc993b@127.0.0.1>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="524a22ad7f1fe9ec0d467dee8c1d3dce";
logging-data="4179741"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+1KBAsLAKraeqXpSuSmxmft8re0YBV1lM="
Cancel-Lock: sha1:/v3aqBi1n3KATv86FsnEbL7mbb0=
 by: Kerr-Mudd, John - Wed, 2 Aug 2023 06:19 UTC

On Tue, 1 Aug 2023 16:45:23 +0100
"Kerr-Mudd, John" <admin@nospicedham.127.0.0.1> wrote:

> Just print current Month in <256 bytes, start of week as parm.
>
[]
> 253 bytes version - prints '*' for current day, had to reduce the parm to just 'M' for a Monday week start
>
> Should be OK to year 9999; it's bit hard to test without changing the
> system clock.
>
-> d 100 l100
1636:0100 A0 82 00 3C-4D 75 01 43-BF 24 09 57-B4 2A CD 21 ...<Mu.C.$.W.*.!
1636:0110 52 51 28 C2-00 DA BE D7-01 A5 B0 20-B9 06 00 00 RQ(........ ....
1636:0120 CA F3 AA 88-F1 49 01 CE-01 CE 01 CE-A5 A4 AA 58 .....I.........X
1636:0130 52 99 B1 64-F7 F1 52 08-D2 75 02 88-C2 E8 7E 00 R..d..R..u....~.
1636:0140 58 E8 7A 00-BE C7 01 56-A5 01 DE 01-DE B0 20 B1 X.z....V...... .
1636:0150 07 38 D9 75-03 BE C9 01-A5 AA E2 F5-5E A5 5B 92 .8.u........^.[.
1636:0160 99 80 FF 02-75 06 4A 24-03 74 01 4A-88 F9 BE D5 ....u.J$.t.J....
1636:0170 0A D3 EE 83-D2 1E 93 BE-0A 0D B1 07-D4 07 98 74 ...............t
1636:0180 0C 50 28 C1-B0 20 AA AA-AA E2 FB 91-59 5B 40 4A .P(.. ......Y[@J
1636:0190 78 20 50 38-D8 75 06 B8-20 2A AB EB-0D D4 0A 86 x P8.u.. *......
1636:01A0 E0 3C 00 75-02 B0 10 E8-18 00 B0 20-AA 58 E2 DE .<.u....... .X..
1636:01B0 B1 07 96 AB-96 79 D7 5A-89 D0 AA CD-21 C3 B1 0A .....y.Z....!...
1636:01C0 F6 F1 35 30-30 AB C3 0D-0A 53 75 4D-6F 54 75 57 ..500....SuMoTuW
1636:01D0 65 54 68 46-72 53 61 0D-0A 4A 61 6E-46 65 62 4D eThFrSa..JanFebM
1636:01E0 61 72 41 70-72 4D 61 79-4A 75 6E 4A-75 6C 41 75 arAprMayJunJulAu
1636:01F0 67 53 65 70-4F 63 74 4E-6F 76 44 65-63 00 00 00 gSepOctNovDec...

--
Bah, and indeed Humbug.

Re: Calendar program (revisited)

<4d8f7358-2794-487e-926d-7f18e95da8a0n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=443&group=alt.lang.asm#443

 copy link   Newsgroups: alt.lang.asm
X-Received: by 2002:a05:6214:14f2:b0:65c:fede:2371 with SMTP id k18-20020a05621414f200b0065cfede2371mr83830qvw.0.1696068045538;
Sat, 30 Sep 2023 03:00:45 -0700 (PDT)
X-Received: by 2002:a05:6808:1413:b0:3ad:f6ad:b9cc with SMTP id
w19-20020a056808141300b003adf6adb9ccmr3081766oiv.10.1696068045274; Sat, 30
Sep 2023 03:00:45 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.lang.asm
Date: Sat, 30 Sep 2023 03:00:44 -0700 (PDT)
In-Reply-To: <uabket$3o5h2$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=82.217.188.37; posting-account=np6u_wkAAADxbE7UBGUIOm-csir6aX02
NNTP-Posting-Host: 82.217.188.37
References: <XnsAC507D51B94E2admin127001@144.76.35.198> <XnsAC51AE613F3F0admin127001@144.76.35.198>
<rlq4eg$1e72$1@gioia.aioe.org> <XnsAC51CF8F71911admin127001@144.76.35.198>
<XnsAC527422322CFadmin127001@144.76.35.198> <XnsAC6081C3BEE31admin127001@144.76.35.198>
<XnsAC68789E52F8Badmin127001@144.76.35.198> <20230801164523.6d8af1599d7d93d8f3dc993b@127.0.0.1>
<uabket$3o5h2$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4d8f7358-2794-487e-926d-7f18e95da8a0n@googlegroups.com>
Subject: Re: Calendar program (revisited)
From: skybuckf...@gmail.com (Skybuck Flying)
Injection-Date: Sat, 30 Sep 2023 10:00:45 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Skybuck Flying - Sat, 30 Sep 2023 10:00 UTC

On Tuesday, August 1, 2023 at 8:57:04 PM UTC+2, Terje Mathisen wrote:
> Kerr-Mudd, John wrote:
> > Just print current Month in <256 bytes, start of week as parm.
> >
> > eg. 'Showmth Tu' (must be exact case to match display letter pairs!).
> > default with no or invalid parm is 'Su'(nday).
> >
> > 251 bytes (233 without parm code)- possibly add code to prt '*' for
> > current day?
> >
> > Should be OK to year 9999; it's bit hard to test without changing the
> > system clock.
> >
> > -> d 100 l100
> > 1636:0100 A1 82 00 BF-C7 01 B9 07-00 89 CB F2-AF 75 03 29 .............u.)
> > 1636:0110 CB 4B BF 24-09 57 B4 2A-CD 21 51 28-C2 00 DA BE .K.$.W.*.!Q(.....
> > 1636:0120 D5 01 A5 B0-20 B9 06 00-00 CA F3 AA-88 F1 49 89 .... ..........I.
> > 1636:0130 CD 01 CE 01-CE 01 CE A5-A4 AA 58 52-99 B1 64 F7 ..........XR...d.
> > 1636:0140 F1 52 08 D2-75 02 88 C2-E8 71 00 58-E8 6D 00 BE .R..u....q.X.m..
> > 1636:0150 C5 01 56 A5-01 DE 01 DE-B0 20 B1 07-38 D9 75 03 ..V...... ..8..u.
> > 1636:0160 BE C7 01 A5-AA E2 F5 5E-A5 5B 92 99-4D 75 06 4A .......^.[..Mu.J
> > 1636:0170 24 03 74 01-4A 88 F9 BE-D5 0A D3 EE-83 D2 1E 93 $.t.J............
> > 1636:0180 BE 0A 0D B1-07 D4 07 98-74 0C 50 28-C1 B0 20 AA ........t.P(... .
> > 1636:0190 AA AA E2 FB-91 59 40 4A-78 16 50 D4-0A 86 E0 3C .....Y@Jx.P.....<
> > 1636:01A0 00 75 02 B0-10 E8 18 00-B0 20 AA 58-E2 E8 B1 07 .u....... .X.....
> > 1636:01B0 96 AB 96 79-E1 5A 89 D0-AA CD 21 C3-B1 0A F6 F1 ...y.Z....!......
> > 1636:01C0 35 30 30 AB-C3 0D 0A 53-75 4D 6F 54-75 57 65 54 500....SuMoTuWeT
> > 1636:01D0 68 46 72 53-61 0D 0A 4A-61 6E 46 65-62 4D 61 72 hFrSa..JanFebMar
> > 1636:01E0 41 70 72 4D-61 79 4A 75-6E 4A 75 6C-41 75 67 53 AprMayJunJulAugS
> > 1636:01F0 65 70 4F 63-74 4E 6F 76-44 65 63 00-00 00 00 00 epOctNovDec......
> > -> q
> Calendar program are always fun, I wrote my first one about 30 years
> ago. The main feature was that it knew about all the fixed and variable
> Norwegian holidays, and would print them in Red, just like it did for
> Sat/Sun. It would by default print 12 months in a 3x4 grid. It was much
> larger though, about 5KB of Turbo Pascal that compiled into a 10K CAL.EXE..
>
> I could probably start up DosBox and check that it still works?
>
> Terje

Please do, I need something more reliable than the ever changing buggy microsoft windows software...

Bye,
Skybuck

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor