check out your local library for the author "bruce chubb" he designed a computer control system for the sunset valley awhile ago. I'm not shure if it was DC or a custom DCC system.
JMRI (Java Model Railroad Interface), a software package that many DCC users use, can also connect to some computeruzed DC cab control systems: Bruce Chubb's C/MRI Oak Tree System's RCI CTI Electronics "Train Brains"