Re: I need help with a simulator quirk
Well I now know what FVR was commented out. The simulators code for this ADC covers several score datasheets. Pretty much each datasheet has it's own way of interpreting ADCON1.CHS. Heck, the actual size of the field changes from device to device. Short of hard-coding how to decode every datasheet's CHS field (and every future datasheet's CHS field), the simulator doesn't have a good way of knowing how to decode CHS.
In fact we're already engaged in some risky behavior by assuming that CHS value equates to the ANx pin to read. (With a check to verify that that ANx pin actually exists on the device.) This seems to be true for all devices so far.
Anyway, simulator doesn't support FVR input for ADC on these devices. Sorry.