Commit graph

10 commits

Author SHA1 Message Date
7f2bc43cff squares 2024-12-14 18:56:26 -08:00
c152c4346b Progressive pixel layout 2024-02-04 14:25:15 -08:00
b6ddc0d50e update readme & doc comments & vars 2023-01-22 14:34:30 -08:00
b36ab77e97 update readme 2023-01-06 17:28:35 -08:00
6edd2f71d9 whoops added wrong 2023-01-04 21:26:47 -08:00
3a0545b673 tyop 2023-01-04 21:04:53 -08:00
1408855eed Note how many cycles loop unrolling saves
+4 cycles one-time setup

ldx #8 ; 2 cyc for first 8
ldx #8 ; 2 cyc for second 8 (different shift behavior)

-5 cycles/iter to get bit now

lsr arg + 1 ; 5 cyc
rol arg     ; 5 cyc

+10 cycles/iter to get the bit in a loop

dex ; 2 cyc
bne ; 2 cyc

4 cycles/iter for the loop

4 + (14 * 16) = 4 + 224 = 228
2023-01-04 21:02:18 -08:00
519f8ad635 whoops 2023-01-04 20:57:07 -08:00
efd722eeb2 update cycle count for imul16 2023-01-04 20:37:16 -08:00
9682b4a6b3 readme 2023-01-04 19:15:26 -08:00