agten_write_idx
agten_write_idx(sc, IBM561_CURSOR_BITMAP);
agten_write_idx(sc, IBM561_CMAP_TABLE + idx);
agten_write_idx(sc, IBM561_CMAP_TABLE + 256);
agten_write_idx(sc, IBM561_RED_GAMMA_TABLE);
agten_write_idx(sc, IBM561_GREEN_GAMMA_TABLE);
agten_write_idx(sc, IBM561_BLUE_GAMMA_TABLE);
agten_write_idx(sc, IBM561_CONFIG_REG3);
agten_write_idx(sc, IBM561_CONFIG_REG1);
agten_write_idx(sc, IBM561_CONFIG_REG2);
agten_write_idx(sc, IBM561_FB_WINTYPE);
agten_write_idx(sc, IBM561_AUXFB_WINTYPE);
agten_write_idx(sc, IBM561_OL_WINTYPE);
agten_write_idx(sc, IBM561_OL_WINTYPE);
agten_write_idx(sc, IBM561_CONFIG_REG2);
agten_write_idx(sc, IBM561_CURSOR_X_REG);
agten_write_idx(sc, IBM561_CURS_CNTL_REG);
agten_write_idx(sc, IBM561_HOTSPOT_X_REG);
agten_write_idx(sc, IBM561_CURSOR_LUT + cur->cmap.index + 2);
agten_write_idx(sc, IBM561_CURSOR_BITMAP);
agten_write_idx(sc, IBM561_CURS_CNTL_REG);
agten_write_idx(sc, IBM561_HOTSPOT_X_REG);
agten_write_idx(sc, IBM561_CURSOR_LUT + cur->cmap.index + 2);