Page 1 of 1

Fat12 Boot Sector

Posted: Mon Sep 17, 2007 2:18 am
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 ?

Posted: Mon Sep 17, 2007 2:20 am
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

Posted: Mon Sep 17, 2007 3:31 am
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

Posted: Mon Sep 17, 2007 3:41 am
by AJ

Posted: Mon Sep 17, 2007 9:43 am
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

Posted: Mon Sep 17, 2007 10:49 am
by exkor
consider this thread: http://board.flatassembler.net/topic.php?t=7113
DD,DB is the way to go