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.
i have followed the Bare-Bones tutorial (osdev wiki) available in http://wiki.osdev.org/Bare_bones , it went all OK (or looked like going ok, i haven't tested the resulting disk image yet) until i had to start Bochs and load the kernel (so to call it) in it, i have solved various Panic type of errors, until it said:
It has nothing to do with your kernel (yet). Bochs panicks because its display couldn't start.
Apparently its trying to use the X server, which means you must be running bochs under some form of linux.
If you are working under linux, try selecting the sdl frontend (tends to work better than directly talking with the X server), if you're under windows, you must set it to win32
i.e. try changing between the following lines:
display_library: x
display_library: win32
display_library: sdl
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
I had already apt-gotten bochs-x, vgabios was already there so i indicated its location to bochs in its config file, now i have just installed the bochs-sdl package and added a line for it in the config file but bochs panics again and says:
(!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed
--> No such file or directory
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable.
(!) DirectFB/Core: Could not initialize 'system' core!
--> Initialization error!
00000000000p[SDL ] >>PANIC<< Unable to initialize SDL libraries
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
graphics support? are you joking ? i even have OpenGL working with no problem, i am running Debian Etch (Kernel 2.6.18), i think it's second to last Debian, not old at all!
I am having some success meanwhile with qemu, i am starting to love it, but i always have been told that Bochs was better, so i am not giving that up, the link that you gave me (to the SDL site) unfortunately doesn't help a lot since i already have the latest SDL binaries, there's not much to do with that then.
kindyroot wrote:the link that you gave me (to the SDL site) unfortunately doesn't help a lot since i already have the latest SDL binaries, there's not much to do with that then.
Have you even read what's on that particular page?
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]