add different version of iolib

This commit is contained in:
2022-01-12 16:24:27 +01:00
parent 7d207209b5
commit e2a9d85b76
16 changed files with 11054 additions and 24 deletions

View File

@@ -521,7 +521,12 @@ void wizchip_clrinterrupt(intr_kind intr)
setIR( ((((uint16_t)ir) << 8) | (((uint16_t)sir) & 0x00FF)) );
#else
setIR(ir);
setSIR(sir);
//M20200227 : For clear
//setSIR(sir);
for(ir=0; ir<8; ir++){
if(sir & (0x01 <<ir) ) setSn_IR(ir, 0xff);
}
#endif
}