Beispiel #1
0
void
igsReset (IgsVga *igsvga)
{
    VgaRestore (&igsvga->card);
    igsSetImm (igsvga, igs_frqlat, 0);
    igsSetImm (igsvga, igs_frqlat, 1);
    igsSetImm (igsvga, igs_frqlat, 0);    
    VgaFinish (&igsvga->card);
}
Beispiel #2
0
void
s3Reset (S3Vga *s3vga)
{
    VgaRestore (&s3vga->card);
    s3SetImm (s3vga, s3_clock_load_imm, 1);
    s3SetImm (s3vga, s3_clock_load_imm, 0);
    s3SetImm (s3vga, s3_dot_clock_8, s3vga->save_dot_clock_8);
    s3SetImm (s3vga, s3_lock_vert, s3vga->save_lock_vert);
    s3SetImm (s3vga, s3_lock_horz, s3vga->save_lock_horz);
    s3SetImm (s3vga, s3_lock_dac_writes, s3vga->save_lock_dac_writes);
    s3SetImm (s3vga, s3_unlock_extended_sequencer, s3vga->save_unlock_extended_sequencer);
    s3SetImm (s3vga, s3_register_lock_2, s3vga->save_register_lock_2);
    s3SetImm (s3vga, s3_register_lock_1, s3vga->save_register_lock_1);
    s3SetImm (s3vga, s3_lock_crtc, s3vga->save_lock_crtc);
    VgaFinish (&s3vga->card);
}