shave some bytes

This commit is contained in:
4am 2020-11-22 22:12:37 -05:00
parent 395498cfb5
commit 756e9623c3

View File

@ -7,7 +7,7 @@
!macro BUILD_SPARSE_BITMASKS_DHGR .copymasks, .mirror_copymasks {
; build sparse lookup tables for bitmasks
ldx #$00
lda #%00000000
txa
- sta .copymasks, x
sta $C005
sta .copymasks, x
@ -53,10 +53,10 @@
}
!macro FX_PRECOMPUTED_1BIT_DHGR .coords {
+BUILD_HGR_LOOKUP_TABLES hgrlo, hgr1hi
+BUILD_SPARSE_BITMASKS_DHGR copymasks, mirror_copymasks
+BUILD_HGR_LOOKUP_TABLES_X_IS_ALREADY_0 hgrlo, hgr1hi
+BUILD_HGR_MIRROR_LOOKUP_TABLES hgrlomirror, hgr1himirror
+BUILD_MIRROR_COLS mirror_cols
+BUILD_SPARSE_BITMASKS_DHGR copymasks, mirror_copymasks
+COPY_SELF_TO_AUXMEM
ldx #(end-start) ; copy InputLoop code to zero page
- lda start-1, x