Changeset 40960 in vbox
- Timestamp:
- Apr 17, 2012 1:54:33 PM (13 years ago)
- Location:
- trunk/src/VBox/Devices/PC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS-new/bios.c
r39366 r40960 137 137 } 138 138 139 /* Set video mode. */ 140 void set_mode(uint8_t mode); 141 #pragma aux set_mode = \ 142 "mov ah, 0" \ 143 "int 10h" \ 144 parm [al] modify [ax]; 145 139 146 //@todo: restore 140 147 //#undef VBOX … … 154 161 write_word(0x0040,0x0072, 0); 155 162 if (warm_boot == 0x1234) 163 { 164 /* Only set text mode. */ 165 set_mode(3); 156 166 return; 167 } 157 168 /* show graphical logo */ 158 169 show_logo(); -
trunk/src/VBox/Devices/PC/BIOS/rombios.c
r40754 r40960 2019 2019 Bit16u warm_boot = read_word(0x0040,0x0072); 2020 2020 write_word(0x0040,0x0072, 0); 2021 if (warm_boot == 0x1234) 2021 if (warm_boot == 0x1234) { 2022 /* set text mode */ 2023 set_mode(3); 2022 2024 return; 2023 /* show graphical logo */ 2024 show_logo(); 2025 } else 2026 /* show graphical logo */ 2027 show_logo(); 2025 2028 #else /* !VBOX */ 2026 2029 printf(BX_APPNAME" BIOS - build: %s\n%s\nOptions: ",
Note:
See TracChangeset
for help on using the changeset viewer.