Real mode problem
Code: Select all
00000000000p[MEM0 ] >>PANIC<< ROM: couldn't open ROM image file '/usr/share/bochs/VGABIOS-elpin-2.40'.
Alternatly you could download/move thatt file into /usr/share/bochs/
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
What copyright issues? It seems to be under the LGPL... I assumed that was an approved licence by Linux folk.JamesM wrote:Some distros don't distribute it due to copyright issues. A google should get it, though.
http://www.nongnu.org/vgabios/
- zaleschiemilgabriel
- Member
- Posts: 232
- Joined: Mon Feb 04, 2008 3:58 am
Perhaps I worded it wrong; you and I are basically saying the same thing here. i.e., if he only wants to develop a kernel, then he should not worry about developing a bootloader.jal wrote:That's quite a contradication you pose there. I use GRUB because I want to develop a kernel. I don't want to develop a boot loader.neon wrote:If you are unable to get GRUB working, I would probably stay away from this for now... specifically if all you want to develop a kernel.
JAL
Sorry about that.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
-
- Member
- Posts: 391
- Joined: Wed Jul 25, 2007 8:45 am
- Libera.chat IRC: aejsmith
- Location: London, UK
- Contact:
OK, install the vgabios package, then in your bochs config, change this:Danand wrote:My kernel is a BIN fil. In the kernel.bin i have loader.o, linker.ld and kernel.o.
And if my kernel are loaded then its prints text.
I will trying to fix that bochs fil then..
Edit: Im using xubuntu 7.4..
Code: Select all
/usr/share/bochs/VGABIOS-elpin-2.40
Code: Select all
/usr/share/vgabios/vgabios.cirrus.bin
I have done that now, vgabios was installed. But bochs its not working
This is from terminal:
I dont now wats wrong, soo....
This is from terminal:
Code: Select all
========================================================================
Bochs x86 Emulator 2.3
Build from CVS snapshot on August 27, 2006
========================================================================
00000000000i[ ] LTDL_LIBRARY_PATH not set. using compile time default '/usr/lib/bochs/plugins'
00000000000i[ ] BXSHARE not set. using compile time default '/usr/share/bochs'
00000000000i[ ] reading configuration from bochsrc.txt
00000000000i[ ] WARNING: syntax has changed, please use 'vgaromimage: file=...' now
00000000000i[ ] lt_dlhandle is (nil)
00000000000p[ ] >>PANIC<< dlopen failed for module 'x': file not found
========================================================================
Event type: PANIC
Device: [ ]
Message: dlopen failed for module 'x': file not found
A PANIC has occurred. Do you want to:
cont - continue execution
alwayscont - continue execution, and don't ask again.
This affects only PANIC events from device [ ]
die - stop execution now
abort - dump core
debug - hand control to gdb
Choose one of the actions above: [die] cont
00000000000p[ ] >>PANIC<< failed assertion "bx_gui != NULL" at main.cc:809
========================================================================
Event type: PANIC
Device: [ ]
Message: failed assertion "bx_gui != NULL" at main.cc:809
A PANIC has occurred. Do you want to:
cont - continue execution
alwayscont - continue execution, and don't ask again.
This affects only PANIC events from device [ ]
die - stop execution now
abort - dump core
debug - hand control to gdb
Choose one of the actions above: [die] cont
00000000000i[ ] using log file bochsout.txt
./run_bochs.sh: line 7: 5815 Segmentation fault (core dumped) sudo bochs -f bochsrc.txt
Sorry my english, i'm from norway..
I write my own os now, DanOS. Website coming soon!
I write my own os now, DanOS. Website coming soon!