[Closed] Setting VESA/VBE Mode

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
User avatar
DeezRamChips
Member
Member
Posts: 132
Joined: Fri Apr 08, 2016 5:03 am
Location: atapio.cpp - why won't you work :(
Contact:

Re: Setting VESA/VBE Mode

Post by DeezRamChips »

Open the iso and see if the kernel.bin file is in it
User avatar
Octacone
Member
Member
Posts: 1138
Joined: Fri Aug 07, 2015 6:13 am

Re: Setting VESA/VBE Mode

Post by Octacone »

DeezRamChips wrote:Open the iso and see if the kernel.bin file is in it
Sure it is.
OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader
User avatar
DeezRamChips
Member
Member
Posts: 132
Joined: Fri Apr 08, 2016 5:03 am
Location: atapio.cpp - why won't you work :(
Contact:

Re: Setting VESA/VBE Mode

Post by DeezRamChips »

are you using windows or on linux ?
User avatar
Octacone
Member
Member
Posts: 1138
Joined: Fri Aug 07, 2015 6:13 am

Re: Setting VESA/VBE Mode

Post by Octacone »

DeezRamChips wrote:are you using windows or on linux ?
I am using Linux and I just figured out that I forgot to put "/" in front of kernel.bin
Now this:
Attachments
QEMU_011.png
QEMU_011.png (5.65 KiB) Viewed 3110 times
OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader
User avatar
DeezRamChips
Member
Member
Posts: 132
Joined: Fri Apr 08, 2016 5:03 am
Location: atapio.cpp - why won't you work :(
Contact:

Re: Setting VESA/VBE Mode

Post by DeezRamChips »

can you give me the iso ?
(in attachement)
User avatar
Octacone
Member
Member
Posts: 1138
Joined: Fri Aug 07, 2015 6:13 am

Re: Setting VESA/VBE Mode

Post by Octacone »

DeezRamChips wrote:can you give me the iso ?
(in attachement)
Yes I can but listen, when I remove "boot" from my grub.cfg file I only get error:unknown filesystem without kernel error
OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader
User avatar
Octacone
Member
Member
Posts: 1138
Joined: Fri Aug 07, 2015 6:13 am

Re: Setting VESA/VBE Mode

Post by Octacone »

When I remove
set root='(hd96)'
And I leave:
multiboot /kernel.bin
boot
I don't get a single error and I can boot with qemu and the only thing I see is the black screen.
OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader
User avatar
DeezRamChips
Member
Member
Posts: 132
Joined: Fri Apr 08, 2016 5:03 am
Location: atapio.cpp - why won't you work :(
Contact:

Re: Setting VESA/VBE Mode

Post by DeezRamChips »

That's normal, you don't need the root() command, it's useless
User avatar
DeezRamChips
Member
Member
Posts: 132
Joined: Fri Apr 08, 2016 5:03 am
Location: atapio.cpp - why won't you work :(
Contact:

Re: Setting VESA/VBE Mode

Post by DeezRamChips »

it's only if you boot from a hdd
User avatar
Octacone
Member
Member
Posts: 1138
Joined: Fri Aug 07, 2015 6:13 am

Re: Setting VESA/VBE Mode

Post by Octacone »

DeezRamChips wrote:That's normal, you don't need the root() command, it's useless
How can a blank screen be normal?
OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader
User avatar
DeezRamChips
Member
Member
Posts: 132
Joined: Fri Apr 08, 2016 5:03 am
Location: atapio.cpp - why won't you work :(
Contact:

Re: Setting VESA/VBE Mode

Post by DeezRamChips »

Are you sure your drawing code is right ?
User avatar
Octacone
Member
Member
Posts: 1138
Joined: Fri Aug 07, 2015 6:13 am

Re: Setting VESA/VBE Mode

Post by Octacone »

DeezRamChips wrote:Are you sure your drawing code is right ?
I am not drawing anything.
I am just booting a black screen that does not seems to be 1360x768x32
OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader
User avatar
DeezRamChips
Member
Member
Posts: 132
Joined: Fri Apr 08, 2016 5:03 am
Location: atapio.cpp - why won't you work :(
Contact:

Re: Setting VESA/VBE Mode

Post by DeezRamChips »

screenshot plz ?
User avatar
DeezRamChips
Member
Member
Posts: 132
Joined: Fri Apr 08, 2016 5:03 am
Location: atapio.cpp - why won't you work :(
Contact:

Re: Setting VESA/VBE Mode

Post by DeezRamChips »

Oh, remember that without driver, It's limited to 4:3, so it should be 1024x768x32
User avatar
Octacone
Member
Member
Posts: 1138
Joined: Fri Aug 07, 2015 6:13 am

Re: Setting VESA/VBE Mode

Post by Octacone »

DeezRamChips wrote:screenshot plz ?
Here:
Attachments
QEMU_012.png
QEMU_012.png (2.62 KiB) Viewed 3098 times
OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader
Post Reply