Skip to content

Commit 3bc2f1f

Browse files
It turns out the synchronous reset of the sequencer is not needed, in fact on an IBM PS/2 model 30, it only causes glitching and interruption of the video signal
1 parent 159df90 commit 3bc2f1f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

hw/vga/fontedit.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,12 @@ void vga_enter_fontplane(void) {
6363
}
6464

6565
void vga_leave_fontplane(void) {
66-
/* reset the sequencer */
67-
vga_write_sequencer(0,0x01); /* synchronous reset */
68-
vga_write_sequencer(0,0x03);
66+
/* NTS: Do not do a synchronous reset of the sequencer on real IBM PS/2 hardware.
67+
* It actually does cause an interruption of video. It doesn't matter that
68+
* clone VGA hardware ignores it. */
6969

7070
/* restore */
7171
vga_write_sequencer(4,fp_seq4);
72-
vga_write_sequencer(0,0x01);
73-
vga_write_sequencer(0,0x03);
7472
vga_write_sequencer(VGA_SC_MAP_MASK,fp_seqmask);
7573
vga_write_GC(4,0x00); /* select plane 0 */
7674
vga_write_GC(5,fp_ogc5);

0 commit comments

Comments
 (0)