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

View File

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

View File

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