Function report | 
Source Code:arch\x86\boot\video-bios.c | 
Create Date:2022-07-28 07:27:44 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:bios_probe
Proto:static int bios_probe(void)
Type:int
Parameter:Nothing
| 67 | saved_mode = 0x06 | 
| 71 | nmodes = 0 | 
| 73 | If 0=CGA/MDA/HGC, 1=EGA, 2=VGA+ != ADAPTER_EGA && 0=CGA/MDA/HGC, 1=EGA, 2=VGA+ != ADAPTER_VGA Then Return 0 | 
| 76 | set_fs(0) | 
| 85 | If Test if a mode is defined Then Continue | 
| 88 | If Set a conventional BIOS mode Then Continue | 
| 94 | If Accessing VGA indexed registers & 0x01 Then Continue | 
| 98 | If Accessing VGA indexed registers & 0x01 Then Continue | 
| 102 | If Accessing VGA indexed registers Then Continue | 
| 107 | Bits per pixel, 0 for text mode = 0 | 
| 109 | Width, height = rdfs8(0x484) + 1 | 
| 110 | nmodes++ | 
| 115 | Return nmodes | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |