vga_6845_read
cpos = vga_6845_read(&vc->hdl, cursorh) << 8;
cpos |= vga_6845_read(&vc->hdl, cursorl);
scr->pcs.dispoffset = vga_6845_read(&vc->hdl, startadrh) << 9;
scr->pcs.dispoffset |= vga_6845_read(&vc->hdl, startadrl) << 1;
val = vga_6845_read(&vc->hdl, mode);
val = vga_6845_read(&vc->hdl, mode);
vga_6845_write(vh, vsynce, vga_6845_read(vh, vsynce) & ~0x80);
cpos = vga_6845_read(vh, cursorh) << 8;
cpos |= vga_6845_read(vh, cursorl);
scr->dispoffset = vga_6845_read(vh, startadrh) << 9;
scr->dispoffset |= vga_6845_read(vh, startadrl) << 1;
val = vga_6845_read(&vc->hdl, mode);
val = vga_6845_read(&vc->hdl, mode);
vga_6845_write(vh, vsynce, vga_6845_read(vh, vsynce) & ~0x80);
cpos = vga_6845_read(&vc->hdl, cursorh) << 8;
cpos |= vga_6845_read(&vc->hdl, cursorl);
scr->pcs.dispoffset = vga_6845_read(&vc->hdl, startadrh) << 9;
scr->pcs.dispoffset |= vga_6845_read(&vc->hdl, startadrl) << 1;