ErrorF("CopyRect transparency\n");
S3SAVSetupForScreenToScreenCopy(xdir, ydir, rop, planemask,transparency_color)    int xdir, ydir;    int rop;    unsigned planemask;    int transparency_color;{    BCI_GET_PTR;    int cmd;    cmd = BCI_CMD_RECT | BCI_CMD_DEST_GBD | BCI_CMD_SRC_GBD;    cmd |= s3vAlu[rop];    if (transparency_color != -1)        cmd |= BCI_CMD_SEND_COLOR | BCI_CMD_SRC_TRANSPARENT;    if (xdir == 1 ) cmd |= BCI_CMD_RECT_XP;    if (ydir == 1 ) cmd |= BCI_CMD_RECT_YP;#if BCI_REPEAT    WaitQueue(2);    BCI_SEND(cmd);    if (transparency_color != -1) {        BCI_SEND(transparency_color);	ErrorF("CopyRect transparency\n");    }    /*ErrorF("CopyRect command 0x%.8x sent\n", cmd);*/#endif    s3SavedBciCmd = cmd;    s3SavedBgColor = transparency_color;}