int address = this.localtset_address + ((glty / 8) * (this.width + 1)) + gltx; if(((glty / 4) % 2) ==1) address += 0x3000;
int address = EbMap.localtset_address + ((glty / 8) * (this.width + 1)) + gltx; if (((glty / 4) % 2) == 1) address += 0x3000;
        public int getLocalTileset(int gltx, int glty)        {            int address = this.localtset_address + ((glty / 8) * (this.width + 1)) + gltx;            if(((glty / 4) % 2) ==1) address += 0x3000;//            System.out.println("address: " + Integer.toHexString(address)//                + " glty: " + glty + " glty/4*256 " + ((glty / 4) * 256)//                + " gltx: " + gltx);            int local_tset = (rom.read(address) >> ((glty % 4) * 2)) & 3;            return local_tset;            //return 3;        }