[Help]: Assertion Failed:

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.
Locked
User avatar
LegendDairy
Member
Member
Posts: 52
Joined: Sat Nov 06, 2010 10:42 am
Location: Antwerp (Belgium)

[Help]: Assertion Failed:

Post by LegendDairy »

Hi, I was reading http://www.jamesmolloy.co.uk/tutorial_h ... nitrd.html, after that I tried to make something like it, I compiled perfect, no errors/warnings but when I tried to run it in Qemu I got "ASSERTION_FAILED(mboot->mods_count > 0) at main.c:30"

So I tried to compile the source same thing happened. Can someone help me or explain me what's wrong?

Note:I didn't made "kernel" I named it "kernel.bin" So I could use fasm to make a floppy.img from the bin.->NVM I tried just "kernel" same thing.
Last edited by LegendDairy on Mon Jan 24, 2011 12:33 pm, edited 1 time in total.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: [Help]: Assertion Failed:

Post by Combuster »

Note:I didn't made "kernel" I named it "kernel.bin" So I could use fasm to make a floppy.img from the bin.
Instructions exist for a reason - please follow them, and you might learn why things are done that way. (The explanation for the assert is in the text btw, so please read it instead of blindly doing something and expecting it to work)
"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 ]
Locked