flat assembler
Message board for the users of flat assembler.

Index > OS Construction > dvd+rw driver

Author
Thread Post new topic Reply to topic
Octavio



Joined: 21 Jun 2003
Posts: 366
Location: Spain
Octavio
Hello i´m writting a driver to write data to a dvd+rw discs ,these discs are similar to dvd+ram and can be written randomly like a hard disk in blocks of 32KB ,so i planned to use them as a removable hard disk ,iso9660 filesystem
is not suitable for this ,so i will use fat32 fs ,has someone tested if this kind of
disks formatted like the hd with mbr + fat32 partitions are standard and supported by linux and windows or the only option is iso9660?
i already write the first 4GB of my hd to one dvd+rw and tried to boot the computer with it ,but did not work, so only iso9660 is bootable.
Also tested with a dvd player and did not work.
Post 01 Dec 2006, 11:14
View user's profile Send private message Visit poster's website Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
Have you tryed using your hdd bootable image, to MAKE BOOTABLE in a burn CD software, as i think it needs some info other than just a bootable image, once you have that working, you could move on from there, but emulation only works in realmode.
Post 01 Dec 2006, 16:23
View user's profile Send private message Reply with quote
Octavio



Joined: 21 Jun 2003
Posts: 366
Location: Spain
Octavio
I already know el Torito especification, but what i want to do is the cd burning program ,dvd+rw is easy but is not suported by most current hardware,
now i'm searching info about formatting cd-rw wich is more complex.
Also wanted to know if i can use other filesystems than iso9660, but now i don't have windows installed on the computer with the dvd-ram recorder so i will test it later.
Post 02 Dec 2006, 09:57
View user's profile Send private message Visit poster's website Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
I new what you meant, but i thought the best way to do it was to use a image of a fat32 hdd as a emulation, work on the image in memory in your OS, than write it back to the dvd as a block.
Any way here is a link that may help: http://www.gentle.it/alvise/cd-r.htm
Post 02 Dec 2006, 16:51
View user's profile Send private message Reply with quote
Octavio



Joined: 21 Jun 2003
Posts: 366
Location: Spain
Octavio
interesting link thanks.
you propose to put a fa32 image like a file inside a iso9660 filesystem, i have not tried this but i think that windows and other oses (except octa os) will not mount the image file so it is useless for my purposes. Already tested to rawrite a floppy image to a cd-rw but windows did not support it.
I suppose that i have to use iso9660 or forget compatibility.
recording a cd-rw (and perhaps a cd-r and dvd-r) is not very complicated:
1 blank the disk (it was a used disk)
2 write data secuentially without stop
3 close track 1
4 close session
i don´t change the default mode page, and at least it works with my computer.
recording a dvd+rw is even easier
1 format the disk if not already formated
2 write data anywere at any time in 32KB blocks.
Post 03 Dec 2006, 10:36
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.