1
0
mirror of https://github.com/0xAX/linux-insides.git synced 2024-12-22 14:48:08 +00:00

typo fixed (0bB800 -> 0xb800)

Signed-off-by: 0xF0D0 <goodbumsu@gmail.com>
This commit is contained in:
0xF0D0 2017-11-10 19:17:52 +09:00
parent b2e3637faa
commit 06bc4a8f6a

View File

@ -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);