Commit Graph

8 Commits

Author SHA1 Message Date
Josh Goebel e307cdc725 fix register pressure
- declare a high register clobber

This seems to have the side effect of freeing up a high register and
preventing the error:

"can't find a register in class 'LD_REGS' while reloading 'asm'""
2017-04-22 15:25:33 -04:00
Josh Goebel 5fe9488b10 tmp variables can be flagged as output only
- this saves a few bytes
2017-04-22 15:25:29 -04:00
Josh Goebel ceef595357 Fix buffer underflow in drawPlusMask
When sRow == -1 drawPlusMask can cause buffer underflow if it's
interrupted by an interrupt that changes memory that it's in the middle
of writing.  Of course it shouldn't be writing to this memory at all.

This fixes the issue.
2017-04-22 15:24:58 -04:00
Josh Goebel fcfc0c9aa0 minor code fixes for sprites
- saves several bytes for sketches using drawPlusMask()
2017-04-18 21:26:32 -04:00
Josh Goebel b560ff9f60 fix internal drawBitmap call to use correct types 2017-03-22 17:43:56 -04:00
Scott Allen d89a2bd590 Improve embedded Doxygen documentation 2016-11-24 14:51:22 -05:00
Scott Allen 40a028e5a1 Remove Sprites class constructor parameter
The Sprites class has been given direct access to the screen buffer so it
doesn't need a pointer to been given to it.

Also updated README.md and keywords.txt, and made minor indent changes in
the .h files.
2016-10-20 13:28:29 -04:00
Scott Allen f763263d2b Add Team A.R.G. Arglib functionality
- Version changed to 2.1.0
- Added sprite, button and collision functions from ArduboyExtra
- Added drawCompressed() function from Arglib
- Updated LICENSE.txt
- Removed CONTRIBUTORS.md (now covered by LICENSE.txt)
2016-10-19 20:23:34 -04:00