fix random glitches while reading rtc in basic (fix by TSL)

Code to check:
10 out 61431, 128
20 out 57335, 0
30 print in 49143;
40 print " ";
50 goto 30
This commit is contained in:
Eugene Lozovoy
2024-10-05 10:30:57 +03:00
parent 7464a925a3
commit 5022d16b77

View File

@ -638,7 +638,7 @@ module zports
if (comport_wr || comport_rd)
wait_addr <= a[15:8];
if ((loa==PORTXT) && (hoa == DMAWPA))
if (portxt_wr && (hoa == DMAWPA))
wait_addr <= din;
end