>* CLUT ----------------------------------------------------

> LD bc,CLUT      1 248 0  12 uts
> LD a,127        62 127   8 uts
> OUT (c),a       237 121  12 uts in-screen, 20 uts off-screen

I've just realised that this particular result is nonsensical - eg, it
would make most of my border scrollies impossible (usually a stream of
OUT(c),r instructions to produce units 16 pixels wide) ... but the result
is certainly there and can be confirmed.

The sequence
    LD bc,CLUT : LD a,127 : OUT (c),a
takes 40 ** uts to execute.
This indicates that OUT (c),a takes 20 ** uts to execute.

But on further experimentation, the sequence
    LD bc,CLUT : LD a,127 : OUT (c),a : OUT (c),a
takes 56 *** uts to execute.
So the sequence
    OUT (c),a : OUT (c),a
must take 36 *** uts to execute. Dividing that by 2 doesn't give a very
sensible answer...

I think my previous investigation may have been too simplistic.

Andrew

--
 --  Andrew Collier  ([EMAIL PROTECTED])  --        My other
  --      http://mnemotech.ucam.org      --       .sig is a
   -- Part 3 Materials Science, Cambridge --      PDF file
                                           --


Reply via email to