Fixed getBatteryLevel for all models
Merge pull request #44 from matrefeytontias/master

Fixed getBatteryLevel for all models
Added docs for threading functions
Fixed broken build
Rename sort to integerSort

This paves the way for a templatized sort function that uses the
QuickSort algorithm.

This commit closes #33 on GitHub.
Fix integerSort unit test call

Oops.
Modify integerSort to use BC for length

This patch merely immediately calculates DE.  However, DE is
preserved from the point of view of calling routines.

This closes #36 on GitHub.
Document input functions
Revert "Modify integerSort to use BC for length"

This reverts commit c6528c2fa34ebe7b7c2021e5d82af2f321cf1108.
Fix error code on launchProgram
Deduplicated code in setInitial functions

Code reduced by 210 bytes, test and fully working. Also added all the
setInitial functions to jumptable.config.
Merge pull request #45 from matrefeytontias/master

Deduplicated code in setInitial functions
Implement callbackSort

This function uses a quicksort algorithm.  The user must provide a
callback comparison function.

This commit closes #34 on GitHub.
Implement callbackSort unit test

The code is mostly copy-pasted from the integerSort test, but it does
add a simple integer-compare callback.  Perhaps common callbacks such
as that one could be added to the kernel?
Reword callbackSort's notes
Update compareStrings to handle alpha compare
Actually didn't need to invert carry flag

hurr durr
Use official test vector for SHA1 unit test
callbackSort: Break unneeded register saves out of recursion

This saves 4 bytes of stack *per recursion* at the expense of a one-time
penalty of an extra call.
Mention stack space usage in callbackSort notes