palette = new IndexColorModel(32, size, r, g, b);
palette = new IndexColorModel(8/*32*
	protected void savePalette(VgaIO io) {		final int size = getPaletteSize(io);		final byte[] r = new byte[size];		final byte[] g = new byte[size];		final byte[] b = new byte[size];		for (int i = size - 1; i >= 0; i--) {			getPaletteEntry(io, i, r, g, b);		}		//log.debug("Save-Size:" + size + ", R=" + NumberUtils.hex(r));		palette = new IndexColorModel(32/*6*/, size, r, g, b);	}