public void handler(int offset, int data) {
            int bankaddress;
            UBytePtr RAM = memory_region(REGION_CPU1);

            bankaddress = 0x10000 + ((data & 0x01) * 0x4000);
            cpu_setbank(1, new UBytePtr(RAM, bankaddress));
        }