Coder Social home page Coder Social logo

instantiator / 2022-advent-of-code Goto Github PK

View Code? Open in Web Editor NEW
5.0 4.0 0.0 39.89 MB

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

Home Page: https://instantiator.dev/post/8-bit-supercomputer/

Dockerfile 35.85% Shell 64.15%
adventofcode2022 basic bbc-basic bbc-micro bbcmicro retrocomputing

2022-advent-of-code's Introduction

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.

2022-advent-of-code's People

Contributors

instantiator avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.