Simon,

This is excellent. Many thanks for putting the effort into this :) I fear it would have taken me sometime to get it right so I appreciate your deft work!

I shall have a play, and with a bit of luck the results of this will be present in my next project.

Cheers

Andrew

--------------------------------------------------
From: "Simon Owen" <[email protected]>
Sent: Sunday, May 13, 2012 6:31 PM
To: <[email protected]>
Subject: Re: border effects and tricks

On 13/05/2012 10:14, Andrew Gillen wrote:
it created some nice patterns, but not quite the patterns I wanted.

Try working from this: http://obo.homeip.net/BorderSAM.zip

The visible width is 36 blocks, and each out covers 2 blocks.  That
means 18 OUTs for the effect plus 6 more for invisible padding between
lines.

Adding a NOP after an OUT adds a single block for odd widths.  There
must be an even number of NOPs in each line for timing, with any spare
NOP added after the padding OUTs.  For every 2 NOPs added you must
remove an OUT.  Technically, 2 OUTs (8T total) should be needed per
extra block, but the ASIC contention alignment during the border write
rounds it up anyway.

I've kept the number of vertical lines the same as the original code,
though you can see more than that on a real SAM.  There's also some
interrupt re-entrancy with the current code, but it's allowed for in the
timing delays.

I've just had a chat with Chris on IRC and there may be SAM support in
the editor program at some point :)

Si

Reply via email to