Pioneer Microsystems wrote: > I am emulating a C73A with the PicMaster. I can see my previous > write show up on the port pin, IE my scope sees it (indefinitely) > but when I look at the porta register, it sees 00H. Therefore, > whenever I write another output bit, the other outputs vanish (go > to zero). > .... > I am certain that the analog converter is disabled. Why on earth > won't the emulator see the true state of output bits in porta > register? Chris: Even if you've disabled the A/D converter by clearing the "ADON" bit in ADCON0, you need to set the PCFG2 and PCFG1 bits in ADCON1 (register 0x9F) in order for the port pins to ct as digital inputs when you read them. Writing 0x06 to ADCON1 will solve your problem. -Andy === Andrew Warren - fastfwd@ix.netcom.com === Fast Forward Engineering - Vista, California === http://www.geocities.com/SiliconValley/2499