Hello guest,
default
To benefit from all extra features you need to log in or sign up.
Optical Storage Technical Discussions Discuss, How it works : Daemon Tools at Computer Hardware forum; Here's a shorter version of the original explanation, reposted with agreement from DT staff. Lots of people reacted violently to the original version without knowing the background of this story or my motivations, and I don't feel like explaining anything to them. In the end DT users are more knowledgeable

Old Posted: 01-05-2004
spath's Avatar
spath (Moderator)
Posts: 993
  • Find More Posts by spath
Here's a shorter version of the original explanation, reposted with agreement from DT staff.
Lots of people reacted violently to the original version without knowing the background of this
story or my motivations, and I don't feel like explaining anything to them. In the end DT users
are more knowledgeable about the tool they use and the next DT version will be more robust than
it would have been without this post, and it's all that matters.
---------------------------------------------------------------------------------------

Here's a graphical overview of the main components of Daemon Tools (DT) :


Code:
daemon.exe -------------> daemon.dll ----------------> Lang\1033.dll 
            funcs(1-15)       |\---------------------> Plugins\Images\*.DLL 
                              |\---------------------> pfctoc.dll 
			      |
			      | DeciceIOControl
			      |
			      V
			  d344bus.sys  <---->  d344prt.sys
daemon.exe:
------------
This program is located in the installation directory and is started automatically by
an entry in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run. It handles the
graphical interface of DT (tray icon) and takes care of the support functionalities
(helpfile, homepage, email) as well as the command line switches (lock, noicon, ...),
which it saves in its own startup command line in the registry. However, the main role of
daemon.exe is to translate the options selected by the user into commands to daemon.dll.


daemon.dll:
------------
This DLL is always stored in windows system directory and is loaded by daemon.exe.
It is responsible for opening and parsing the image files (using Plugins\Images\*.DLL),
and providing language support (using Lang\1033.dll). On top of the officialy supported
image formats, DT also seem to be able to mount Simdisc2 (*.sd2) and CDRwin (*.cdr)
images, for which it uses pfctoc.dll. Furthermore, this DLL translates the requests received
by daemon.exe (through one of its 15 exported functions) into commands to the bus driver
(d344bus.sys).


d344prt.sys
------------
This is the SCSI miniport driver, which is located in the driver subdirectory of
windows system directory, and which is started as a service by windows. As
a miniport driver, its only task is to initialize the SCSI port and to intercept
all the SCSI events to notify the bus driver. Only the minimum required
functions of a SCSI miniport driver are implemented, i.e. HwScsiInitialize,
HwScsiStartIo, HwScsiFindAdapter and HwScsiResetBus, which are forwarded
to the bus driver.


d344bus.sys
------------
This is the bus driver, which is located in the same location as the port driver,
and which is also started as a service. This driver is the core of the emulation
tool. First it handles the new drive letter for both DOS and windows (via the mount
manager), then it receives commands from the DLL, events from the port driver
and reads data from the image. In version 3.44 this driver can emulate 50 SCSI
commands and handles them according to its configuration.

For instance, whenever a READ_CD command is sent to the virtual drive, first the
port driver receives a HwScsiStartIo->SRB_FUNCTION_EXECUTE_SCSI command, which it
forwards to the bus driver. There, the command is handled by the READ_CD (BEh)
code, based on the data contained in the image file and the Safedisc, Securom,
Laserlock and RMPS settings. Then the bus driver fills the buffer of the SRB
(SCSI Request Block) with these data, which go back to the port driver, then
to the OS and finally to the calling application.
Last edited by spath; 11-05-2004 at 00:08.
default_avatar
Today (MyCE Staff)
Posts: 15,596
Old Posted: 02-05-2004
Truman's Avatar
Truman (Moderator)
Posts: 663
  • Find More Posts by Truman
Nice description Spath

Also noticed that those authors have no informative readme/help files for their tools. They just have how to install and that's it.
__________________
Truong Hy-Xpert tools -PerfectRip
Old Posted: 04-05-2004
default_avatar
nulke (New on Forum)
Posts: 2
  • Find More Posts by nulke
Thank you for the explanation. The article was written very well.
Old Posted: 04-05-2004
default_avatar
percy (New on Forum)
Posts: 5
  • Find More Posts by percy
Very well written explanation, have used the app for years without a problem.
Now I know what's going on and how it all hangs together.
Many thanks for an excellent article.
__________________
Percy

How does the man who drives the snow plough get to work.
Old Posted: 11-05-2004
Upp3rd0G's Avatar
Upp3rd0G (CDFreaks Resident)
Posts: 2,116
  • Find More Posts by Upp3rd0G
