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.
@kataklinger: AFAIK it's possible to store your bootsector as a 512-byte-file on Windows' system drive and let NTLDR chainload it. This works with all Linux-bootloaders I've seen, so you might give it a try. Put the bootsector into a file called 'c:\myos.bin' for example, the add the line