hook up Radial.Data

This commit is contained in:
Peter Ferrie 2020-11-14 20:19:35 -08:00
parent 925c5af8b2
commit 1b3caa6415
3 changed files with 23 additions and 16 deletions

View File

@ -1,5 +1,5 @@
;license:MIT ;license:MIT
;(c) 2019 by 4am ;(c) 2019-2020 by 4am/qkumba
; ;
!cpu 6502 !cpu 6502
!to "build/FX/RADIAL",plain !to "build/FX/RADIAL",plain
@ -17,6 +17,9 @@ input = $FE ; word
!source "src/fx/fx.hgr.precomputed.1bit.a" !source "src/fx/fx.hgr.precomputed.1bit.a"
+FX_INITONCE_1BIT CoordinatesFile, Start
Start
+BUILD_HGR_LOOKUP_TABLES hgrlo, hgr1hi +BUILD_HGR_LOOKUP_TABLES hgrlo, hgr1hi
+BUILD_HGR_MIRROR_LOOKUP_TABLES hgrlomirror, hgr1himirror +BUILD_HGR_MIRROR_LOOKUP_TABLES hgrlomirror, hgr1himirror
+BUILD_MIRROR_COLS mirror_cols +BUILD_MIRROR_COLS mirror_cols
@ -91,10 +94,9 @@ LoopBR ; bottom-right quadrant (opposite row, oppo
DoneBR DoneBR
rts rts
!if * and 1 { CoordinatesFile
!byte 0 !byte 15
} !text "FX/RADIAL.DATA"
Coordinates
!source "src/fx/fx.hgr.radial.data.a" Coordinates = Coordinates1Bit
EndCoordinates EndCoordinates = Coordinates + $3480
!byte $80

View File

@ -1,3 +1,6 @@
!cpu 6502
!to "build/FX/RADIAL.DATA",plain
*=$8800
!byte $5E,%00000000 !byte $5E,%00000000
!byte $5E,%00100000 !byte $5E,%00100000
!byte $5E,%01000000 !byte $5E,%01000000

View File

@ -1,5 +1,5 @@
;license:MIT ;license:MIT
;(c) 2019 by 4am ;(c) 2019-2020 by 4am/qkumba
; ;
!cpu 6502 !cpu 6502
!to "build/FX/RADIAL3",plain !to "build/FX/RADIAL3",plain
@ -18,6 +18,9 @@ input = $FE ; word
!source "src/fx/fx.hgr.precomputed.1bit.a" !source "src/fx/fx.hgr.precomputed.1bit.a"
+FX_INITONCE_1BIT CoordinatesFile, Start
Start
+BUILD_HGR_LOOKUP_TABLES hgrlo, hgr1hi +BUILD_HGR_LOOKUP_TABLES hgrlo, hgr1hi
+BUILD_HGR_MIRROR_LOOKUP_TABLES hgrlomirror, hgr1himirror +BUILD_HGR_MIRROR_LOOKUP_TABLES hgrlomirror, hgr1himirror
+BUILD_MIRROR_COLS mirror_cols +BUILD_MIRROR_COLS mirror_cols
@ -83,10 +86,9 @@ Loop ldy #0
jmp Loop jmp Loop
+ rts + rts
!if * and 1 { CoordinatesFile
!byte 0 !byte 15
} !text "FX/RADIAL.DATA"
Coordinates
!source "src/fx/fx.hgr.radial.data.a" Coordinates = Coordinates1Bit
EndCoordinates EndCoordinates = Coordinates + $3480
!byte $80