Multiplication
-
-When accessing screen memory often a multiplication of the vertical position is needed to calculate
-the target address. A quite common horizontal span for 8-bit systems is 20 or 40 bytes (beside e.g. 32 bytes, where the multiplication can be accomplished by shifting 5 times).
-
-
-
- unsigned int __fastcall__ _mul20(unsigned char value);
-
-
-The 8 bit value is multiplied by 20 and returned as 16 bit value.
-
-
-
-
- unsigned int __fastcall__ _mul40(unsigned char value);
-
-
-The 8 bit value is multiplied by 40 and returned as 16 bit value.
-
-
-
-