--- M6502/Orao.pm 2007/07/31 16:22:10 61 +++ M6502/Orao.pm 2007/07/31 16:33:41 64 @@ -408,14 +408,16 @@ printf "set pc to %04x\n", $to; $PC = $to; # remember for restart $run_for = 1; - $last = sprintf('m %04x', $to); + $last = "r $run_for"; last; } elsif ( $c =~ m/^t/ ) { $self->trace( not $self->trace ); print "trace ", $self->trace ? 'on' : 'off', "\n"; + $last = ''; } elsif ( $c =~ m/^d/ ) { $self->debug( not $self->debug ); print "debug ", $self->debug ? 'on' : 'off', "\n"; + $last = ''; } else { warn "# ignored $line\n" if ($line); $last = '';