gd5429->pci_regs[0x33] = 0x00;
}
- gd5429->svga.fb_only = 0;
+ gd5429->svga.fb_only = -1;
+ gd5429->svga.fb_auto = 1;
return gd5429;
}
double _dispontime, _dispofftime, disptime;
int text = 0;
+ if (svga->fb_auto == 1) {
+ svga->fb_only = -1;
+ }
+
svga->vtotal = svga->crtc[6];
svga->dispend = svga->crtc[0x12];
svga->vsyncstart = svga->crtc[0x10];
}
svga->hdisp_old = svga->hdisp;
text = 1;
+ if (svga->fb_auto) {
+ svga->fb_only = 0;
+ }
}
else
{
svga->render = svga_render_4bpp_lowres;
else
svga->render = svga_render_4bpp_highres;
+ if (svga->fb_auto) {
+ svga->fb_only = 0;
+ }
break;
case 0x20: /*4 colours*/
if (svga->seqregs[1] & 8) /*Low res (320)*/
svga->render = svga_render_2bpp_lowres;
else
svga->render = svga_render_2bpp_highres;
+ if (svga->fb_auto) {
+ svga->fb_only = 0;
+ }
break;
case 0x40: case 0x60: /*256+ colours*/
switch (svga->bpp)