3 ms·
How do you know which places get 0 bytes?
by tedunangst 4y ago
How do you know which places get 0 bytes?
- jhallenworld 4y agoWith pre-processing: sort the source data so that the same bytes (along with their offsets) are grouped together, then convert this to code. It could be useful for drawing things like fixed sprites quickly.
- rzzzt 4y agoThis presentation of "A Pig Quest" for the C64 describes similar methods for efficient bitmap copying (the timestamped part is more relevant, but I recommend watching the entire thing): https://youtu.be/I8CTKeh8N0Q?t=578 https://youtu.be/I8CTKeh8N0Q?t=578