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.
1. Be more specific about the error.
1a. Tell us what debugging you've done already.
2. Tell us what you're trying to accomplish.
3. Don't just dump (uncommented!) code and ask us to fix it.
That said,
You appear to be trying to write a pixel in graphics mode, however, you never set it up.
That right there is likely your (first) problem pertinent to what I assume you want to do.
Other issues are that you never setup a stack, and that you aren't doing error checking.
Now, according to RBIL, it looks like function int 0x10 0x0C doesn't return any errors so,
you're a bit hosed there, but you could at least do a 0x0D (read pixel) while you're testing to see if you get what you expect.
Sorry...Yeah, I was trying to get pixels to run down the screen, and I was using real hardware. It went straight back to windows, and my test machine had no complaints..
I've been programming for 6 years, and can learn most languages in a day....you really wanna start a fight?