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.
Hello,
I want to know from people here that have more knowledge on this are than me, as I've already tried to search at Google for "Boot+Flat+Binary", I didn't got anything good. Anyway, I've already tried BootProg, but I was having problems to write the boot sector, as the program included said that my floppy was a FAT16, not FAT12(I think this because Windows XP don't show the floppy's as FAT12, only FAT16). Then I'm needing something like BootProg, or better, if someone could send me a BootProg pre-configured floppy image.
Several problems here:
1: Trying only one google query is not enough. You have to be more specific if you get unrelated results. Also, you have (once again) not searched the wiki: link and link
2: You are asking a stupid question: You imply that Bootprog is the only viable option, in line of "How do i use paintbrush to print a word document"
3: You created two threads with the same question.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
I think yes, but I haven't tested it with .com programs.
You need to adjust the bootloader to jump to .com start instead of the current start address.
That should do the trick. You are by all means welcome to adjust the code to suit your needs.
In case of your secondary file being something like 3181 bytes (c6d in hex):
You can ignore the error message, because the partcopy
is just complaining that there's no more data to be read in the source file.
2nd problem that I can see: What is your destination drive?
Writing to floppy A: should be like:
As combuster pointed out, you have opened two threads on this very same topic. Again, as combuster pointed out, you've not searched the wiki, or google, at all. If you had done that, you'd notice quite a few wiki articles and many links off google that go over how to create bootable disks, and how to replace bootsectors on disks.
You seem to generally want to be spoonfed everything, and don't seem able or willing to do any kind of troubleshooting or debugging for yourself. That really needs to change, or you won't make it here at all, or even as a programmer anywhere.