Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 6.83 KB

README.md

File metadata and controls

37 lines (25 loc) · 6.83 KB

advent-of-code-2022

An optimistic attempt to solve Advent of Code 2022 using an emulated BBC Micro Computer.

I'm using the Owlet BBC BASIC editor for now - although if the data grows by much for some of the later challenges I'll probably have to switch to something where I can provide a disk image.

For now, you can copy/paste the code for each solution into the Owlet editor, and hit the run button to see it working...

Solutions

Solution A Solution B
Result 01A
01A-solution.basic
Result 01B
01B-solution.basic
running 02A
02A-solution.basic, video
result 02B
02B-solution.basic
Result 03A
03A-solution.basic
Result 03B
03B-solution.basic
Result 04A
04A-solution.basic
Result 04B
04B-solution.basic
Result 05A
05A-solution.basic
Result 05B
05B-solution.basic
Result 06A
06A-solution.basic
Result 06B
06B-solution.basic
Result 07A
07A-solution.basic
Result 07B
07B-solution.basic
Result 08A
08A-solution.basic
Result 08B
08B-solution.basic
Result 09A
09A-solution.basic
Result 09B
09B-solution.basic
(runtime: ~90m)
Result 10A
10A-solution.basic
Result 10B
10B-solution.basic
Result 11A
11A-solution.basic
Result 11B
11B-solution.basic
bignum.v1.basic

Beebjit

Beebjit is a super fast BBC Micro emulator. I've used it to crunch solutions for problems that would have taken an inordinate amount of time. So far, that's:

  • 11B - This required 10,000 iterations of a complex algorithm that makes use of the bignum library functions (which, in turn, are very slow).

The Beeb

BBC Micro

The BBC Micro (affectionately known as the Beeb) is a computer first released by the BBC in 1981. Soon after, they appeared in every school. I was also released in 1981, and I have a bit of a soft spot for these old 8-bit machines.

My brother and I grew up writing little games and programs for them in BBC BASIC.