I would consider the extra months just proper "error testing" remnants.
Better than getting a "Subscript out of range" error if one typed the
program in by hand and made some kind of typo, that resulted in a month
other than March or April being designated. The invalid months could be
removed and
Hey Peter,
Yeah, BASIC seems to know standard arithmetic precedence. And now that
I think about it, I guess I really didn't need to read in ALL of the
months to M$ array ... I don't recall ever celebrating Easter in December :)
Ken
On 8/30/21 4:52 PM, Peter Noeth wrote:
Thanks Ken for the u
Thanks Ken for the update. In looking at this I was at first a little
concerned about the arithmetic precedence on lines 70 to 85, as there were
not a lot of parentheses to force desired action, but it works !!
Good to have in the 'ole toolbox.
Regards,
Peter
On 8/29/21 09:30 PM, Ken Pettit wro
Hey Guys,
Well, the email I sent *wasn't* really a BASIC program but rather a math
formula. The M100 BASIC doesn't have a function called "Floor" ... it
is called "INT". But also I noticed the reference on Wikipedia that I
was looking at was for Eastern Orthodox Easter date, not modern day
> Ken,
>
> You have unbalanced parenthesis. Can you please correct?
?SN ERROR
READY
Hey Peter,
Yes, it's missing an open parenthesis just after the subtraction.
Should be:
D = (19*(Y mod 19) + 15) mod 30 + (2 * (Y mod 4) + 4 * (Y mod 7) -
((19*(Y mod 19) + 15) mod 30) + 34) mod 7 + 127
Ken
On 8/29/21 5:28 PM, Peter Noeth wrote:
Ken,
You have unbalanced parenthesis...
Ken,
You have unbalanced parenthesis. Can you please correct?
Regards,
Peter
> Easter (according to Wikipedia):
>
> Y = Year
> D = (19*(Y mod 19) + 15) mod 30 + (2 * (Y mod 4) + 4 * (Y mod 7) -
> (19*(Y mod 19) + 15) mod 30) + 34) mod 7 + 127
>
> Month = floor( D / 31)
> Day = (D mod 31)
The internet for "the common man" didn't exist then, I was working with
this information from The Farmers Almanac:
*Easter is observed on the Sunday following the Paschal Full Moon, which is
the first full Moon that occurs on or after the March equinox*.
It was determining the "Paschal Full Moon"
On 8/28/21 2:27 PM, Peter Noeth wrote:
A printed wall calendar was one of my first TRS-80 16K Model 1 Level
II (then a 48K with expansion Interface) programs after I designed an
interface to the IBM Selectric I/O Writer I purchased as surplus
where I was working at the time. I could never get t
A printed wall calendar was one of my first TRS-80 16K Model 1 Level II
(then a 48K with expansion Interface) programs after I designed an
interface to the IBM Selectric I/O Writer I purchased as surplus where I
was working at the time. I could never get the bizarre algorithm correct to
calculate t
Socat is a Linux command line utility for connecting different streams
together. So you would use it to connect wimodem232 tcp connections to a
Epson printer emulator which would create jobs in the native Linux print
subsystem.
I've used socat extensively... I've never used any Linux Epson emulato
Heh, John, that one line:
*You could rig up with a Pi, wimodem232 and a dot matrix printer emulator,
and a socat script. *
Lots of learning for me in that. Wimodem232 I get. Pi I get. The printer
emulator and especially socat are new. Not sure what the workflow would be,
but would be an interesti
On Sat, Aug 28, 2021, 6:41 AM Brad Grier wrote:
> Good point Lloyd -- and how I'll likely proceed. Backpack is very cool and
> a great interim solution.
>
> Would be neat if there was such a thing as an RS-232 -> WiFi printer
> spooler that just sat on the RS-232 and sent print jobs to the local
Good point Lloyd -- and how I'll likely proceed. Backpack is very cool and
a great interim solution.
Would be neat if there was such a thing as an RS-232 -> WiFi printer
spooler that just sat on the RS-232 and sent print jobs to the local wifi
printer. I did a quick search and couldn't see anythin
riday, August 27, 2021 10:41 PM
To: m...@bitchin100.com
Subject: Re: [M100] Yet Another Calendar Program...
Lloyd, your program looks great and makes me deeply regret blowing up the only
continuous-feed printer I own with a rushed/botched repair attempt.
Lloyd, your program looks great and makes me deeply regret blowing up the only
continuous-feed printer I own with a rushed/botched repair attempt.
did the programming.
Of if you have the backpack TPDD just specify a filename and then move it to
the SD.
Lloyd
From: M100 On Behalf Of Brad Grier
Sent: Friday, August 27, 2021 7:10 PM
To: m...@bitchin100.com
Subject: Re: [M100] Yet Another Calendar Program...
This is great Lloyd! I
This is great Lloyd! I don't have a printer hooked up to my 8201 (yet) but
will add this to my NEC software collection.
Thank you!
--Brad
On Fri, Aug 27, 2021 at 10:33 AM Lloyd Johnson
wrote:
> Hello Everyone,
>
> I wrote yet another calendar program for the TRS-80 Model 100 and NEC
> PC-8201A
riday, August 27, 2021 3:54 PM
To: m100@lists.bitchin100.com
Subject: Re: [M100] Yet Another Calendar Program... becoming a bit OT though
Hey Lloyd,
For me is was the 4K Model I with Level 1 BASIC that I learned on. Only I
couldn't afford one only being in the 7th grade, so I rode my bike to
-Original Message-
From: M100 On Behalf Of Ken Pettit
Sent: Friday, August 27, 2021 1:09 PM
To: m100@lists.bitchin100.com
Subject: Re: [M100] Yet Another Calendar Program...
Hi Lloyd,
Sweet! I like the calendar you printed with a picture of yourself! At work
when designing (well actually
August 27, 2021 1:09 PM
To: m100@lists.bitchin100.com
Subject: Re: [M100] Yet Another Calendar Program...
Hi Lloyd,
Sweet! I like the calendar you printed with a picture of yourself! At work
when designing (well actually simulating) the chips I design, I gobble up
almost all of 512G bytes of RAM
Hi Lloyd,
Sweet! I like the calendar you printed with a picture of yourself! At
work when designing (well actually simulating) the chips I design, I
gobble up almost all of 512G bytes of RAM. Amazing to think we can
still get by with 32K for some tasks. :)
Ken
On 8/27/21 9:33 AM, Lloyd J
Hello Everyone,
I wrote yet another calendar program for the TRS-80 Model 100 and NEC PC-8201A.
I call it YACalP.ba.
You can find this program along with a pdf file containing the documentation I
wrote for this program at
https://github.com/LEJ-Projects/Yet-Another-Calendar-Program
I hope s
23 matches
Mail list logo