My Advent of Code answers
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Clyne e9efa60dd3 add day 23 1 year ago
day1 Create one-liner.sh 1 year ago
day2 day2: fix forth solution 1 year ago
day3 day3: explain part 2 1 year ago
day4 days 2 and 4 in apple basic 1 year ago
day5 day5: document part 2 1 year ago
day6 day6: undo extra stuff 1 year ago
day7 day7: add annotations 1 year ago
day8 day8: annotate 1 year ago
day9 day9: add part 2 graphics 1 year ago
day10 oops wrong day 1 year ago
day11 day11: add part 1 basic 1 year ago
day13 add day 13 c++ 1 year ago
day14 add day 14 c++ 1 year ago
day15 day15: part 1 speedup 1 year ago
day17 add day 17 part 1 c++ 1 year ago
day21 add day 21 1 year ago
day23 add day 23 1 year ago
year2020/day1 Create README.md 1 year ago
year2021 Create README.md 1 year ago
.gitignore update .gitignore 2 years ago
LICENSE Initial commit 3 years ago
README.md Update README.md 1 year ago

README.md

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.

Notes

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 PRINT statements, which sticks carriage returns between every byte. After writing this, I may have realized how to fix that.

In the future, I will add more notes here on my setup and learned techniques. I'll also add the script for SERIN.