This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This guide explains how to load custom code on the SparkFun Prototype HARP | |
(https://www.sparkfun.com/products/14379). Now, you're *supposed* to reset the | |
board after solving it and give it to a friend, so they can experience the | |
puzzle too. But maybe your friends are too busy fighting a rogue AI, or maybe | |
friendship is expensive where you live. In that case, it's possible to make the | |
board Arduino-compatible with some effort. | |
You should have gotten access to the board's development files when you solved | |
the puzzle. Note that the design is similar to the "SparkFun 9DoF Razor IMU M0" | |
and the "SparkFun SAMD21 Mini Breakout", but with different peripherals. All |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
decompress_quit: | |
jmp goodbye | |
decompress_ret: | |
jmp decompress_done | |
decompress: | |
xor acc | |
ldc | |
be #$ff, decompress_quit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
# This script prints a bell character when a command finishes | |
# if it has been running for longer than $zbell_duration seconds. | |
# If there are programs that you know run long that you don't | |
# want to bell after, then add them to $zbell_ignore. | |
# | |
# This script uses only zsh builtins so its fast, there's no needless | |
# forking, and its only dependency is zsh and its standard modules | |
# |