public int handler(int offset) {
            if (ldrun2_bankswap != 0) {
                UBytePtr RAM = memory_region(REGION_CPU1);

                ldrun2_bankswap--;

                /* swap to bank #1 on second read */
                if (ldrun2_bankswap == 0) {
                    cpu_setbank(1, new UBytePtr(RAM, 0x12000));
                }
            }
            return 0;
        }