Lines Matching refs:vga_modes
875 outb(VGAREG_PEL_MASK,vga_modes[line].pelmask);
881 switch(vga_modes[line].dacmodel)
897 {if(i<=dac_regs[vga_modes[line].dacmodel])
940 crtc_addr=vga_modes[line].memmodel==MTEXT?VGAREG_MDA_CRTC_ADDRESS:VGAREG_VGA_CRTC_ADDRESS;
959 if(vga_modes[line].class==TEXT)
961 memsetw(vga_modes[line].sstart,0,0x0720,0x4000); // 32k
967 memsetw(vga_modes[line].sstart,0,0x0000,0x4000); // 32k
974 memsetw(vga_modes[line].sstart,0,0x0000,0x8000); // 64k
1001 if(vga_modes[line].class==TEXT)
1014 if(vga_modes[line].class==TEXT)
1155 if(vga_modes[line].class==TEXT)
1290 if(vga_modes[line].class==TEXT)
1300 memsetw(vga_modes[line].sstart,address,(Bit16u)attr*0x100+' ',nbrows*nbcols);
1308 memsetw(vga_modes[line].sstart,address+(i*nbcols+cul)*2,(Bit16u)attr*0x100+' ',cols);
1310 memcpyw(vga_modes[line].sstart,address+(i*nbcols+cul)*2,vga_modes[line].sstart,((i+nblines)*nbcols+cul)*2,cols);
1317 memsetw(vga_modes[line].sstart,address+(i*nbcols+cul)*2,(Bit16u)attr*0x100+' ',cols);
1319 memcpyw(vga_modes[line].sstart,address+(i*nbcols+cul)*2,vga_modes[line].sstart,((i-nblines)*nbcols+cul)*2,cols);
1329 switch(vga_modes[line].memmodel)
1336 memsetb(vga_modes[line].sstart,0,attr,nbrows*nbcols*cheight);
1363 bpp=vga_modes[line].pixbits;
1366 memsetb(vga_modes[line].sstart,0,attr,nbrows*nbcols*cheight*bpp);
1428 if(vga_modes[line].class==TEXT)
1433 write_word(ss,car,read_word(vga_modes[line].sstart,address));
1629 if(vga_modes[line].class==TEXT)
1635 memsetw(vga_modes[line].sstart,address,dummy,count);
1641 bpp=vga_modes[line].pixbits;
1644 switch(vga_modes[line].memmodel)
1687 if(vga_modes[line].class==TEXT)
1693 {write_byte(vga_modes[line].sstart,address,car);
1701 bpp=vga_modes[line].pixbits;
1704 switch(vga_modes[line].memmodel)
1817 if(vga_modes[line].class==TEXT)return;
1819 switch(vga_modes[line].memmodel)
1844 if(vga_modes[line].pixbits==2)
1854 if(vga_modes[line].pixbits==2)
1897 if(vga_modes[line].class==TEXT)return;
1899 switch(vga_modes[line].memmodel)
1917 if(vga_modes[line].pixbits==2)
1994 if(vga_modes[line].class==TEXT)
2000 write_byte(vga_modes[line].sstart,address,car);
2003 write_byte(vga_modes[line].sstart,address+1,attr);
2009 bpp=vga_modes[line].pixbits;
2010 switch(vga_modes[line].memmodel)
2040 if(vga_modes[line].class==TEXT)
2043 attr=read_byte(vga_modes[line].sstart,address+1);
3393 if(vga_modes[i].svgamode==mode)