private void writeVariableLengthString(String str, int offset) {
		byte[] translated = translateString(str);
		System.arraycopy(translated, 0, rom, offset, translated.length);
		rom[offset + translated.length] = (byte) 0xFF;
	}