mirror of
https://github.com/0xAX/linux-insides.git
synced 2025-01-03 12:20:56 +00:00
Merge pull request #542 from 0xF0D0/master
Typo fix about video segment variable
This commit is contained in:
commit
18c62ab13c
@ -139,7 +139,7 @@ After this, the `store_mode_params` checks the current video mode and sets the `
|
||||
0xB800:0x0000 32 Kb Color Text Video Memory
|
||||
```
|
||||
|
||||
So we set the `video_segment` variable to `0xb000` if the current video mode is MDA, HGC, or VGA in monochrome mode and to `0bB800` if the current video mode is in color mode. After setting up the address of the video segment, font size needs to be stored in `boot_params.screen_info.orig_video_points` with:
|
||||
So we set the `video_segment` variable to `0xb000` if the current video mode is MDA, HGC, or VGA in monochrome mode and to `0xb800` if the current video mode is in color mode. After setting up the address of the video segment, font size needs to be stored in `boot_params.screen_info.orig_video_points` with:
|
||||
|
||||
```C
|
||||
set_fs(0);
|
||||
|
@ -110,3 +110,4 @@ Thank you to all contributors:
|
||||
* [JB Cayrou](https://github.com/jbcayrou)
|
||||
* [Cornelius Diekmann](https://github.com/diekmann)
|
||||
* [Andrés Rojas](https://github.com/c0r3dump3d)
|
||||
* [Beomsu Kim](https://github.com/0xF0D0)
|
||||
|
Loading…
Reference in New Issue
Block a user