Continuing with the Worm game. I thought I had worked out how to make the tail end of the worm go away, and then once I started to describe it I realized it wouldn’t be that simple. We have to keep track of each “body part” of the worm in order from front to back, so we always know which one is the next to drop off as the worm “moves.
It’s time to start getting organized for this year’s garden. First step was to inventory the seeds on hand, both saved from last year’s crops and leftover. Guy tried to help. Then I typed it up into a list, and went through and figured out what there isn’t enough of. The next step will be to go through the seed catalog and make up an order for everything I’d like to get, then total it up and swear at the total, then cross off things until it looks reasonable.
My 6502 video series might be taking off. I had been getting a new YouTube subscriber every couple weeks, but last week there was about one per day, and then suddenly there were 11 on Sunday. Comments are increasing too. Don’t know yet if it’s a fluke or if it’ll keep climbing, but it’s cool either way. I was going to keep doing the series in any case, but it’s nice to know someone’s getting some use from it.
In this video we continue working on the Worm game started in #13, adding collision detection and the random placement of a digit on the screen for the player to guide the worm to. Next time, we’ll start by debugging why the digit is always 5 instead of randomly 1-8 and always appears in the third quadrant of the screen.
This series is undergoing a slight re-branding. When I started it, I was focused only on the 6502 microprocessor, which is found in many different computers and products from the 1980s (Commodore computers, Nintendo Entertainment System, Atari consoles, etc.
It looks like I might need to ramp up production of my programming videos, to handle an influx of new student viewers. Fun times on the interwebs this week.
The backstory: when blue-collar workers have lost jobs and seen their communities waste away in recent years, the response from the white-collar establishment has been some version of, “Learn to code.” In other words, just go learn a completely new trade and find a job somewhere in the tech industry, probably moving your family to do it.
It’s about time to start planning for this year’s garden and getting a seed order together, so I thought I’d do a wrap-up of 2018 to refresh my memory.
First, the harvest list I kept is at the bottom because it’s pretty long. It’s not really complete, because I forgot to add things to it several times. It’s probably about 75% there, though. Also, I was pretty conservative on the price of things, using the base price in the store.
I was splitting wood this morning, and realized that has to be in the top ten of things that are completely unrealistic in movies and on TV. When you see someone splitting wood on screen, it usually looks like the beginning of this scene from Star Trek Generations: nice small, straight pieces of wood that split easy, a sturdy flat stump to set them on so they’re at the perfect angle, and no brush or snow or ice around your feet to trip on.
This is sort of a bonus video in the middle of the week, to cover something I should have done near the beginning of the series. Someone on an assembly forum asked about 6502 addressing modes, and someone else said they seemed awfully complicated, so I wished I had a video I could point them to that explains them. So here it is.
The sun went down while I was recording, so the webcam got darker than I realized.
Starting a new project on the Commodore 128: the game Worm, an old game for text-based terminals. In this first part, we lay out the screen border and write the code to move the head of the worm around. The next part should cover detecting collisions with the border and making the body of the worm work.
I’ve created a top-level page on my blog that will link to this series of videos and related resources here: 6502 Assembly Language Programming
Translation: It is finished. Aaaaand there’s one piece missing, on the bottom edge there. Usually I throw away puzzles if they’re missing pieces, but I hate to do that with this one, since it’s my only 3000-piecer. So I took it apart into sections and put it back in the box ready to re-assemble. Maybe I’ll find the missing piece under some furniture or somewhere. I wouldn’t mind gluing this one to a board, if it were whole.