diff options
Diffstat (limited to 'kernel/vesa.c')
| -rw-r--r-- | kernel/vesa.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/vesa.c b/kernel/vesa.c index 048dbf1..b7b4615 100644 --- a/kernel/vesa.c +++ b/kernel/vesa.c @@ -57,7 +57,7 @@ static console_y; static console_lines; static console_cols; -void vesa_init(vbeinfo *info,vbemodeinfo *mode,foolfont *rawfont) +uint32_t vesa_init(vbeinfo *info,vbemodeinfo *mode,foolfont *rawfont) { //the only functionallu important init lines! (rest is log) VbeModeInfoBlock=mode; @@ -90,10 +90,13 @@ void vesa_init(vbeinfo *info,vbemodeinfo *mode,foolfont *rawfont) while(*modeptr!=0xffff&&*modeptr!=0) { log(FOOLOS_MODULE_NAME,FOOLOS_LOG_DEBUG,"mode supported : 0x%x", (*modeptr)); + scr_put_hex(*modeptr); modeptr++; } #endif + return VbeModeInfoBlock->physbase; + } void PutPixel(int x,int y, int color){ |
