lronaldo / cpctelera

Astonishingly fast Amstrad CPC game engine for C developers
http://lronaldo.github.io/cpctelera/
GNU Lesser General Public License v3.0
229 stars 54 forks source link

New optimized version of cpct_px2byteM1.s #169

Closed joaquinferrero closed 1 year ago

joaquinferrero commented 1 year ago

Version of this function, based on the following algorithm:

Removed references to byte table "pen2mode1px" as it is not needed in the function or anywhere else (that has been detected).

Comments have been modified to remove unnecessary parts, update size in bytes, microseconds, cycles. The scheme that explains the arrangement of the bits of the pixels packed in the bytes of the video memory has also been modified.