mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-28 03:29:59 +00:00
shave some bytes
This commit is contained in:
parent
395498cfb5
commit
756e9623c3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user