ubuntu noob needs help with nasm and qemu
-
- Posts: 14
- Joined: Wed Aug 13, 2014 11:04 am
ubuntu noob needs help with nasm and qemu
So I have 2 harddrives and one has bochs and windows and the other has ubuntu and qemu installed. Now my problem is when I run my image in qemu it doesnt work and I'm not sure why... All the image does is get into 64bit with vbe mode 411b, interrupts still disabled and draw some dots. I also compiled and made a qemu image and that one doesnt work either.
Re: ubuntu noob needs help with nasm and qemu
You haven't provided sufficient information for anyone to help you. Please read how to ask questions.
Developer of libc11
-
- Posts: 14
- Joined: Wed Aug 13, 2014 11:04 am
Re: ubuntu noob needs help with nasm and qemu
Well ok, how would i run qemu like bochs does by default.
Edit:
Is that even possible with switches, I read the documentation and tried to make it the same and have failed for atleast 2 hours.
Edit:
Is that even possible with switches, I read the documentation and tried to make it the same and have failed for atleast 2 hours.
Re: ubuntu noob needs help with nasm and qemu
You need to make a bochsrc file, then you pass that in as a parameter when you start bochs.
http://bochs.sourceforge.net/doc/docboo ... chsrc.html - Bochs Documentation on the bochsrc file
http://www.emulators.com/docs/bochsrc.txt - An example bochsrc file
After creating your bochsrc file, start bochs with
http://bochs.sourceforge.net/doc/docboo ... chsrc.html - Bochs Documentation on the bochsrc file
http://www.emulators.com/docs/bochsrc.txt - An example bochsrc file
After creating your bochsrc file, start bochs with
Code: Select all
bochs -f yourbochsrc.txt
-
- Posts: 14
- Joined: Wed Aug 13, 2014 11:04 am
Re: ubuntu noob needs help with nasm and qemu
I thought bochs was windows only... problem solved.
Re: ubuntu noob needs help with nasm and qemu
Except, if your image runs in Bochs but not in qemu then there is a bug in your code. Best to sort that out now whilst things are simple rather than just ignoring it.
So, problem not really solved.
So, problem not really solved.