Page 1 of 1

[Help]: Assertion Failed:

Posted: Mon Jan 24, 2011 11:39 am
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.

Re: [Help]: Assertion Failed:

Posted: Mon Jan 24, 2011 11:41 am
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)