User Tools

Site Tools


base:techtech_fli

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
base:techtech_fli [2016-04-21 13:27] – [The Solution] compyxbase:techtech_fli [2016-04-22 12:41] (current) – added a screenshot compyx
Line 5: Line 5:
 Below is an example of a tech-tech effect, achieved using a so-called FLI-routine. This is **not** a tech-tech with a FLI logo, its a simple FLI based routine to allow videoram switching at every rasterline. Below is an example of a tech-tech effect, achieved using a so-called FLI-routine. This is **not** a tech-tech with a FLI logo, its a simple FLI based routine to allow videoram switching at every rasterline.
  
-The routine differs from the other article in that it uses videoram banks to create the tech-tech, not character sets. One could combine these two techniques by cleverly interleaving character sets and videoram to allow for a wider sinus, perhaps even bank switching with $dd00 for even more movement. I'll leave that as an exercise for the reader ;) +The routine differs from [[magazines:chacking7#tech-tech_-_more_resolution_to_vertical_shift]|this article]] in that it uses videoram banks to create the tech-tech, not character sets. One could combine these two techniques by cleverly interleaving character sets and videoram to allow for a wider sinus, perhaps even bank switching with $dd00 for even more movement. I'll leave that as an exercise for the reader ;) 
-  + 
 +{{:base:tech-tech-fli.png?404|Screenshot of the tech-tech in action}}
  
 I wrote this code as part of an attempt to regain my old VIC-trickery skills, it's been about 25 years since I did a tech-tech. As such, the code may not be up to today's standards. I just published it here since there was no article on tech-tech's using $d011/FLI. I wrote this code as part of an attempt to regain my old VIC-trickery skills, it's been about 25 years since I did a tech-tech. As such, the code may not be up to today's standards. I just published it here since there was no article on tech-tech's using $d011/FLI.
Line 16: Line 17:
  
  
-====== The Theory =====+===== The Theory =====
  
 //I'll use the word 'logo' here to simplify things a bit. My code doesn't actually include a logo, just some text //I'll use the word 'logo' here to simplify things a bit. My code doesn't actually include a logo, just some text
Line 104: Line 105:
 ===== The Code ===== ===== The Code =====
  
-Here's the actual source code, in 64tass syntax. The FLI routine needs to be unrolled, the sinus calculation can all be done in a loop, but that eats cycles, so I also wrote some unrolled code for the $d016/$d018 values updating:       +Here's the actual source code, in 64tass syntax. The FLI routine needs to be unrolled, the sinus calculation can all be done in a loop, but that eats cycles, so I also wrote some unrolled code for the $d016/$d018 values updating
 + 
 +Before assembling, one should probably comment out the references to the music, I would be surprised to see everyone having their HVSC at "/home/compyx/c64/HSVC" ;)
  
 <code 6502tasm> <code 6502tasm>
base/techtech_fli.1461238075.txt.gz · Last modified: 2016-04-21 13:27 by compyx