Fat12 Boot Sector

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.
Post Reply
umerkk
Posts: 8
Joined: Sat Sep 15, 2007 12:54 pm
Contact:

Fat12 Boot Sector

Post by umerkk »

Hi
I have Searched the Web for this but i couldnt find anything useful, thats why im writing it here,
My Questions is, I have assembly code which prints Hello World in screen, im Using TASM
i want to make a Bootable floppy disk which prints my code which says Hello World, Anyone can telll me how can i write boot sector to floppy ?
Regards
|| Um3r ||
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post by AJ »

Hi,

Are you using Windows or Linux (or something else?). If using Windows, look up partcopy. If using Linux, I believe 'dd' is the way to go. On http://www.osdever.net, there are a few bootsector tutorials, many of which have instructions on writing the boot sector.

Cheers,
Adam
umerkk
Posts: 8
Joined: Sat Sep 15, 2007 12:54 pm
Contact:

Post by umerkk »

AJ wrote:Hi,

Are you using Windows or Linux (or something else?). If using Windows, look up partcopy. If using Linux, I believe 'dd' is the way to go. On http://www.osdever.net, there are a few bootsector tutorials, many of which have instructions on writing the boot sector.

Cheers,
Adam
I Using Windows, How can i do it using PartCopy?
i have PartCopy
Regards
|| Um3r ||
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post by AJ »

User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Post by Dex »

If your coding with tasm, you can assemble your OS as a com or mz exe and load it with bootprog http://alexfru.chat.ru/epm.html#bootprog
exkor
Member
Member
Posts: 111
Joined: Wed May 23, 2007 9:38 pm

Post by exkor »

consider this thread: http://board.flatassembler.net/topic.php?t=7113
DD,DB is the way to go
Post Reply