Made this a couple days ago. It’s too muddy to get in the garden for real yet, but I thought I’d move these marshmallow herb plants now that the ground was thawed. We planted them in this little flower bed a couple years ago, not realizing how big they’d get, and they kind of crowd everything out. The digging was harder than I expected, because they grew down into a pretty thick layer of rock, so I couldn’t bring them up with a nice dirtball.
Continuing on with the SHA-256 calculator, we write more routines for copying blocks of memory in different ways, and the remaining low-level functions required by the algorithm. Next time we’ll be moving up a step or two to higher-level parts of the program. The hat is a Lewis Round Barn hat from the Old Tyme Association. If you’ve been to the Adams County Fair outside Mendon, you know what that’s about.
The chickens are definitely ready for spring. They’ve been coming outside for a few weeks now, even a little in the snow, but they couldn’t have been finding much to eat in the frozen ground. Now they’re on the roam all day. They especially like the spot where firewood was stacked last year, so they couldn’t get to it until now. I don’t know why the picture quality in this video is so bad.
Started writing routines to drive the 80-column display. I’m hoping to use these in the Farm game, but they’ll be generally useful for any program that uses the RGBi display. Next time I’ll get into the graphical bitmap, which few programs explored for that display.
A friend linked to a thing today that’s pretty cool: the Deep Dream Generator. It’s a computer program that will take two photos and try to redraw one in the style of the other one. I gave it a picture of my mug and had it use a line drawing of a face as the style, and got the result below. They call it AI. I don’t know about that. To me, AI would be a program that is self-aware and goes beyond its programming in unpredictable ways.
Here’s a whiteboard tutorial on programming the 80-column screen on the Commodore 128. It’s very different from the 40-column VIC display, since you have no direct access to 80-column screen memory and have to program it indirectly by reading and writing to the VDC’s registers, which requires a handshaking process through a pair of registers at $D600 and $D601 in the C128’s I/O block. There will be another video soon demonstrating how to use the little routines here to do actual work.
Interesting article here on America’s continued rejection of the metric system. I didn’t know it was pushed by the French Revolution, but I’m not surprised. The same people are still pushing it today. One of my earliest school memories is of watching a filmstrip about the metric system. It had a scene where a driver got a speeding ticket because he saw a sign that said 95 kilometers per hour and assumed it meant 95 miles per hour.
Continuing on with the sha256 hash calculator, we create some of the intermediate functions that use the boolean and bit-shifting routines we wrote in the last session.
No coding in this one, just introducing a new project: a game in the spirit of Stardew Valley. I say “in the spirit of” because it would be impossible to duplicate the game on an 8-bit system, even if copyright weren’t an issue. But I think it’ll be a good challenge to see how much of it can be done, with expectations scaled back drastically in terms of graphics and sound.
This always seems to me like the time of year when you’re just trying to get through. The sun is getting higher in the sky and the days are longer, so it feels like you should be outside doing things. But it’s 26 degrees. That’s not brutal or anything, but it means the ground is still frozen. Too soon to start working the soil, or digging up plants to move, or anything like that.