Function report |
Source Code:arch\x86\boot\video.c |
Create Date:2022-07-28 07:27:19 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:display_menu
Proto:static void display_menu(void)
Type:void
Parameter:Nothing
| 147 | nmodes = 0 |
| 148 | When card < video_cards_end cycle nmodes += Number of probed modes so far |
| 151 | modes_per_line = 1 |
| 152 | If nmodes >= 20 Then modes_per_line = 3 |
| 155 | When col < modes_per_line cycle puts("Mode: Resolution: Type: ") |
| 157 | putchar('\n') |
| 159 | col = 0 |
| 160 | ch = '0' |
| 161 | When card < video_cards_end cycle |
| 163 | When i < Number of probed modes so far cycle |
| 165 | visible = x && Width, height |
| 166 | mode_id = If Mode number (vga= style) Then Mode number (vga= style) Else (Width, height << 8) + x |
| 169 | If Not visible Then Continue |
| 172 | If Bits per pixel, 0 for text mode Then sprintf(resbuf, "%dx%d", Width, height , Bits per pixel, 0 for text mode ) |
| 174 | Else sprintf(resbuf, "%d", Width, height ) |
| 179 | col++ |
| 180 | If col >= modes_per_line Then |
| 189 | Else ch++ |
| Name | Describe |
|---|---|
| mode_menu |
| 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 |