Geehaf 22 Posted January 26 I did publish this link on the FB group earlier but just in case you missed it A very small sneak peek at one of the effects I've coded for my upcoming X16 demo: VERA.FX 1 Inspiration came from a C64 Flexible Line Distance (FLD) routine I wrote back in the 1980s! Hopefully the full demo will be released soon...(all fingers crossed ). Not a sprite in sight! 2 Quote Share this post Link to post Share on other sites
Chris L 0 Posted January 27 Man, that is an awesome effect demo - well done! Quote Share this post Link to post Share on other sites
desertfish 323 Posted January 27 is this sumulated by drawing graphics or have you actually replicated the same effect on the Vera? Quote Share this post Link to post Share on other sites
Guybrush 22 Posted January 27 It's most probably made by changing a bitmap layer's tile data address for each scanline. Quote Share this post Link to post Share on other sites
Geehaf 22 Posted January 28 Thanks for the interest! It works by generating a pair of line interrupts for each visible line of tiles, then adjusting the vertical scroll position for the Tile layer accordingly based upon a sine wave pattern, i.e. the 1st line interrupt "switches on" the tile line and the 2nd "switches off" the tile line and is then repeated for all visible moving lines. Tile graphics data is not manipulated as such. Initially I did consider basing the effect on updating the tile base address register but the "grain" of this address is limited to a multiple of 2048 bytes. Quote Share this post Link to post Share on other sites
desertfish 323 Posted January 28 Ah I see. It's using the documented stuff to scroll tiles, not somehow disabling all video output during a certain time and then re-enabling it again a few raster lines later (as it had to be done with the FLD effect on the c64 I believe?) Quote Share this post Link to post Share on other sites
Geehaf 22 Posted January 28 28 minutes ago, desertfish said: Ah I see. It's using the documented stuff to scroll tiles, not somehow disabling all video output during a certain time and then re-enabling it again a few raster lines later (as it had to be done with the FLD effect on the c64 I believe?) Yes, all documented VERA registers etc. The routine does disable the tile layer between each tile line to stop VERA outputting any tile graphics (this is the space highlighted in yellow below) and dynamically determines the next relative vertical scroll position for the layer in relation to the end position of the previous line. Cheers. 1 Quote Share this post Link to post Share on other sites