A hi-res sprite compiler for Apple II
Go to file
2017-08-19 13:53:10 -07:00
HiSprite.xcodeproj Optimizations 2017-06-19 21:53:57 -07:00
.gitignore Optimizations 2017-06-19 21:53:57 -07:00
AppleCommander.jar Initial commit 2016-07-20 19:30:24 -05:00
box_blu.png All basic colors working 2016-09-01 13:13:27 -07:00
box_grn.png Basic shifted data unrolling working for violet and green 2016-08-18 12:12:11 -07:00
box_mag.png Basic shifted data unrolling working for violet and green 2016-08-18 12:12:11 -07:00
box_org.png All basic colors working 2016-09-01 13:13:27 -07:00
boxw_mag.png Added support for the color white 2016-12-21 14:03:28 -08:00
boxw_mix.png Code cleanup 2016-12-25 13:43:14 -07:00
boxw_org.png Added support for the color white 2016-12-21 14:03:28 -08:00
graphics.s Final KFest demo commit 2017-07-18 11:33:57 -07:00
hamburger.png Final KFest demo commit 2017-07-18 11:33:57 -07:00
hgrtableX.s Cleanup 2016-09-10 11:04:57 -07:00
hgrtableY.s Cleanup, early support for page 2 2017-02-25 16:30:30 -08:00
hisprite.dsk Better demos 2017-07-18 11:38:30 -07:00
HiSprite.py Final KFest demo commit 2017-07-18 11:33:57 -07:00
hisprite.s Final KFest demo commit 2017-07-18 11:33:57 -07:00
KOLTitle.bin Fixed background save/restore for 6-byte sprites 2016-12-22 14:28:46 -08:00
macros.s Optimization & refinement 2017-05-29 13:14:37 -07:00
Makefile Cleanup 2016-09-10 11:04:57 -07:00
README.md Create README.md 2017-08-19 13:53:10 -07:00
spaceship.png Final KFest demo commit 2017-07-18 11:33:57 -07:00
spriteBuffers.s Working demo for KFest 2017 2017-07-04 12:44:47 -07:00
spritegen0.s Final KFest demo commit 2017-07-18 11:33:57 -07:00
spritegen0b.s Final KFest demo commit 2017-07-18 11:33:57 -07:00
spritegen1.s Cleanup 2016-09-10 11:04:57 -07:00
spritegen2.s Cleanup 2016-09-10 11:04:57 -07:00
spritegen3.s Added support for the color white 2016-12-21 14:03:28 -08:00
spritegen4.s Added support for the color white 2016-12-21 14:03:28 -08:00
V2Make.scpt Put an old optimization back in 2017-03-26 11:02:22 -07:00

HiSprite

A hi-res sprite compiler for Apple II

This was a project done for KansasFest 2017. The goal was to see what the maximum draw rate of a sprite on the Apple II might be, and play with the tradeoffs of size versus speed. This project includes a python script that takes a PNG file and generates Apple II assembly code to render that image anywhere onscreen. This is the essence of sprite compiling, and while it's common on many platforms, it never saw widespread uses on 8-bit Apple II machines. This presentation from KansasFest 2017 explains all the rationale: https://www.youtube.com/watch?v=byVvMsW__Cc

The python code itself is hopefully fairly self-documenting. There's not much to it, really. It just parses a PNG file, looks for colors that match Apple II hires colors, and generates code to render the images.