#ifndef COMPILE_H
#include "COMPILE.H"
#endif
#ifdef MEDIA752_A36M_A31E_A31M_A33M_A35E_A35M_AU1E_AU2E
extern unsigned int16_t* G3249_pui_BlitterTemporaryBitplane;

#ifdef MEDIA763_AU1E_AU2E
int16_t G1102_ai_BlitMasks[33] = { 0xFFFF, 0x7FFF, 0x3FFF, 0x1FFF, 0x0FFF, 0x07FF, 0x03FF, 0x01FF, 0x00FF, 0x007F, 0x003F, 0x001F, 0x000F, 0x0007, 0x0003, 0x0001, 0x0000, 0x8000, 0xC000, 0xE000, 0xF000, 0xF800, 0xFC00, 0xFE00, 0xFF00, 0xFF80, 0xFFC0, 0xFFE0, 0xFFF0, 0xFFF8, 0xFFFC, 0xFFFE, 0xFFFF };
#endif
#ifdef MEDIA746_A36M_A31E_A31M_A33M_A35E_A35M
int16_t G1102_ai_BlitMasks[34] = { 0xFFFF, 0x7FFF, 0x3FFF, 0x1FFF, 0x0FFF, 0x07FF, 0x03FF, 0x01FF, 0x00FF, 0x007F, 0x003F, 0x001F, 0x000F, 0x0007, 0x0003, 0x0001, 0x0000, 0x0000, 0x8000, 0xC000, 0xE000, 0xF000, 0xF800, 0xFC00, 0xFE00, 0xFF00, 0xFF80, 0xFFC0, 0xFFE0, 0xFFF0, 0xFFF8, 0xFFFC, 0xFFFE, 0xFFFF };
#endif


