/* Some parts are based on David Boucher's viafb ( */
void svga_wcrt_multi(const struct vga_regset *regset, u32 value)
/* Some parts are based on David Boucher's viafb ( */
void svga_wcrt_multi(const struct vga_regset *regset, u32 value)
{
		regval = vga_rcrt(NULL, regset->regnum);
		bitnum = regset->lowbit;
		while (bitnum <= regset->highbit) {
			bitval = 1 << bitnum;
			regval = regval & ~bitval;
			if (value & 1) regval = regval | bitval;
			bitnum ++;
			value = value >> 1;
		}
		vga_wcrt(NULL, regset->regnum, regval);
		regset ++;
	}
}