Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 3092

programming • Re: Partial sprite plotting at screen edges

$
0
0
I think I have seen posts (by tricky?) suggesting one way to handle this - probably BBC Micro only, not Electron - is to set up the CRTC registers such that part of the screen memory is not drawn. So sprites which are partially off-screen are written into screen memory as normal by the sprite code, but the "edges" of the screen memory are not displayed.

I may have got the wrong end of the stick!
Yes the Beeb can 'cheat' at the expense of wasted memory, not an option open to the Elk :(
I've got some ideas for how to do it, but it's going to result in probably 3 different sprite routines for speed purposes. No code written yet as I'm still in the "thinking" phase.

Statistics: Posted by rasto1968 — Thu Mar 20, 2025 5:39 pm



Viewing all articles
Browse latest Browse all 3092

Trending Articles