Giter VIP home page Giter VIP logo

aoc2022's Introduction

Rust solutions of Advent of Code 2022, targeting MOS-6502

Build instructions

Repository doesn't contain input files, input data is read from input/day??/input.txt locations.

The recommended way of building for 8-bit targets is opening this project in VSCode devcontainer (required configuration is included). To run day01 on llvm-mos 6502 simulator, execute following in VSCode terminal (inside of dev container):

cargo run -p day01 --release

To build executable for atari800 do:

cargo build -p day01 --target mos-atari8-none --release

Atari executable file will land is target/mos-atari8-none/release/day01

Project contains Makefile which may be used to build all solutions for Atari800 with single make command (all input files are required in input/day?? directories). For each day atari .xex and .atr files are created in target/mos-atari8-none/release/ directory.

Native executable may be built without devcontainer, but nightly Rust is required:

cargo +nightly run -p day01 --target x86_64-unknown-linux-gnu

aoc2022's People

Contributors

mrk-its 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.