inverting the maximite screen


Author Message
BobDevries

Senior Member

Joined: 08/06/2011
Location: Australia
Posts: 266
Posted: 09:31pm 08 Jun 2011      

  RossW said  
Does that mean the XOR is faster ("slightly over 1 minute") than NOT ("1 minute 10 sec")?

Can you read the video memory a byte-at-a-time, XOR with 255 (0xFF), write it back, and step a byte? That'd reduce the for-next loop 8-fold which should be almost an order of magnitude faster. (We're still talking about many seconds though).


The NOT version is slightly faster.

No only one pixel is accessible at a time using the pixel() function. There's no other way to access the screen RAM (or any other RAM).

Regards,

Bob Devries
Dalby, QLD, Australia