Does anyone know of where I can find detailed information on the format of BIN/CUE files? I am not looking for a program that will create these for me - I want to get the information so that I can make a program to create these images myself. To put it another way, I wish to write my own CD-copying program (hey, I got too much time on my hands ) and would like to know where I can find information on how to turn a complex multi-session / multi-format disk into an image that could be mounted by Daemon tools.

I have spent the last week or so googling extensively, and have found lots of programs that will do it for me, some brief examples of CUE sheet layouts, and that's it. It seems like the only way to determine these formats is to reverse engineer a program that creates them, which is even too much work for me

Thanks for your help.