[Coco] "Reading" non-readable bytes with PEEK vs ZBUG

Darren A. darccml at hotmail.com
Thu Jan 24 23:08:18 EST 2008


> 
> If the two bits are not actually known or not consistantly the same then do 
> two LSLs followed by two LSRs.  This will shift the two questionable bits out 
> through the carry and the two LSRs will shift "0" back into the upper two bits. 
> 
> problem solved. 
> 
> james
>

--

Or better yet, just do one AND #$3F.  That cuts the byte count in half, and executes 3 times faster.

Darren


_________________________________________________________________
Need to know the score, the latest news, or you need your Hotmail®-get your "fix".
http://www.msnmobilefix.com/Default.aspx


More information about the Coco mailing list