Model of the ADC ported to QEMU 2.1, first version 2hich compiles correctly, and seems to be working.