├── .gitignore ├── README.md ├── ans.txt ├── aoc-full.nes ├── aoc.asm ├── biosfnt.chr ├── biosfnt.map ├── day1.asm ├── day10.asm ├── day10_input.asm ├── day11.asm ├── day11_input.asm ├── day12-a.png ├── day12-b.png ├── day12.asm ├── day12_input.asm ├── day13-a.png ├── day13-b.png ├── day13.asm ├── day13_input.asm ├── day14.asm ├── day14_input.asm ├── day1_input.asm ├── day2.asm ├── day2_input.asm ├── day3.asm ├── day3_input.asm ├── day4.asm ├── day4_input.asm ├── day5.asm ├── day5_input.asm ├── day6.asm ├── day6_input.asm ├── day7.asm ├── day7_input.asm ├── day8.asm ├── day8_input.asm ├── day9.asm ├── day9_input.asm ├── intro.png ├── macros.asm ├── math.asm ├── musicbank-8000.bin ├── nesasm-vs.exe ├── nesasmsrc ├── assemble.c ├── code.c ├── command.c ├── crc.c ├── defs.h ├── expr.c ├── expr.h ├── externs.h ├── func.c ├── input.c ├── inst.h ├── macro.c ├── main.c ├── map.c ├── mml.c ├── nes.c ├── nes.h ├── output.c ├── pce.c ├── pce.h ├── pcx.c ├── proc.c ├── protos.h ├── symbol.c ├── vars.h └── vs │ ├── nesasm-vs.sln │ ├── nesasm-vs.vcxproj │ └── nesasm-vs.vcxproj.filters ├── nss ├── intro-0.nam ├── intro-1.nam ├── intro-2.nam ├── intro-3.nam ├── intro.chr ├── intro.nam ├── intro.nss └── intro.pal ├── running.png ├── scripts └── intro-nt-fix.py ├── sym-fix.py ├── title.bmp └── title.xcf /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/README.md -------------------------------------------------------------------------------- /ans.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/ans.txt -------------------------------------------------------------------------------- /aoc-full.nes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/aoc-full.nes -------------------------------------------------------------------------------- /aoc.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/aoc.asm -------------------------------------------------------------------------------- /biosfnt.chr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/biosfnt.chr -------------------------------------------------------------------------------- /biosfnt.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/biosfnt.map -------------------------------------------------------------------------------- /day1.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day1.asm -------------------------------------------------------------------------------- /day10.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day10.asm -------------------------------------------------------------------------------- /day10_input.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day10_input.asm -------------------------------------------------------------------------------- /day11.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day11.asm -------------------------------------------------------------------------------- /day11_input.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day11_input.asm -------------------------------------------------------------------------------- /day12-a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day12-a.png -------------------------------------------------------------------------------- /day12-b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day12-b.png -------------------------------------------------------------------------------- /day12.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day12.asm -------------------------------------------------------------------------------- /day12_input.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day12_input.asm -------------------------------------------------------------------------------- /day13-a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day13-a.png -------------------------------------------------------------------------------- /day13-b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day13-b.png -------------------------------------------------------------------------------- /day13.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day13.asm -------------------------------------------------------------------------------- /day13_input.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day13_input.asm -------------------------------------------------------------------------------- /day14.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day14.asm -------------------------------------------------------------------------------- /day14_input.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day14_input.asm -------------------------------------------------------------------------------- /day1_input.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day1_input.asm -------------------------------------------------------------------------------- /day2.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day2.asm -------------------------------------------------------------------------------- /day2_input.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day2_input.asm -------------------------------------------------------------------------------- /day3.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day3.asm -------------------------------------------------------------------------------- /day3_input.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day3_input.asm -------------------------------------------------------------------------------- /day4.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day4.asm -------------------------------------------------------------------------------- /day4_input.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day4_input.asm -------------------------------------------------------------------------------- /day5.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day5.asm -------------------------------------------------------------------------------- /day5_input.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day5_input.asm -------------------------------------------------------------------------------- /day6.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day6.asm -------------------------------------------------------------------------------- /day6_input.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day6_input.asm -------------------------------------------------------------------------------- /day7.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day7.asm -------------------------------------------------------------------------------- /day7_input.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day7_input.asm -------------------------------------------------------------------------------- /day8.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day8.asm -------------------------------------------------------------------------------- /day8_input.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day8_input.asm -------------------------------------------------------------------------------- /day9.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day9.asm -------------------------------------------------------------------------------- /day9_input.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/day9_input.asm -------------------------------------------------------------------------------- /intro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/intro.png -------------------------------------------------------------------------------- /macros.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/macros.asm -------------------------------------------------------------------------------- /math.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/math.asm -------------------------------------------------------------------------------- /musicbank-8000.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/musicbank-8000.bin -------------------------------------------------------------------------------- /nesasm-vs.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasm-vs.exe -------------------------------------------------------------------------------- /nesasmsrc/assemble.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/assemble.c -------------------------------------------------------------------------------- /nesasmsrc/code.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/code.c -------------------------------------------------------------------------------- /nesasmsrc/command.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/command.c -------------------------------------------------------------------------------- /nesasmsrc/crc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/crc.c -------------------------------------------------------------------------------- /nesasmsrc/defs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/defs.h -------------------------------------------------------------------------------- /nesasmsrc/expr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/expr.c -------------------------------------------------------------------------------- /nesasmsrc/expr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/expr.h -------------------------------------------------------------------------------- /nesasmsrc/externs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/externs.h -------------------------------------------------------------------------------- /nesasmsrc/func.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/func.c -------------------------------------------------------------------------------- /nesasmsrc/input.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/input.c -------------------------------------------------------------------------------- /nesasmsrc/inst.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/inst.h -------------------------------------------------------------------------------- /nesasmsrc/macro.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/macro.c -------------------------------------------------------------------------------- /nesasmsrc/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/main.c -------------------------------------------------------------------------------- /nesasmsrc/map.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/map.c -------------------------------------------------------------------------------- /nesasmsrc/mml.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/mml.c -------------------------------------------------------------------------------- /nesasmsrc/nes.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/nes.c -------------------------------------------------------------------------------- /nesasmsrc/nes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/nes.h -------------------------------------------------------------------------------- /nesasmsrc/output.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/output.c -------------------------------------------------------------------------------- /nesasmsrc/pce.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/pce.c -------------------------------------------------------------------------------- /nesasmsrc/pce.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/pce.h -------------------------------------------------------------------------------- /nesasmsrc/pcx.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/pcx.c -------------------------------------------------------------------------------- /nesasmsrc/proc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/proc.c -------------------------------------------------------------------------------- /nesasmsrc/protos.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/protos.h -------------------------------------------------------------------------------- /nesasmsrc/symbol.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/symbol.c -------------------------------------------------------------------------------- /nesasmsrc/vars.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/vars.h -------------------------------------------------------------------------------- /nesasmsrc/vs/nesasm-vs.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/vs/nesasm-vs.sln -------------------------------------------------------------------------------- /nesasmsrc/vs/nesasm-vs.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/vs/nesasm-vs.vcxproj -------------------------------------------------------------------------------- /nesasmsrc/vs/nesasm-vs.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nesasmsrc/vs/nesasm-vs.vcxproj.filters -------------------------------------------------------------------------------- /nss/intro-0.nam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nss/intro-0.nam -------------------------------------------------------------------------------- /nss/intro-1.nam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nss/intro-1.nam -------------------------------------------------------------------------------- /nss/intro-2.nam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nss/intro-2.nam -------------------------------------------------------------------------------- /nss/intro-3.nam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nss/intro-3.nam -------------------------------------------------------------------------------- /nss/intro.chr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nss/intro.chr -------------------------------------------------------------------------------- /nss/intro.nam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nss/intro.nam -------------------------------------------------------------------------------- /nss/intro.nss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nss/intro.nss -------------------------------------------------------------------------------- /nss/intro.pal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/nss/intro.pal -------------------------------------------------------------------------------- /running.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/running.png -------------------------------------------------------------------------------- /scripts/intro-nt-fix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/scripts/intro-nt-fix.py -------------------------------------------------------------------------------- /sym-fix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/sym-fix.py -------------------------------------------------------------------------------- /title.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/title.bmp -------------------------------------------------------------------------------- /title.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pellsson/aoc2021/HEAD/title.xcf --------------------------------------------------------------------------------