flat assembler
Message board for the users of flat assembler.

Index > Windows > read\write information on DVD

Author
Thread Post new topic Reply to topic
Garthower



Joined: 21 Apr 2006
Posts: 158
Location: Ukraine
Garthower
There is a problem. It is necessary to write down on API or AntiveAPI the information on DVD. Somebody sometime did something similar? Or even knows where to take the necessary information.

Thanks.


Last edited by Garthower on 14 Jul 2006, 09:47; edited 1 time in total
Post 13 Jul 2006, 14:18
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
Nikolay Petrov



Joined: 22 Apr 2004
Posts: 101
Location: Bulgaria
Nikolay Petrov
I'm not very familiar with this "problem" but you may looking for IMAPI Interfaces.
Post 13 Jul 2006, 21:50
View user's profile Send private message Reply with quote
Torrey



Joined: 12 Oct 2003
Posts: 78
Torrey
What exactly are you trying to accomplish? What kind of information would you like read from the DVD? Your first post was difficult to understand.
Post 14 Jul 2006, 03:34
View user's profile Send private message Visit poster's website Reply with quote
Garthower



Joined: 21 Apr 2006
Posts: 158
Location: Ukraine
Garthower
Excuse me in advance, my English is not so good. The information is necessary to me how to make read/write on DVD disks by using WinAPI. At somebody is though any information in this occasion?
Post 14 Jul 2006, 09:46
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
you can read them same way you read any file on your disk, just with different drive letter.

i believe writing to DVDs is not supported in basic WinAPI
Post 14 Jul 2006, 09:50
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Garthower



Joined: 21 Apr 2006
Posts: 158
Location: Ukraine
Garthower
2vid: You not absolutely have understood me. And most likely I again was not absolutely clearly expressed. Me interests low-level read\write. I know, that writing to DVDs is not supported in basic WinAPI. But I hope, that there are any built in interfaces of work with standard drivers Windows which allow to do it from Ring3. And I also hope, that at someone is though any information.
Post 14 Jul 2006, 10:13
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
Reverend



Joined: 24 Aug 2004
Posts: 408
Location: Poland
Reverend
I wrote once a program that could read cds/dvds. Just search fopr ISO9660 standard, and there are all structures of cds/dvds listed.
Post 14 Jul 2006, 10:30
View user's profile Send private message Visit poster's website Reply with quote
Garthower



Joined: 21 Apr 2006
Posts: 158
Location: Ukraine
Garthower
2 Reverend: Your program could read RAW data?
Post 14 Jul 2006, 12:18
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
Reverend



Joined: 24 Aug 2004
Posts: 408
Location: Poland
Reverend
What do you mean by saying "RAW data"?

I post here my code + includes for reading cds/dvds

BUT, this code is from my old project which I left. The code contains "osscalls" - these are my attempt to make this library OS-independent, and so you'll have to change the code to make it work. Feel free to use it. If you have any questions, just ask me by e-mail or PM.


Description: iso9660.inc - necessary constants and structures
Download
Filename: iso9660.inc
Filesize: 3.76 KB
Downloaded: 76 Time(s)

Description: iso9660.asm - code - checking if image is valid, callback function enumerating all directories, getting number of files in directory, copying a file
Download
Filename: iso9660.asm
Filesize: 8.82 KB
Downloaded: 73 Time(s)

Post 15 Jul 2006, 21:11
View user's profile Send private message Visit poster's website Reply with quote
Garthower



Joined: 21 Apr 2006
Posts: 158
Location: Ukraine
Garthower
2Reverend: Under " RAW data " I had in view of reading sectors. Thanks for sources, I shall analyse it.
Post 18 Jul 2006, 10:04
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
Reverend



Joined: 24 Aug 2004
Posts: 408
Location: Poland
Reverend
Reading disk sectors is like reading a file. Just use CreateFile on "\\.\D:" (D: is an example drive letter of course). This will return you a handle just like file. You can use it for ReadFile and read sectors, that's all Smile
Post 19 Jul 2006, 18:56
View user's profile Send private message Visit poster's website Reply with quote
Garthower



Joined: 21 Apr 2006
Posts: 158
Location: Ukraine
Garthower
2Reverend: Thanks. But how to be with not structural data? I.e. in such a way it will be possible to read the data who have been written down on a disk not in standard ISO?
Post 31 Jul 2006, 08:30
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
Reverend



Joined: 24 Aug 2004
Posts: 408
Location: Poland
Reverend
Every disk must have some kind of structure. If it was chaotic, the system wouldn't process it properly. It's just computer, it must have it written in a specific way, it cannot guess. The only problem may be to find that current structure specification. For ISO9660 it isn't hard, but there may be some other standard and its specification may not be available.
Post 01 Aug 2006, 12:51
View user's profile Send private message Visit poster's website Reply with quote
Matrix



Joined: 04 Sep 2004
Posts: 1171
Location: Overflow
Matrix
hi,

long time no see, im working hard now,
but im here,

i did a google on the subject, and i found some interesting results
you could access atapi devices via winapi, aspi drivers, or directly there are some functions in Ralph Brown's Interrupt List too.

that whould have helped me too before i had internet connection, i wanted to write a disc eraser software... because there wasn't any there is now.

http://www.gentle.it/alvise/cd-r.htm

http://club.cdfreaks.com/showthread.php?t=187275
http://bwgburn.sourceforge.net
http://www.t10.org/drafts.htm
Post 03 Aug 2006, 09:43
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.