The MASM Forum

Miscellaneous => 16 bit DOS Programming => Topic started by: yoursonfather on November 13, 2014, 10:04:57 PM

Title: masm boot hello world
Post by: yoursonfather on November 13, 2014, 10:04:57 PM
i want write a boot  in CD(i use new cd so it can write in first section) to open my computer .


i use that http://nopmix.wordpress.com/2010/08/02/boot-sector/ 
NO WORK 

I KNOW  org7c00h,512bytes,55h aah 


how can i start  to write a sample operation system?
Title: Re: masm boot hello world
Post by: dedndave on November 13, 2014, 10:47:54 PM
if it does not work, it may be that you did not burn the CD correctly
there are different ways to create bootable CD's - and different burn methods for each
I think what you are trying to do is called "El Torrito"

https://cdburnerxp.se/help/Data/bootdisc (https://cdburnerxp.se/help/Data/bootdisc)

as for writing your own boot sector, there was extensive work in that area in the old forum
use the search tool or advanced search tool to help find specific info

http://www.masmforum.com/board/index.php (http://www.masmforum.com/board/index.php)
Title: Re: masm boot hello world
Post by: Tedd on November 13, 2014, 11:53:27 PM
http://wiki.osdev.org/Main_Page (http://wiki.osdev.org/Main_Page)

http://wiki.osdev.org/Tutorials (http://wiki.osdev.org/Tutorials)
Title: Re: masm boot hello world
Post by: yoursonfather on November 14, 2014, 01:15:41 AM
i can run in vmware  Floppy drive !!!

but CD is not same as floppy drive?

i cant just write  in cd?

Title: Re: masm boot hello world
Post by: Vortex on November 14, 2014, 05:39:49 AM
I guess you have to have to write a boot sector for the CD image.

Another good option for your tests is the open source emulator Qemu.
Title: Re: masm boot hello world
Post by: Gunther on November 14, 2014, 07:15:40 AM
Hi Erol,

Quote from: Vortex on November 14, 2014, 05:39:49 AM
Another good option for your tests is the open source emulator Qemu.

good proposal.  :t

Gunther
Title: Re: masm boot hello world
Post by: Tedd on November 14, 2014, 10:03:03 AM
Booting from CD is handled slightly differently than from a floppy, though CD booting does have a floppy compatibility mode..

Follow the links I posted above, and be prepared to read -- all of the answers are there.
Title: Re: masm boot hello world
Post by: yoursonfather on November 14, 2014, 06:59:04 PM

thank for this Forum ,i can write in CD to boot my computer!!

use this code :http://nopmix.wordpress.com/2010/08/02/boot-sector/ (http://nopmix.wordpress.com/2010/08/02/boot-sector/)

convert to iso :http://www.minidvdsoft.com/isocreator/index.html (http://www.minidvdsoft.com/isocreator/index.html)

write in CD:https://cdburnerxp.se/ (https://cdburnerxp.se/)


working picture: http://i.imgur.com/XSwYeKm.jpg (http://i.imgur.com/XSwYeKm.jpg)
Title: Re: masm boot hello world
Post by: Gunther on November 14, 2014, 07:32:39 PM
Congrats.  :t

Gunther