Rom rom = hm.rom;
AbstractRom rom = hm.rom;
        public void writeInfo()        {            Rom rom = hm.rom;                        rom.seek(this.address);            if (this.type == 7)            	rom.writePalette(address, color);            else if (type == 3)            {                rom.seek(this.address + 1);            	rom.writeSeek(data % 65536, 2);            	rom.seek(this.address + 6);            	rom.writeSeek(data / 65536, 2);            }           	else           		rom.writeSeek(data, len);        }