|Clyne e9efa60dd3||11 months ago|
|day1||1 year ago|
|day2||12 months ago|
|day3||1 year ago|
|day4||12 months ago|
|day5||12 months ago|
|day6||12 months ago|
|day7||12 months ago|
|day8||12 months ago|
|day9||12 months ago|
|day10||12 months ago|
|day11||12 months ago|
|day13||12 months ago|
|day14||12 months ago|
|day15||12 months ago|
|day17||12 months ago|
|day21||11 months ago|
|day23||11 months ago|
|year2020/day1||12 months ago|
|year2021||12 months ago|
|.gitignore||2 years ago|
|LICENSE||2 years ago|
|README.md||12 months ago|
Advent of Code 2022
This year, I plan to complete as many days as possible on my Apple ][ GS using Applesoft BASIC. I've devised a system to transfer code and input data to and from the Apple, so all of my code is typed and tested on the machine itself.
Day 5 (Supply Stacks) has my first well-done visualization. I'm hoping to do more in the future as long as the challenge's complexity (and my time) allows.
The Apple communicates with my primary computer over a serial connection with its modem (see ADTPro's guide. The modem can run at up to 19,200 baud, which is what I configure it for. I also configure it to add newlines after carriage returns (Apple line endings are only
\r) and use buffering.
On my main computer, I configure the serial port through
minicom: 19,200 baud and hardware flow control. For some reason, I also need to configure for 7-bit characters even through the Apple is supposedly set for 8-bit. Not sure what's up there.
I use an ADTPro floppy to load BASIC, then swap for a general floppy to store my input data and programs. Running
PR#2 on the Apple will direct output to the modem, allowing me to
LIST my finished programs into a
minicom capture. Through a custom BASIC program I named
SERIN, the Apple will read data from the modem and write it to a file; this is how I get my input data.
SERIN writes the input file with
In the future, I will add more notes here on my setup and learned techniques. I'll also add the script for