cursorMem.setShorts(cur, 0, 0, 1024);
io.setReg32(CUR_HORZ_VERT_OFF, vertOffset + (horzOffset << 16)); cursorMem.setBytes(cur, 0, 0, 1024);
    public void setCursorImage(HardwareCursor cursor) {                // Background color    	io.setReg32(CUR_CLR0, 0xffffff);    	// Foreground color    	io.setReg32(CUR_CLR1, 0);    	// Set shape		final short[] cur = getCursor(cursor);		if (cur != null) {			cursorMem.setShorts(cur, 0, 0, 1024);		}    }