Its difficult but there's loads of sites to help you. Try google OsDev for a start.

You need to get the right toolset (GCC is probably worth looking at to begin with), be comfortable with C and a...