Re: [cc65] Optimizing C code

Date view Thread view Subject view

From: David Holz (davidh_at_otterspace.com)
Date: 2003-09-04 04:03:47


From: "Shawn Jefferson" <sjefferson_at_sd62.bc.ca>
> data &= ~plot4cmask[bit];

Invert the data in the plot4cmask table so you don't have to have the code
do the inversion.

>   mask = creg << plot4cshift[bit];

Make creg be a byte full of the color pattern, and AND it against a mask
instead of shifting.

-- 
White Flame (aka David Holz)
http://www.white-flame.com/

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-09-04 03:53:56 CEST