In the iot() function, it does:
if(!pulse && (dev&070)==030) IO = 0 ;
before the IOT is executed.
It would seem that this means that any IOT 03x would have the IO cleared.
Should this have been dev & 037? Or is there something else going on?
(IO means the IOT register)
Bill