Hmmm.... good too hear you sorted things out with DT. I hope they will pick up the tips you gave them!

But, I was really looking forward to your work on EAC. Does this mean it will not happen anymore?

[off-topic]
Any news on the C2 tests you and Gamefreak worked on?
[/off-topic]
__________________
Old Posted: 13-05-2004
spath's Avatar
spath (Moderator)
Posts: 993
  • Find More Posts by spath
> But, I was really looking forward to your work on EAC. Does this mean
> it will not happen anymore?

Nothing is decided yet.

> Any news on the C2 tests you and Gamefreak worked on?

Same answer as before : ask GF, he's the one who should
be waken up
Old Posted: 14-05-2004
Namoh's Avatar
Namoh (CDFreaks Resident)
Posts: 6,435
  • Find More Posts by Namoh
Quote:
Originally Posted by spath
> But, I was really looking forward to your work on EAC. Does this mean
> it will not happen anymore?

Nothing is decided yet.

Please let that article go through!

I would really appriciate it (not that it matters).
__________________
When you're little, what you really want is for grown-ups to make the world a safe place where dreams can come true and promises are never broken. And when you're little, it doesn't seem like a lot to ask.

Women might be able to fake orgasms.
But men can fake whole relationships.

New rig: Antec P182 Super Mid Tower, Intel Quad Q6600 2.4Ghz @ 3.0Ghz, Thermalright Ultra-120 Extreme, Kingston 4Gb 1066Mhz dual channel, MSI NX8800GTX OC Edition 768 MB, 4 x 500 GB Seagate Barracuda 7200.10, Asus DRW-1814BLT DVD-RW, NEC AD-7173S DVD-RW, NEC 3,5" diskdrive, Logitech X-540 speakers, Samsung TFT SyncMaster 245B, Creative X-Fi Xtreme Gamer, Be Quiet Dark Power Pro 850Watt, dual boot Windows XP SP2 and Windows Vista.
There's more to MyCE.com

Listen up, we've got more. Product information on 107,830 products. Our experts have written 523 articles. We've gathered 16,131 news items for you to always keep updated.

Active Commenters

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

People who found this also searched for

  • daemon tool command line parameters run
  • daemon tools port
  • how does daemon tools work
  • site club.cdfreaks.com virtual cd drive exact audio copy
  • 1033.dll
  • d344bus.sys
  • d344prt.sys
  • daemon itss.dll
  • daemon tool drivers
  • daemon tool explanation
  • daemon tool how it work
  • daemon tool how it works
  • daemon tools and tricks explanation
  • daemon tools bus driver
  • daemon tools command line
  • daemon tools command line parameters
  • daemon tools command line switches
  • daemon tools daemon.dll
  • daemon tools daemon.exe does not start
  • daemon tools dll hang windows
  • daemon tools explain
  • daemon tools explanation
  • daemon tools how does it work
  • daemon tools how does it works
  • daemon tools how it works
  • daemon tools installation command line options
  • daemon tools switches
  • daemon.exe swiches
  • daemontools drivers
  • daemontools drivers location
  • deamon drive letter command
  • deamon tools how its work
  • demon tools how does it work
  • getting daemon tools to work
  • hangs on d344bus.sys
  • how daemon tools lite works
  • how daemon tools work
  • how daemon tools works
  • how daemon works
  • how daemon works?
  • how deamon tools works
  • how deamon works
  • how do daemon tool work
  • how do daemon tools work
  • how do the daemon tools work
  • how does a daemon tool work
  • how does daemon tool work
  • how does daemon tool work?
  • how does daemon tools
  • how does daemon tools lite work
  • how does daemon tools work
  • how does daemon tools work?
  • how does daemon tools worked
  • how does daemontools work
  • how does deamon tools work
  • how does deamon tools work?
  • how does demon tool work?
  • how does it work daemon tools
  • how does it work demon tools
  • how doing wok daemon tools
  • how it works daemon tools
  • how to get daemon tools to work
  • how to work daemon
  • how to work daemon tools
  • how to work deamon tools
  • how to work with daemon tools
  • how work daemon tools
  • how works daemon tools
  • hy does daemon tools create two files
  • mounting sd2 images os x
  • pfctoc.dll was not found
  • srb function execute scsi
  • virtual scsi miniport driver hklm
  • what registry changes does daemon tools make
  • what work of demantools
  • who does daemon tool work
All times are GMT +2. The time now is 10:45.
Top