On 11/04/2012 22:42, Stefan Drissen wrote: > Is the palette being adjusted multiple times while the line is being > drawn (similar to the rainbow processor effects on the Spectrum)
No, only outside the image being drawn, for now. > how many t-states are available between line end and next line start There's only 128T for updates in the horizontal border, which is just enough time for 6 updates if positioned correctly. The update OUTI is 24T in the border area and 32T over the main screen, including memory and I/O contention. Even with an unrolled OUTI loop there's still only time to update 13 entries across a full scanline. I did consider using external RAM for the viewer, but it'd probably only allow 1 extra update, so wasn't really worth restricting the hardware it would run on. > interested in would I be able to increase the sample rate from 10.4 KHz > to 15.6 KHz? Or is the gain from uncontended vs contended RAM much too > small? I'm not sure it'd be enough. If you can extract+modify the relevant code snippet it shouldn't be too difficult to check in the SimCoupe debugger... Si
