OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Sep 07, 2010 3:32 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Tutorial About BootProg?
PostPosted: Fri Jul 02, 2010 6:15 pm 
Offline
Member
Member
User avatar

Joined: Sun Jul 19, 2009 1:48 pm
Posts: 187
Location: Brazil
Hello,
I was wondering if someone could make a tutorial about how to use and install BootProg, because I'm having a lot of programs when trying to install it to the boot sector, the program used to write the data to the floppy, keeps saying that my floppy has a FAT16 partition, not FAT12, but I think this is because I'm using Windows XP. :cry:

Best Regards,
Nathan Paulino Campos

_________________
Developing a OS For GameBoy Advance
Already tried to develop my OS using Assembly, C++, FreeBASIC and C.


Top
 Profile  
 
 Post subject: Re: Tutorial About BootProg?
PostPosted: Sat Jul 03, 2010 4:05 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 4909
Location: Staphorst, The Netherlands
Why should we make a tutorial on something that does not work?

Edit: I tried to verify your complaints: Windows is not broken. In fact, using bootprog to read the bootsector yields the correct result. Which brings us to the other point: WTF are you using a DOS application

_________________
"After you finish the first 90% of a project, you have to finish the other 90%." - Michael Abrash
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
 Post subject: Re: Tutorial About BootProg?
PostPosted: Sat Jul 03, 2010 7:15 am 
Offline
Member
Member
User avatar

Joined: Sun Jul 19, 2009 1:48 pm
Posts: 187
Location: Brazil
Combuster wrote:
Why should we make a tutorial on something that does not work?

Edit: I tried to verify your complaints: Windows is not broken. In fact, using bootprog to read the bootsector yields the correct result. Which brings us to the other point: WTF are you using a DOS application

Hmm, then I'm going to try by using VMWare emulating MS-DOS 6.22...

_________________
Developing a OS For GameBoy Advance
Already tried to develop my OS using Assembly, C++, FreeBASIC and C.


Top
 Profile  
 
 Post subject: Re: Tutorial About BootProg?
PostPosted: Sat Jul 03, 2010 8:59 am 
Offline
Member
Member
User avatar

Joined: Tue Jun 09, 2009 4:09 am
Posts: 74
Location: Moscow, Russia
You are crazy. Use BFI.


Top
 Profile  
 
 Post subject: Re: Tutorial About BootProg?
PostPosted: Sat Jul 03, 2010 8:59 am 
Offline
Member
Member
User avatar

Joined: Tue Jun 02, 2009 4:35 pm
Posts: 382
Location: Supporting the cause: Use \tabs to indent code. NOT \x20 spaces.
Hi:

Nathan, I think the video in this link will be useful to you. It's not long either; just fourteen seconds. Please take the time to watch it.

Title:"The most inspiring thing ever said..."
http://www.youtube.com/watch?v=bVVsDIv98TA

--All the best,
gravaera.

_________________
"O, that there was such an heart in them that they might read my words, and keep them nigh always." The Manual.


Top
 Profile  
 
 Post subject: Re: Tutorial About BootProg?
PostPosted: Sun Sep 05, 2010 5:42 pm 
Offline

Joined: Sun Sep 05, 2010 5:29 pm
Posts: 1
gravaera wrote:
Hi:

Nathan, I think the video in this link will be useful to you. It's not long either; just fourteen seconds. Please take the time to watch it.

Title:"The most inspiring thing ever said..."
http://www.youtube.com/watch?v=bVVsDIv98TA

--All the best,
gravaera.


Lolz. I like it.

But Nathan just try to do what qandrew's said, use BFI.

_________________
Bob Morton
I'm reviewing my post and hoping to finish my blog today.


Top
 Profile  
 
 Post subject: Re: Tutorial About BootProg?
PostPosted: Mon Sep 06, 2010 7:29 am 
Offline
Member
Member
User avatar

Joined: Sun Jul 19, 2009 1:48 pm
Posts: 187
Location: Brazil
bobmorton wrote:
gravaera wrote:
Hi:

Nathan, I think the video in this link will be useful to you. It's not long either; just fourteen seconds. Please take the time to watch it.

Title:"The most inspiring thing ever said..."
http://www.youtube.com/watch?v=bVVsDIv98TA

--All the best,
gravaera.


Lolz. I like it.

But Nathan just try to do what qandrew's said, use BFI.

qandrew wrote:
You are crazy. Use BFI.

Just one question: What is BFI?

_________________
Developing a OS For GameBoy Advance
Already tried to develop my OS using Assembly, C++, FreeBASIC and C.


Top
 Profile  
 
 Post subject: Re: Tutorial About BootProg?
PostPosted: Mon Sep 06, 2010 7:51 am 
Offline
Member
Member

Joined: Thu Nov 16, 2006 12:01 pm
Posts: 5445
Location: Germany
Valid question, I admit. My first couple of Google attempts turned up empty, too. But a couple of clicks later:

http://www.nu2.nu/bfi/ - a floppy image tool. I assume that's what qandrew meant.


Top
 Profile  
 
 Post subject: Re: Tutorial About BootProg?
PostPosted: Mon Sep 06, 2010 8:43 am 
Offline
Member
Member
User avatar

Joined: Tue Jun 09, 2009 4:09 am
Posts: 74
Location: Moscow, Russia
Solar wrote:
Valid question, I admit. My first couple of Google attempts turned up empty, too. But a couple of clicks later:

http://www.nu2.nu/bfi/ - a floppy image tool. I assume that's what qandrew meant.


Yes, you are right.
I also want to add that there's a stub BFI with links too. :)


Best regards,
-- Andrew


Top
 Profile  
 
 Post subject: Re: Tutorial About BootProg?
PostPosted: Mon Sep 06, 2010 10:18 am 
Offline
Member
Member
User avatar

Joined: Sun Jul 19, 2009 1:48 pm
Posts: 187
Location: Brazil
I've done it using BFI, but now after BOCHS boot it up, I got this error:
Code:
prefetch: getHostMemAddr vetoed direct read, pAddr=0x000a5c00


I've done it using this:
Code:
C:\> bfi -f=test.img -o=BOOTABLE.EXE -b=BOOT16.BIN

_________________
Developing a OS For GameBoy Advance
Already tried to develop my OS using Assembly, C++, FreeBASIC and C.


Top
 Profile  
 
 Post subject: Re: Tutorial About BootProg?
PostPosted: Tue Sep 07, 2010 10:49 am 
Offline
Member
Member
User avatar

Joined: Mon Jun 15, 2009 10:01 am
Posts: 256
Location: France
Nathan wrote:
I've done it using this:
Code:
C:\> bfi -f=test.img -o=BOOTABLE.EXE -b=BOOT16.BIN


You need to specify the path of the directory which must contain all files that should be included in the floppy image.
BTW, is BOOT16.BIN a FAT16 boot sector? If yes, that's wrong. FAT12 is better suited for floppies.

Nathan wrote:
that my floppy has a FAT16 partition, not FAT12

Never seen a floppy with partitions. Well, it's possible, but I'm not sure if Windows recognizes that.

_________________
Tommy - Keyboard not found. Press any key to reboot.
Hydrogen OS - Hydrogen Assembler


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group