mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-23 16:29:34 +00:00
some wipes
This commit is contained in:
parent
043c457f6f
commit
84182d94ca
@ -1 +1 @@
|
||||
RIPPLE
STARWHITE
SOFT.DIAGONAL
STAGGERWHITE.UD
RADIAL
STAGGER.LR
SOFT.UD
CRYSTAL
BIT.FIZZLE
MEETINTHEMIDDLE
DIAGONAL
R.BY.PIXEL
SUNRISE
SOFT.L
SUNSET
IRIS.IN
CORNER.CIRCLE
CENTER.BY.PIXEL
DIAGONAL2
RIPPLE2
PALETTE.FIZZLE
RADIAL2
SPLIT.UD.INTRO
R.BY.2
HALF.FIZZLE
RADIAL3
DIAGONAL3
BAR.DISSOLVE
R.BY.PALETTE
FOURSPIRAL
SOFT.R
IRIS
CASCADE
AND
CHECKERBOARD
LR.BY.PIXEL
RADIAL4
CHECKER.FIZZLE
STAGGERWHITE.LR
SOFT.UD.OUT
ONESQUARE
FIZZLE
STAR
DIAMOND
TWOPASS.LR
HALF.MOSAIC
RADIAL5
ARROW
FOURSQUARE
DIAGONAL4
STAGGER.UD
INTERLOCK.LR
SOFT.UD.IN
BLOCK.MOSAIC
INTERLOCK.UD
BLOCK.FIZZLE
SPIRAL
ARROW.WHITE
[eof]
#
# transition effects for HGR slideshows
#
# Each Mega-Attract Module that is an HGR slideshow (see attract.conf)
# will use a single transition effect for the length of the module.
# Transition effects are loaded in the order listed in this file. Each line
# of this file is a filename (not including comments, like this one). The
# name of the next transition effect is stored in the global prefs, so this
# file should not contain duplicates.
#
# Transition effects are binary files loaded at $6000 and called with
# hi-res page 1 showing and the next HGR graphic already loaded at $4000.
# A transition effect can use $6000-$BFFF in main memory, zero page, and
# text page if needed (but preserve the screen holes). $800-$1FFF is reserved
# for the slideshow data. LC RAM banks 1 and 2 are reserved for the launcher.
#
# Important: LC RAM bank 1 will be read/write on entry and must be read/write
# on exit. If you need ROM routines, you are responsible for switching to ROM
# then switching back to RAM bank 1 (read/write) before returning.
#
|
||||
RIPPLE
STARWHITE
SOFT.DIAGONAL
STAGGERWHITE.UD
RADIAL
STAGGER.LR
SOFT.UD
CRYSTAL
BIT.FIZZLE
MEETINTHEMIDDLE
DIAGONAL
R.BY.PIXEL
SUNRISE
SOFT.L
SUNSET
IRIS.IN
CORNER.CIRCLE
CENTER.BY.PIXEL
DIAGONAL2
RIPPLE2
PALETTE.FIZZLE
RADIAL2
SPLIT.UD.INTRO
R.BY.2
HALF.FIZZLE
RADIAL3
DIAGONAL3
CORNER4.OUT
BAR.DISSOLVE
R.BY.PALETTE
FOURSPIRAL
SOFT.R
IRIS
CASCADE
AND
CHECKERBOARD
LR.BY.PIXEL
RADIAL4
CHECKER.FIZZLE
STAGGERWHITE.LR
SOFT.UD.OUT
ONESQUARE
FIZZLE
STAR
DIAMOND
TWOPASS.LR
HALF.MOSAIC
RADIAL5
ARROW
FOURSQUARE
DIAGONAL4
STAGGER.UD
INTERLOCK.LR
SOFT.UD.IN
BLOCK.MOSAIC
CORNER4.IN
INTERLOCK.UD
BLOCK.FIZZLE
SPIRAL
ARROW.WHITE
[eof]
#
# transition effects for HGR slideshows
#
# Each Mega-Attract Module that is an HGR slideshow (see attract.conf)
# will use a single transition effect for the length of the module.
# Transition effects are loaded in the order listed in this file. Each line
# of this file is a filename (not including comments, like this one). The
# name of the next transition effect is stored in the global prefs, so this
# file should not contain duplicates.
#
# Transition effects are binary files loaded at $6000 and called with
# hi-res page 1 showing and the next HGR graphic already loaded at $4000.
# A transition effect can use $6000-$BFFF in main memory, zero page, and
# text page if needed (but preserve the screen holes). $800-$1FFF is reserved
# for the slideshow data. LC RAM banks 1 and 2 are reserved for the launcher.
#
# Important: LC RAM bank 1 will be read/write on entry and must be read/write
# on exit. If you need ROM routines, you are responsible for switching to ROM
# then switching back to RAM bank 1 (read/write) before returning.
#
|
@ -54,3 +54,20 @@ for i, j, k, l in zip(range(1680), range(1680,3360), range(3360,5040), range(504
|
||||
with open("../../../src/fx/fx.hgr.ripple.data.a", "w") as f:
|
||||
for aval, bval in ripple_vals:
|
||||
f.write(" !byte %s,%s\n" % (aval, bval))
|
||||
|
||||
corner4_vals = []
|
||||
for x, y in unique_coords:
|
||||
x = 139-x
|
||||
y = 95-y
|
||||
aval = "$" + hex(y)[2:].rjust(2, "0").upper()
|
||||
bval = "%" + \
|
||||
bin(x%7)[2:].rjust(3, "0") + \
|
||||
bin(x//7)[2:].rjust(5, "0")
|
||||
corner4_vals.append((aval, bval))
|
||||
with open("../../../src/fx/fx.hgr.corner4.in.data.a", "w") as f:
|
||||
for aval, bval in corner4_vals:
|
||||
f.write(" !byte %s,%s\n" % (aval, bval))
|
||||
corner4_vals.reverse()
|
||||
with open("../../../src/fx/fx.hgr.corner4.out.data.a", "w") as f:
|
||||
for aval, bval in corner4_vals:
|
||||
f.write(" !byte %s,%s\n" % (aval, bval))
|
||||
|
14
src/fx/fx.hgr.corner4.in.a
Normal file
14
src/fx/fx.hgr.corner4.in.a
Normal file
@ -0,0 +1,14 @@
|
||||
;license:MIT
|
||||
;(c) 2019 by 4am
|
||||
;
|
||||
!cpu 6502
|
||||
!to "build/FX/CORNER4.IN",plain
|
||||
*=$6000
|
||||
|
||||
!source "src/fx/fx.hgr.precomputed.1bit.a"
|
||||
|
||||
+FX_PRECOMPUTED_1BIT Coordinates
|
||||
|
||||
Coordinates
|
||||
!source "src/fx/fx.hgr.corner4.in.data.a"
|
||||
!byte $80
|
6720
src/fx/fx.hgr.corner4.in.data.a
Normal file
6720
src/fx/fx.hgr.corner4.in.data.a
Normal file
File diff suppressed because it is too large
Load Diff
14
src/fx/fx.hgr.corner4.out.a
Normal file
14
src/fx/fx.hgr.corner4.out.a
Normal file
@ -0,0 +1,14 @@
|
||||
;license:MIT
|
||||
;(c) 2019 by 4am
|
||||
;
|
||||
!cpu 6502
|
||||
!to "build/FX/CORNER4.OUT",plain
|
||||
*=$6000
|
||||
|
||||
!source "src/fx/fx.hgr.precomputed.1bit.a"
|
||||
|
||||
+FX_PRECOMPUTED_1BIT Coordinates
|
||||
|
||||
Coordinates
|
||||
!source "src/fx/fx.hgr.corner4.out.data.a"
|
||||
!byte $80
|
6720
src/fx/fx.hgr.corner4.out.data.a
Normal file
6720
src/fx/fx.hgr.corner4.out.data.a
Normal file
File diff suppressed because it is too large
Load Diff
@ -136,7 +136,7 @@ hgr1himirror = $BF40 ; $C0 bytes
|
||||
+BUILD_HGR_MIRROR_LOOKUP_TABLES hgrlomirror, hgr1himirror
|
||||
+BUILD_MIRROR_COLS mirror_cols
|
||||
+BUILD_SPARSE_BITMASKS copymasks, mirror_copymasks
|
||||
+LDAY .coords
|
||||
+LDADDR .coords
|
||||
+STAY input
|
||||
jmp InputLoop
|
||||
Exit1Bit rts
|
||||
|
Loading…
Reference in New Issue
Block a user