diff --git a/applepy.py b/applepy.py index 2c35ca5..71e0aef 100644 --- a/applepy.py +++ b/applepy.py @@ -386,6 +386,8 @@ class Apple2: quit = False while not quit: op = self.cpu.recv(8) + if len(op) == 0: + break cycle, rw, addr, val = struct.unpack("