diff options
author | Javier <dev.git@javispedro.com> | 2022-04-08 02:17:46 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2022-04-08 02:17:46 +0200 |
commit | 98a343355c3459b892792585788069bac3bc40e7 (patch) | |
tree | 1ff4674815775c323822e03c3c0f05c49204a549 /int10vga.h | |
parent | db308ca65b8f0ddb61969e7e4b4fb2145d8a27c2 (diff) | |
download | vbados-98a343355c3459b892792585788069bac3bc40e7.tar.gz vbados-98a343355c3459b892792585788069bac3bc40e7.zip |
try to detect video mode changes
Diffstat (limited to 'int10vga.h')
-rw-r--r-- | int10vga.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -28,6 +28,7 @@ static inline uint8_t bda_get_byte(unsigned int offset) { #define bda_get_video_page_size() bda_get_word(0x4c) #define bda_get_cur_video_page() bda_get_word(0x62) #define bda_get_last_row() bda_get_byte(0x84) +#define bda_get_char_height() bda_get_word(0x85) #define bda_get_tick_count() bda_get_dword(0x6c) #define bda_get_tick_count_lo() bda_get_word(0x6c) |