diff options
Diffstat (limited to 'video')
| -rw-r--r-- | video/vesa.c | 8 | ||||
| -rw-r--r-- | video/vesa.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/video/vesa.c b/video/vesa.c index 416a893..8952f81 100644 --- a/video/vesa.c +++ b/video/vesa.c @@ -97,7 +97,7 @@ uint32_t vesa_init(vbeinfo *info,vbemodeinfo *mode,foolfont *rawfont) mode->Xres, mode->Yres, mode->banks, mode->attributes); log(FOOLOS_MODULE_NAME,FOOLOS_LOG_INFO,"bpp: %d / physbase: 0x%x", mode->bpp,mode->physbase); -/* + // vesa modes // todo: take segment from vbeinfo! #ifdef FOOLSOS_SHOW_VESAMODES @@ -105,12 +105,11 @@ uint32_t 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); + log(FOOLOS_MODULE_NAME,FOOLOS_LOG_INFO,"mode supported : 0x%X", (*modeptr)); modeptr++; } #endif -*/ + return VbeModeInfoBlock->physbase; @@ -127,6 +126,7 @@ void PutPixel(int x,int y, int color){ cTemp[x+y] = (uint8_t)(color & 0xff); cTemp[x+y+1] = (uint8_t)((color>>8) & 0xff); //cTemp[x+y+2] = (uint8_t)((color>>16) & 0xff); + } diff --git a/video/vesa.h b/video/vesa.h index 1f6c12e..371e944 100644 --- a/video/vesa.h +++ b/video/vesa.h @@ -1,4 +1,4 @@ -#include "lib/int/stdint.h" +#include <stdint.h> typedef struct foolfont_struct { |
