Ok, so ive got a basic bootloader written in asm, and a very small kernel written in C. The kernel has various C files that are combined to form kernel.o, I have no problems there. I end up with a bootloader.bin and a kernel.bin. I use a little program called 'makeboot' to combine the 2 .bin's into a .img, which I run with bochs perfectly. Now, how would I go about writing this .img (or the bootloader.bin and kernel.bin) to an actual floppy for an actual test? Ive seen some examples of how to do it on a linux machine or such, but Im confused as to what to do on a windows machine. Im running windows xp, with nasm and gcc. Any help appreciated.
Joe
Write to Floppy Help
RE:Write to Floppy Help
You can use RAWrite (http://uranus.it.swin.edu.au/~jn/linux/rawwrite.htm), but if you're copying multiple files to different parts of the floppy, use PartCopy (http://my.execpc.com/~geezer/johnfine/), because RAWrite doesn't always preserve partially written-over sectors.
-[ Khumba ]-
-[ Khumba ]-
RE:Write to Floppy Help
I like to do everything myself and I've written a little program in Delphi using WinAPI (very simple ). Just open '//./a:' (how I remember) as stream file and write it.
RE:Write to Floppy Help
Of course the widows API is simple LexX, it was written by retards.