void F1013_Blit_Amiga(
unsigned int16_t* P0199_pui_Bitmap_Source,
unsigned int16_t* P0200_pui_Bitmap_Destination,
int16_t* P2364_pi_XYZ,
int16_t P0202_i_X,
int16_t P0203_i_Y,
register int16_t P0204_i_SourceByteWidth,
register int16_t P0205_i_DestinationByteWidth,
int16_t P0206_i_TransparentColor,
int16_t P0925_i_SourceHeight,
int16_t P0926_i_DestinationHeight)
{
        register unsigned int16_t* L2194_pui_Bitmap_Source;
        register unsigned int16_t* L2195_pui_Bitmap_Destination;
        unsigned int16_t* L1592_pui_SourceBlitBitPlane0;
        unsigned int16_t* L1593_pui_SourceBlitBitPlane1;
        unsigned int16_t* L1594_pui_SourceBlitBitPlane2;
        unsigned int16_t* L1595_pui_SourceBlitBitPlane3;
        int16_t L1596_i_SourceBlitModulo;
        unsigned int16_t* L1597_pui_DestinationBlitBitPlane0;
        unsigned int16_t* L1598_pui_DestinationBlitBitPlane1;
        unsigned int16_t* L1599_pui_DestinationBlitBitPlane2;
        unsigned int16_t* L1600_pui_DestinationBlitBitPlane3;
        int16_t L1601_i_DestinationBlitModulo;
        int16_t L1603_i_Modulo;
        int16_t L1602_i_Modulo;
        unsigned int16_t* L1606_pui_;
        int16_t L1607_i_BoxWidth;
        int16_t L1608_i_BlitSizeHeight;
        int16_t L1609_i_BoxX1;
        int16_t L1610_i_BoxY1;
        int16_t L1612_i_BlitterFirstWordMask;
        int16_t L1613_i_BlitterLastWordMask;
        int16_t L1614_i_ShiftValue;
        int16_t L1615_i_LastWordMaskIndex;
        int16_t L1616_i_BoxX2;
        register int16_t L1617_i_FirstWordMaskIndex;
        register int16_t L1618_i_LastWordMaskIndex;
        unsigned int16_t L1619_ui_BlitSizeWidthWordCount;
        int16_t L1620_i_;
        int16_t L1621_i_BlitSizeLastWordMask;
        int16_t L1622_i_BlitSizeFirstWordMask;
        int16_t L2196_i_;
        unsigned int16_t* L2197_pui_;
        register int16_t L2198_i_;


        L1620_i_ = 1;
        L2196_i_ = 0;
        L2194_pui_Bitmap_Source = P0199_pui_Bitmap_Source;
        L2195_pui_Bitmap_Destination = P0200_pui_Bitmap_Destination;
#if ((EXETYPE == C03_GAME) || (EXETYPE == C06_CEDT) || (EXETYPE == C07_HINT))
        L2197_pui_ = G3191_ps_MsgPort_FTL_DRIA_Video->_ps_0x138_BlitterTemporaryBitplane;
#endif
#if ((EXETYPE == C13_GRF1) || (EXETYPE == C18_VDEO))
        L2197_pui_ = G3249_pui_BlitterTemporaryBitplane;
#endif
        if (P2364_pi_XYZ == NULL) {
                return;
        }
#if ((EXETYPE == C03_GAME) || (EXETYPE == C06_CEDT) || (EXETYPE == C07_HINT))
        P0204_i_SourceByteWidth = (int16_t)((P0204_i_SourceByteWidth + 0x0F) & 0xFFF0) >> 4;
        P0205_i_DestinationByteWidth = (int16_t)((P0205_i_DestinationByteWidth + 0x0F) & 0xFFF0) >> 4;
#endif
        if (L2195_pui_Bitmap_Destination == NULL) {
#if ((EXETYPE == C03_GAME) || (EXETYPE == C06_CEDT) || (EXETYPE == C07_HINT))
                L2195_pui_Bitmap_Destination = (unsigned int16_t*)G0348_Bitmap_Screen;
#endif
#if ((EXETYPE == C13_GRF1) || (EXETYPE == C18_VDEO))
                return;
#endif
        }
#if ((EXETYPE == C13_GRF1) || (EXETYPE == C18_VDEO))
        P0204_i_SourceByteWidth = (int16_t)((P0204_i_SourceByteWidth + 0x0F) & 0xFFF0) >> 4;
        P0205_i_DestinationByteWidth = (int16_t)((P0205_i_DestinationByteWidth + 0x0F) & 0xFFF0) >> 4;
#endif
        L1608_i_BlitSizeHeight = P2364_pi_XYZ[3] - P2364_pi_XYZ[2] + 1;
        L1609_i_BoxX1 = P2364_pi_XYZ[0];
        L1616_i_BoxX2 = P2364_pi_XYZ[1];
        L1610_i_BoxY1 = P2364_pi_XYZ[2];
        L1607_i_BoxWidth = L1616_i_BoxX2 - L1609_i_BoxX1 + 1;
        L1615_i_LastWordMaskIndex = P0202_i_X + L1607_i_BoxWidth - 1;
        L1617_i_FirstWordMaskIndex = P0202_i_X & 0x0F;
        L1618_i_LastWordMaskIndex = L1609_i_BoxX1 & 0x0F;
        L1619_ui_BlitSizeWidthWordCount = ((L1616_i_BoxX2 + 16) >> 4) - (L1609_i_BoxX1 >> 4);
#if ((EXETYPE == C03_GAME) || (EXETYPE == C06_CEDT) || (EXETYPE == C07_HINT))
        L1606_pui_ = &G3191_ps_MsgPort_FTL_DRIA_Video->_ps_0x138_BlitterTemporaryBitplane[L1619_ui_BlitSizeWidthWordCount - 1];
#endif
#if ((EXETYPE == C13_GRF1) || (EXETYPE == C18_VDEO))
        L1606_pui_ = &G3249_pui_BlitterTemporaryBitplane[L1619_ui_BlitSizeWidthWordCount - 1];
#endif
        if ((L2198_i_ = ((L1615_i_LastWordMaskIndex + 16) >> 4) - (P0202_i_X >> 4)) > L1619_ui_BlitSizeWidthWordCount) {
                L1619_ui_BlitSizeWidthWordCount = L2198_i_;
                L1620_i_++;
                if (L1619_ui_BlitSizeWidthWordCount > P0205_i_DestinationByteWidth) {
                        L1619_ui_BlitSizeWidthWordCount++;
                        L1620_i_++;
                }
        }
        if (L1618_i_LastWordMaskIndex == L1617_i_FirstWordMaskIndex) {
                L1614_i_ShiftValue = 0;
        } else {
                if (L1618_i_LastWordMaskIndex > L1617_i_FirstWordMaskIndex) {
                        L1614_i_ShiftValue = (L1618_i_LastWordMaskIndex - L1617_i_FirstWordMaskIndex) << 12;
                } else {
                        L1614_i_ShiftValue = (L1617_i_FirstWordMaskIndex - L1618_i_LastWordMaskIndex) << 12;
                        L2197_pui_ += (L1608_i_BlitSizeHeight * L1619_ui_BlitSizeWidthWordCount) - 1;
                        L2196_i_ = 2;
                }
        }
        L2198_i_ = (P0203_i_Y * P0204_i_SourceByteWidth) + (P0202_i_X >> 4);
        if (L2196_i_) {
                L2198_i_ += ((L1608_i_BlitSizeHeight - 1) * P0204_i_SourceByteWidth) + (L1619_ui_BlitSizeWidthWordCount - 1);
        }
        L1592_pui_SourceBlitBitPlane0 = L2194_pui_Bitmap_Source + L2198_i_;
        L1593_pui_SourceBlitBitPlane1 = L1592_pui_SourceBlitBitPlane0 + (P0925_i_SourceHeight * P0204_i_SourceByteWidth);
        L1594_pui_SourceBlitBitPlane2 = L1593_pui_SourceBlitBitPlane1 + (P0925_i_SourceHeight * P0204_i_SourceByteWidth);
        L1595_pui_SourceBlitBitPlane3 = L1594_pui_SourceBlitBitPlane2 + (P0925_i_SourceHeight * P0204_i_SourceByteWidth);
        L1596_i_SourceBlitModulo = (P0204_i_SourceByteWidth - L1619_ui_BlitSizeWidthWordCount) << 1;
        L2198_i_ = ((L1610_i_BoxY1 * P0205_i_DestinationByteWidth) + (L1609_i_BoxX1 >> 4));
        if (L2196_i_) {
                L2198_i_ += ((L1608_i_BlitSizeHeight - 1) * P0205_i_DestinationByteWidth) + (L1619_ui_BlitSizeWidthWordCount - 1);
        }
        L1597_pui_DestinationBlitBitPlane0 = L2195_pui_Bitmap_Destination + L2198_i_;
        L1598_pui_DestinationBlitBitPlane1 = L1597_pui_DestinationBlitBitPlane0 + (P0926_i_DestinationHeight * P0205_i_DestinationByteWidth);
        L1599_pui_DestinationBlitBitPlane2 = L1598_pui_DestinationBlitBitPlane1 + (P0926_i_DestinationHeight * P0205_i_DestinationByteWidth);
        L1600_pui_DestinationBlitBitPlane3 = L1599_pui_DestinationBlitBitPlane2 + (P0926_i_DestinationHeight * P0205_i_DestinationByteWidth);
        L1601_i_DestinationBlitModulo = (P0205_i_DestinationByteWidth - L1619_ui_BlitSizeWidthWordCount) << 1;
        L1603_i_Modulo = (L1619_ui_BlitSizeWidthWordCount - 1) << 1;
        L1602_i_Modulo = (L1619_ui_BlitSizeWidthWordCount - L1620_i_) << 1;
        L1612_i_BlitterFirstWordMask = G1102_ai_BlitMasks[L1617_i_FirstWordMaskIndex];
#if ((EXETYPE == C06_CEDT) || (EXETYPE == C07_HINT))
        L1613_i_BlitterLastWordMask = (G1102_ai_BlitMasks + 16)[(L1615_i_LastWordMaskIndex & 0x0F) + 1];
#else
        L1613_i_BlitterLastWordMask = (G1102_ai_BlitMasks + 17)[(L1615_i_LastWordMaskIndex & 0x0F) + 1];
#endif
        if (L2196_i_) {
                L2198_i_ = L1612_i_BlitterFirstWordMask;
                L1612_i_BlitterFirstWordMask = L1613_i_BlitterLastWordMask;
                L1613_i_BlitterLastWordMask = L2198_i_;
        }
#if ((EXETYPE == C06_CEDT) || (EXETYPE == C07_HINT))
        L1621_i_BlitSizeLastWordMask = (G1102_ai_BlitMasks + 16)[L1618_i_LastWordMaskIndex];
#else
        L1621_i_BlitSizeLastWordMask = (G1102_ai_BlitMasks + 17)[L1618_i_LastWordMaskIndex];
#endif
        L1622_i_BlitSizeFirstWordMask = G1102_ai_BlitMasks[(L1616_i_BoxX2 & 0x0F) + 1];
        OwnBlitter();
        if ((P0206_i_TransparentColor != CM1_COLOR_NO_TRANSPARENCY) || L1621_i_BlitSizeLastWordMask || L1622_i_BlitSizeFirstWordMask || L1614_i_ShiftValue) {
                if (P0206_i_TransparentColor != CM1_COLOR_NO_TRANSPARENCY) {
                        WaitBlit();
                        custom.bltcon0 =  (L1614_i_ShiftValue | (int16_t)(SRCA | SRCB | DEST)) | (3 << ((P0206_i_TransparentColor & 0x03) << 1));
                        custom.bltcon1 = L1614_i_ShiftValue | L2196_i_;
                        custom.bltafwm = L1612_i_BlitterFirstWordMask;
                        custom.bltalwm = L1613_i_BlitterLastWordMask;
                        custom.bltapt = (APTR)L1593_pui_SourceBlitBitPlane1;
                        custom.bltamod = L1596_i_SourceBlitModulo;
                        custom.bltbpt = (APTR)L1592_pui_SourceBlitBitPlane0;
                        custom.bltbmod = L1596_i_SourceBlitModulo;
                        custom.bltdpt = (APTR)L2197_pui_;
                        custom.bltdmod = 0;
                        custom.bltsize = M092_BLITSIZE(L1619_ui_BlitSizeWidthWordCount, L1608_i_BlitSizeHeight);
                        WaitBlit();
                        custom.bltcon0 = (L1614_i_ShiftValue | (int16_t)(SRCA | SRCB | SRCC | DEST)) | (2 << ((P0206_i_TransparentColor & 0x0C) >> 1));
                        custom.bltcon1 = L1614_i_ShiftValue | L2196_i_;
                        custom.bltafwm = L1612_i_BlitterFirstWordMask;
                        custom.bltalwm = L1613_i_BlitterLastWordMask;
                        custom.bltapt = (APTR)L1595_pui_SourceBlitBitPlane3;
                        custom.bltamod = L1596_i_SourceBlitModulo;
                        custom.bltbpt = (APTR)L1594_pui_SourceBlitBitPlane2;
                        custom.bltbmod = L1596_i_SourceBlitModulo;
                        custom.bltcpt = (APTR)L2197_pui_;
                        custom.bltcmod = 0;
                        custom.bltdpt = (APTR)L2197_pui_;
                        custom.bltdmod = 0;
                        custom.bltsize = M092_BLITSIZE(L1619_ui_BlitSizeWidthWordCount, L1608_i_BlitSizeHeight);
                } else {
                        WaitBlit();
                        /* Clear all bits in BlitterTemporaryBitplane for the bitmap size (only a part of BlitterTemporaryBitplane is used as it is actually sized to store a 320x200 bitplane) */
                        custom.bltcon0 = DEST;
                        custom.bltcon1 = 0;
                        custom.bltafwm = 0xFFFF;
                        custom.bltalwm = 0xFFFF;
#if ((EXETYPE == C03_GAME) || (EXETYPE == C06_CEDT) || (EXETYPE == C07_HINT))
                        custom.bltdpt = (APTR)G3191_ps_MsgPort_FTL_DRIA_Video->_ps_0x138_BlitterTemporaryBitplane;
#endif
#if ((EXETYPE == C13_GRF1) || (EXETYPE == C18_VDEO))
                        custom.bltdpt = (APTR)G3249_pui_BlitterTemporaryBitplane;
#endif
                        custom.bltdmod = 0;
                        custom.bltsize = M092_BLITSIZE(L1619_ui_BlitSizeWidthWordCount, L1608_i_BlitSizeHeight);
                }
                WaitBlit();
                custom.bltcon0 = SRCB | DEST | A_OR_B;
                custom.bltcon1 = 0;
                custom.bltafwm = 0xFFFF;
                custom.bltalwm = L1621_i_BlitSizeLastWordMask;
                custom.bltadat = 0xFFFF;
                custom.bltamod = 0;
#if ((EXETYPE == C03_GAME) || (EXETYPE == C06_CEDT) || (EXETYPE == C07_HINT))
                custom.bltbpt = (APTR)G3191_ps_MsgPort_FTL_DRIA_Video->_ps_0x138_BlitterTemporaryBitplane;
#endif
#if ((EXETYPE == C13_GRF1) || (EXETYPE == C18_VDEO))
                custom.bltbpt = (APTR)G3249_pui_BlitterTemporaryBitplane;
#endif
                custom.bltbmod = L1603_i_Modulo;
#if ((EXETYPE == C03_GAME) || (EXETYPE == C06_CEDT) || (EXETYPE == C07_HINT))
                custom.bltdpt = (APTR)G3191_ps_MsgPort_FTL_DRIA_Video->_ps_0x138_BlitterTemporaryBitplane;
#endif
#if ((EXETYPE == C13_GRF1) || (EXETYPE == C18_VDEO))
                custom.bltdpt = (APTR)G3249_pui_BlitterTemporaryBitplane;
#endif
                custom.bltdmod = L1603_i_Modulo;
                custom.bltsize = M092_BLITSIZE(16 / 16, L1608_i_BlitSizeHeight);
                WaitBlit();
                custom.bltcon0 = SRCB | DEST | A_OR_B;
                custom.bltcon1 = 0;
                custom.bltafwm = L1622_i_BlitSizeFirstWordMask;
                custom.bltalwm = 0xFFFF;
                custom.bltadat = 0xFFFF;
                custom.bltamod = 0;
                custom.bltbpt = (APTR)L1606_pui_;
                custom.bltbmod = L1602_i_Modulo;
                custom.bltdpt = (APTR)L1606_pui_;
                custom.bltdmod = L1602_i_Modulo;
                custom.bltsize = M092_BLITSIZE(L1620_i_, L1608_i_BlitSizeHeight);
                WaitBlit();
                custom.bltcon0 = L1614_i_ShiftValue | (int16_t)(SRCA | SRCB | SRCC | DEST | ABC | ANBC | NABC | ANBNC);
                custom.bltcon1 = L2196_i_;
                custom.bltafwm = L1612_i_BlitterFirstWordMask;
                custom.bltalwm = L1613_i_BlitterLastWordMask;
                custom.bltapt = (APTR)L1592_pui_SourceBlitBitPlane0;
                custom.bltamod = L1596_i_SourceBlitModulo;
                custom.bltbpt = (APTR)L2197_pui_;
                custom.bltbmod = 0;
                custom.bltcpt = (APTR)L1597_pui_DestinationBlitBitPlane0;
                custom.bltcmod = L1601_i_DestinationBlitModulo;
                custom.bltdpt = (APTR)L1597_pui_DestinationBlitBitPlane0;
                custom.bltdmod = L1601_i_DestinationBlitModulo;
                custom.bltsize = M092_BLITSIZE(L1619_ui_BlitSizeWidthWordCount, L1608_i_BlitSizeHeight);
                WaitBlit();
                custom.bltcon0 = L1614_i_ShiftValue | (int16_t)(SRCA | SRCB | SRCC | DEST | ABC | ANBC | NABC | ANBNC);
                custom.bltcon1 = L2196_i_;
                custom.bltafwm = L1612_i_BlitterFirstWordMask;
                custom.bltalwm = L1613_i_BlitterLastWordMask;
                custom.bltapt = (APTR)L1593_pui_SourceBlitBitPlane1;
                custom.bltamod = L1596_i_SourceBlitModulo;
                custom.bltbpt = (APTR)L2197_pui_;
                custom.bltbmod = 0;
                custom.bltcpt = (APTR)L1598_pui_DestinationBlitBitPlane1;
                custom.bltcmod = L1601_i_DestinationBlitModulo;
                custom.bltdpt = (APTR)L1598_pui_DestinationBlitBitPlane1;
                custom.bltdmod = L1601_i_DestinationBlitModulo;
                custom.bltsize = M092_BLITSIZE(L1619_ui_BlitSizeWidthWordCount, L1608_i_BlitSizeHeight);
                WaitBlit();
                custom.bltcon0 = L1614_i_ShiftValue | (int16_t)(SRCA | SRCB | SRCC | DEST | ABC | ANBC | NABC | ANBNC);
                custom.bltcon1 = L2196_i_;
                custom.bltafwm = L1612_i_BlitterFirstWordMask;
                custom.bltalwm = L1613_i_BlitterLastWordMask;
                custom.bltapt = (APTR)L1594_pui_SourceBlitBitPlane2;
                custom.bltamod = L1596_i_SourceBlitModulo;
                custom.bltbpt = (APTR)L2197_pui_;
                custom.bltbmod = 0;
                custom.bltcpt = (APTR)L1599_pui_DestinationBlitBitPlane2;
                custom.bltcmod = L1601_i_DestinationBlitModulo;
                custom.bltdpt = (APTR)L1599_pui_DestinationBlitBitPlane2;
                custom.bltdmod = L1601_i_DestinationBlitModulo;
                custom.bltsize = M092_BLITSIZE(L1619_ui_BlitSizeWidthWordCount, L1608_i_BlitSizeHeight);
                WaitBlit();
                custom.bltcon0 = L1614_i_ShiftValue | (int16_t)(SRCA | SRCB | SRCC | DEST | ABC | ANBC | NABC | ANBNC);
                custom.bltcon1 = L2196_i_;
                custom.bltafwm = L1612_i_BlitterFirstWordMask;
                custom.bltalwm = L1613_i_BlitterLastWordMask;
                custom.bltapt = (APTR)L1595_pui_SourceBlitBitPlane3;
                custom.bltamod = L1596_i_SourceBlitModulo;
                custom.bltbpt = (APTR)L2197_pui_;
                custom.bltbmod = 0;
                custom.bltcpt = (APTR)L1600_pui_DestinationBlitBitPlane3;
                custom.bltcmod = L1601_i_DestinationBlitModulo;
                custom.bltdpt = (APTR)L1600_pui_DestinationBlitBitPlane3;
                custom.bltdmod = L1601_i_DestinationBlitModulo;
                custom.bltsize = M092_BLITSIZE(L1619_ui_BlitSizeWidthWordCount, L1608_i_BlitSizeHeight);
        } else {
                WaitBlit();
                custom.bltcon0 = L1614_i_ShiftValue | (int16_t)(SRCA | DEST | A_TO_D);
                custom.bltcon1 = 0;
                custom.bltafwm = L1612_i_BlitterFirstWordMask;
                custom.bltalwm = L1613_i_BlitterLastWordMask;
                custom.bltapt = (APTR)L1592_pui_SourceBlitBitPlane0;
                custom.bltamod = L1596_i_SourceBlitModulo;
                custom.bltdpt = (APTR)L1597_pui_DestinationBlitBitPlane0;
                custom.bltdmod = L1601_i_DestinationBlitModulo;
                custom.bltsize = M092_BLITSIZE(L1619_ui_BlitSizeWidthWordCount, L1608_i_BlitSizeHeight);
                WaitBlit();
                custom.bltcon0 = L1614_i_ShiftValue | (int16_t)(SRCA | DEST | A_TO_D);
                custom.bltcon1 = 0;
                custom.bltafwm = L1612_i_BlitterFirstWordMask;
                custom.bltalwm = L1613_i_BlitterLastWordMask;
                custom.bltapt = (APTR)L1593_pui_SourceBlitBitPlane1;
                custom.bltamod = L1596_i_SourceBlitModulo;
                custom.bltdpt = (APTR)L1598_pui_DestinationBlitBitPlane1;
                custom.bltdmod = L1601_i_DestinationBlitModulo;
                custom.bltsize = M092_BLITSIZE(L1619_ui_BlitSizeWidthWordCount, L1608_i_BlitSizeHeight);
                WaitBlit();
                custom.bltcon0 = L1614_i_ShiftValue | (int16_t)(SRCA | DEST | A_TO_D);
                custom.bltcon1 = 0;
                custom.bltafwm = L1612_i_BlitterFirstWordMask;
                custom.bltalwm = L1613_i_BlitterLastWordMask;
                custom.bltapt = (APTR)L1594_pui_SourceBlitBitPlane2;
                custom.bltamod = L1596_i_SourceBlitModulo;
                custom.bltdpt = (APTR)L1599_pui_DestinationBlitBitPlane2;
                custom.bltdmod = L1601_i_DestinationBlitModulo;
                custom.bltsize = M092_BLITSIZE(L1619_ui_BlitSizeWidthWordCount, L1608_i_BlitSizeHeight);
                WaitBlit();
                custom.bltcon0 = L1614_i_ShiftValue | (int16_t)(SRCA | DEST | A_TO_D);
                custom.bltcon1 = 0;
                custom.bltafwm = L1612_i_BlitterFirstWordMask;
                custom.bltalwm = L1613_i_BlitterLastWordMask;
                custom.bltapt = (APTR)L1595_pui_SourceBlitBitPlane3;
                custom.bltamod = L1596_i_SourceBlitModulo;
                custom.bltdpt = (APTR)L1600_pui_DestinationBlitBitPlane3;
                custom.bltdmod = L1601_i_DestinationBlitModulo;
                custom.bltsize = M092_BLITSIZE(L1619_ui_BlitSizeWidthWordCount, L1608_i_BlitSizeHeight);
        }
        DisownBlitter();
        WaitBlit();
}
#endif
