Boot Flat Binary
Boot Flat Binary
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.
Best Regards,
Nathan Paulino Campos
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.
Best Regards,
Nathan Paulino Campos
Re: Boot Flat Binary
How do you create your floppy images? VFD?
Re: Boot Flat Binary
VFD, but I've tried with a physical floppy too, and I got the same error.
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: Boot Flat Binary
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.
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.
Re: Boot Flat Binary
But I can use a Pascal program compiled as *.COM as the secondary binary?mac2004 wrote:Maybe this example helps you a bit?
http://board.flatassembler.net/topic.php?t=6529
Regards
Mac2004
Re: Boot Flat Binary
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.
regards
Mac2004
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.
regards
Mac2004
Re: Boot Flat Binary
When I tried to write the second file(using your Assembly one), what I got was this:
What I need to do?
Code: Select all
C:\> partcopy k.bin 0 2200 test.img 200
Failed to read source at offset C6D
Re: Boot Flat Binary
Hi!
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:
regards
Mac2004
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:
Code: Select all
partcopy k.img 0 b0000 -f0 200
Mac2004
Re: Boot Flat Binary
I got this error for both commands(first one and the second):
What is wrong now?
Code: Select all
Divide error
Re: Boot Flat Binary
Nathan,
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.
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.