URL
https://opencores.org/ocsvn/a-z80/a-z80/trunk
[/] [a-z80/] [trunk/] [tools/] [dongle/] [daa/] [z80-instruction-test-daa.py] - Diff between revs 3 and 8
Show entire file |
Details |
Blame |
View Log
Rev 3 |
Rev 8 |
Line 50... |
Line 50... |
while 1:
|
while 1:
|
indata = ser.readline()
|
indata = ser.readline()
|
if not indata:
|
if not indata:
|
break
|
break
|
if indata[0]!=':':
|
if indata[0]!=':':
|
if (("#017" in indata) or ("#020" in indata) or ("#053" in indata) or ("#056" in indata)):
|
if ("#017" in indata) or ("#020" in indata) or ("#053" in indata) or ("#056" in indata):
|
print (indata.rstrip('\r\n'))
|
print (indata.rstrip('\r\n'))
|
sys.stderr.write (indata)
|
sys.stderr.write (indata)
|
|
|
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
ser.close()
|
ser.close()
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.