News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

how do i access cd/dvd

Started by Narray, October 29, 2011, 02:38:51 AM

Previous topic - Next topic

Narray

Is there a library or something? What I want to do is read a CD from start to "end of disk" without opening files.

dedndave

good question - i'd like to learn how to read optical disks directly, myself   :P

sinsi

Open the volume (e.g. "\\.\D:") with CreateFile, then you can treat it like a file.
I wrote a program to read a full disc, saves it as a .iso which seems to be a legit image (Nero burns it anyway).
Light travels faster than sound, that's why some people seem bright until you hear them.

dedndave

thanks sinsi - i'll give it a play

Siekmanski

Here's an example how to access CD/DVD using SPTI or ASPI.
It just reads sector number 150 to memory to show how it's done.
And shows the first DWORD value read from sector 150.

http://www.masm32.com/board/index.php?topic=5454.0