=> R1 = redraw block (r_charh)
R2 = bytes per cache line for the source character (1,2,*4)
R3 = bytes per cache line for the dest character (1,2,*4)
R4 = pointer to source character bitmap
R5 = address to place destination character bitmap
R6 = bit mask to insert in place of 1's (only bottom 2^R7 bits)
R7 = Log base 2 of number of bits per pixel (1-5)
<= R0 and flags corrupted
R4 and R5 updated to the start of the 'next' characters
This SWI is for the use of ZapRedraw_ConvertBitmap and performs the bitmap
conversion for one character. It takes a bit map of the one bit per pixel
format and expands it to have n = 2^R7 bits per pixel by replacing each '0'
with n '0's and each '1' with the mask in R6 (usually n '1's). Thus for
standard conversion you should set R6 to be 2^n-1 (=2^(2^R7)-1).
NB if R7 (=r_bpp) is zero then all you have to do is copy the bitmap. R7 =
0 is not supported by this call.
|
|
|