VESA VESA VESA.... plz help
Posted: Fri Aug 05, 2005 12:47 pm
Hello every one!
I have created an os and it's running some basic commands also....
But my main problem is that I am not at all able to program vesa....
I use turbo C++ 3.0 for developement... I am using real mode and not even able to get the mode info or even switch the screen resolution
I use
asm mov ax, 0x4f02;
asm mov bx, 0x101;
asm int 0x10;
still it displays no results.... I am using bochs 2.2 for testing... and when I open the log file i can't even find out any interrupt issued... I have also tried above on real pc but still no results please help... here is my output file log:
00000000000i[ ] reset of 'speaker' plugin device by virtual method
00000004447i[BIOS ] rombios.c,v 1.138.2.1 2005/07/06 19:30:36 vruppert Exp $
00000318308i[KBD ] reset-disable command received
00000600000i[WGUI ] dimension update x=720 y=400 fontheight=16 fontwidth=9 bpp=8
00004366873e[HD ] device set to 0 which does not exist
00004367166e[HD ] device set to 1 which does not exist
00055125000p[WGUI ] >>PANIC<< POWER button turned off.
00055125000i[SYS ] Last time is 1123267027
00055125000i[CPU0 ] real mode
00055125000i[CPU0 ] CS.d_b = 16 bit
00055125000i[CPU0 ] SS.d_b = 16 bit
00055125000i[CPU0 ] | EAX=0fff0020 EBX=00000a9d ECX=00000a9d EDX=0000072c
00055125000i[CPU0 ] | ESP=00000cf0 EBP=00000cf4 ESI=00007ded EDI=0000ffde
00055125000i[CPU0 ] | IOPL=0 NV UP EI PL NZ NA PE NC
00055125000i[CPU0 ] | SEG selector base limit G D
00055125000i[CPU0 ] | SEG sltr(index|ti|rpl) base limit G D
00055125000i[CPU0 ] | CS:8000( 0000| 0| 0) 00080000 0000ffff 0 0
00055125000i[CPU0 ] | DS:8000( 0000| 0| 0) 00080000 0000ffff 0 0
00055125000i[CPU0 ] | SS:8000( 0000| 0| 0) 00080000 0000ffff 0 0
00055125000i[CPU0 ] | ES:b800( 0000| 0| 0) 000b8000 0000ffff 0 0
00055125000i[CPU0 ] | FS:0000( 0000| 0| 0) 00000000 0000ffff 0 0
00055125000i[CPU0 ] | GS:0000( 0000| 0| 0) 00000000 0000ffff 0 0
00055125000i[CPU0 ] | EIP=000001a0 (000001a0)
00055125000i[CPU0 ] | CR0=0x00000010 CR1=0 CR2=0x00000000
00055125000i[CPU0 ] | CR3=0x00000000 CR4=0x00000000
00055125000i[ ] restoring default signal behavior
00055125000i[CTRL ] quit_sim called with exit code 1
I have created an os and it's running some basic commands also....
But my main problem is that I am not at all able to program vesa....
I use turbo C++ 3.0 for developement... I am using real mode and not even able to get the mode info or even switch the screen resolution
I use
asm mov ax, 0x4f02;
asm mov bx, 0x101;
asm int 0x10;
still it displays no results.... I am using bochs 2.2 for testing... and when I open the log file i can't even find out any interrupt issued... I have also tried above on real pc but still no results please help... here is my output file log:
00000000000i[ ] reset of 'speaker' plugin device by virtual method
00000004447i[BIOS ] rombios.c,v 1.138.2.1 2005/07/06 19:30:36 vruppert Exp $
00000318308i[KBD ] reset-disable command received
00000600000i[WGUI ] dimension update x=720 y=400 fontheight=16 fontwidth=9 bpp=8
00004366873e[HD ] device set to 0 which does not exist
00004367166e[HD ] device set to 1 which does not exist
00055125000p[WGUI ] >>PANIC<< POWER button turned off.
00055125000i[SYS ] Last time is 1123267027
00055125000i[CPU0 ] real mode
00055125000i[CPU0 ] CS.d_b = 16 bit
00055125000i[CPU0 ] SS.d_b = 16 bit
00055125000i[CPU0 ] | EAX=0fff0020 EBX=00000a9d ECX=00000a9d EDX=0000072c
00055125000i[CPU0 ] | ESP=00000cf0 EBP=00000cf4 ESI=00007ded EDI=0000ffde
00055125000i[CPU0 ] | IOPL=0 NV UP EI PL NZ NA PE NC
00055125000i[CPU0 ] | SEG selector base limit G D
00055125000i[CPU0 ] | SEG sltr(index|ti|rpl) base limit G D
00055125000i[CPU0 ] | CS:8000( 0000| 0| 0) 00080000 0000ffff 0 0
00055125000i[CPU0 ] | DS:8000( 0000| 0| 0) 00080000 0000ffff 0 0
00055125000i[CPU0 ] | SS:8000( 0000| 0| 0) 00080000 0000ffff 0 0
00055125000i[CPU0 ] | ES:b800( 0000| 0| 0) 000b8000 0000ffff 0 0
00055125000i[CPU0 ] | FS:0000( 0000| 0| 0) 00000000 0000ffff 0 0
00055125000i[CPU0 ] | GS:0000( 0000| 0| 0) 00000000 0000ffff 0 0
00055125000i[CPU0 ] | EIP=000001a0 (000001a0)
00055125000i[CPU0 ] | CR0=0x00000010 CR1=0 CR2=0x00000000
00055125000i[CPU0 ] | CR3=0x00000000 CR4=0x00000000
00055125000i[ ] restoring default signal behavior
00055125000i[CTRL ] quit_sim called with exit code 1