Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions tools/dev/emu_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,17 @@ def milestones(self):
for key in self.args.menu_keys or "":
self.hatari(f"hatari-event keypress 0x{SCANCODES[key]:02x}")
time.sleep(1)
self.hatari("hatari-event keypress 0x22") # G
ok = self.wait_log("GEMDRIVE SAVE_VECTORS", 60)
# [G] starts with command 4, or 6 with the GEMDRIVE Runner on
# ([U] is 5, which the countdown sends when the key is lost):
# press G until the firmware has it.
for _ in range(3):
self.hatari("hatari-event keypress 0x22") # G
ok = (self.wait_log("Sending command: 00000006", 5)
or "Sending command: 00000004" in
self.log.read_text(errors="replace"))
if ok:
break
ok = ok and self.wait_log("GEMDRIVE SAVE_VECTORS", 60)
if self.record("gemdrive mode", ok):
if "n" in (self.args.menu_keys or ""):
# [N] turned the GEMDRIVE Runner off: its accessory is
Expand Down
Loading