mirror of
https://github.com/0xAX/linux-insides.git
synced 2024-12-22 22:58:08 +00:00
typo fixed (0bB800 -> 0xb800)
Signed-off-by: 0xF0D0 <goodbumsu@gmail.com>
This commit is contained in:
parent
b2e3637faa
commit
06bc4a8f6a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user