X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fvga_regs.h;h=fd4a0686e179ea5841cfe967668887740a836fe0;hb=a5d2c00cc461b4a60a1360a2a0bba55cef467bab;hp=08b65f29ca1721b584f11526efa1ef4ff5fa56af;hpb=56b88e037fb1b9e313e642682a08267b866e70bb;p=palacios.git diff --git a/palacios/src/devices/vga_regs.h b/palacios/src/devices/vga_regs.h index 08b65f2..fd4a068 100644 --- a/palacios/src/devices/vga_regs.h +++ b/palacios/src/devices/vga_regs.h @@ -199,6 +199,7 @@ struct vga_mem_mode_reg { uint8_t extended_memory:1; // 1=>256K RAM, 0=>64K uint8_t odd_even:1; // 0 => even addresses go to BOTH banks 0 and 2, odd 1 and 3 + // or flip between 0/1 for CGA compat // 1 => address bank sequentially, map mask selects bank uint8_t chain4:1; // 0 => map mask register used to select bank @@ -630,6 +631,8 @@ page 2-88). // 0 = read gets bits from selected map uint8_t odd_even:1; // 1 = odd/even addressing as in CGMA + // 0 = NOT odd/even + // notice that this is the OPPOSITE of the bit in the sequencer! uint8_t shift_reg_mode:1; // 1 = shift regs get odd bits from odd maps and even/even uint8_t c256:1; // 1 = 256 color mode