inverting the maximite screen


Author Message
RossW
Guru

Joined: 25/02/2006
Location: Australia
Posts: 495
Posted: 10:11am 08 Jun 2011      

  BobDevries said   Yes, the NOT function works too (thanks, Gizmo), and its time is 1 minute 10 secs.


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).