cd.device is inside the second kick on the cd32 (the half kick)
beyond that all this is documented very well in the cd32 devkit.
also the devkit has this handler in L: on disk 2.
its also located in os3.9 , i used to make cd32 stuff and i have had os3.0 /1/5/9 installed on my cd32/sx1/8mb*20gb hdd.
as a last info , cubocd32 use a diffrent call for the cd device + coinslot register.
cheers