diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2023-12-21 18:39:18 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2023-12-21 18:39:32 +0100 |
| commit | a44acfe610c0792fb1bcab2dd081a1344286af05 (patch) | |
| tree | 85de88fef835ba4a957eac433865bcd1239db1d4 /README.md | |
| parent | 3087897c5aa716579b1255ac8c65dc1438515822 (diff) | |
| download | aoc2023.nes-a44acfe610c0792fb1bcab2dd081a1344286af05.tar.gz aoc2023.nes-a44acfe610c0792fb1bcab2dd081a1344286af05.zip | |
Finished the second part of day 4
In order to do so I had to come up with a custom list library because
otherwise keeping up with the enunciate and the memory management logic
was a bit chaotic.
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 19 |
1 files changed, 13 insertions, 6 deletions
@@ -1,12 +1,19 @@ [Advent of Code 2023](https://adventofcode.com/2023) on the NES, baby! (let's see if I actually finish it...) -Each day is written into its own file inside of `src`. Build everything by just -calling `make` and you will get a `.nes` file per day inside of the `out` -directory. Before doing that, though, you will need a compiler for the 6052 -platform. A good option is [cc65](https://github.com/cc65/cc65), which is -available on all major platforms. Otherwise, if you want to use another -compiler, you can pass the `CC65` and `CCOPTS` variables to the Makefile. +Each day is written into its own file inside of `src`. In order to clone it bear +in mind that the `vendor` directory has git submodules. Hence: + +``` sh +git clone --recurse-submodule https://github.com/mssola/aoc2023.nes.git +``` + +Build everything by just calling `make` and you will get a `.nes` file per day +inside of the `out` directory. Before doing that, though, you will need a +compiler for the 6052 platform. A good option is +[cc65](https://github.com/cc65/cc65), which is available on all major platforms. +Otherwise, if you want to use another compiler, you can pass the `CC65` and +`CCOPTS` variables to the Makefile. After that, it's recommended that you run the ROMs with an emulator with debugging support or at least some form of memory visualization. This is because |
