Skip to content

Commit

Permalink
Disk Copy: Don't clear keyboard strobe between each pass. Fixes #429
Browse files Browse the repository at this point in the history
The Disk Copy routine watches for an Esc keypress to cancel the copy.
But it clears the keyboard strobe at the start of each set of blocks,
so if you hit Esc in a window between the check and a set of blocks,
the keypress is ignored.

There's no need to clear the strobe, so just don't. It's cleared after
a keypress during the pass, which seems to be all that's needed.
  • Loading branch information
inexorabletash committed Oct 2, 2021
1 parent f453d94 commit f11f8f6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions disk_copy/main.s
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,6 @@ unit_num:
;;; ============================================================

.proc copy_blocks
bit KBDSTRB ; clear strobe

sta write_flag
and #$FF
bpl :+
Expand Down

0 comments on commit f11f8f6

Please sign in to comment.