/[VRac]/M6502/Orao.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /M6502/Orao.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 96 by dpavlin, Thu Aug 2 13:58:26 2007 UTC revision 97 by dpavlin, Thu Aug 2 14:07:52 2007 UTC
# Line 140  Run interactive emulation loop Line 140  Run interactive emulation loop
140  sub run {  sub run {
141          my $self = shift;          my $self = shift;
142    
143            $self->show_mem( 1 );
144    
145          $self->boot if ( ! $self->booted );          $self->boot if ( ! $self->booted );
146          $self->loop;          $self->loop;
147  };  };
# Line 315  sub read { Line 317  sub read {
317          # keyboard          # keyboard
318    
319          if ( first { $addr == $_ } @kbd_ports ) {          if ( first { $addr == $_ } @kbd_ports ) {
320                  warn sprintf("keyboard port: %04x\n",$addr);                  warn sprintf("keyboard port: %04x\n",$addr) if $self->trace;
321          } elsif ( $addr == 0x87fc ) {          } elsif ( $addr == 0x87fc ) {
322                  warn "0x87fc - arrows/back\n";                  warn "0x87fc - arrows/back\n";
323  =for pascal  =for pascal
# Line 415  sub prompt { Line 417  sub prompt {
417          my $self = shift;          my $self = shift;
418          $self->app->sync;          $self->app->sync;
419          my $a = shift;          my $a = shift;
420          print STDERR $self->hexdump( $a ),          print $self->hexdump( $a ),
421                  $last ? "[$last] " : '',                  $last ? "[$last] " : '',
422                  "> ";                  "> ";
423          my $in = <STDIN>;          my $in = <STDIN>;
# Line 464  d\t\tdebug [$d] Line 466  d\t\tdebug [$d]
466    
467  __USAGE__  __USAGE__
468                          warn $self->dump_R;                          warn $self->dump_R;
469                            $last = '';
470                  } elsif ( $c =~ m/^e/i ) {                  } elsif ( $c =~ m/^e/i ) {
471                          $a = $v if defined($v);                          $a = $v if defined($v);
472                          my $to = shift @v;                          my $to = shift @v;

Legend:
Removed from v.96  
changed lines
  Added in v.97

  ViewVC Help
Powered by ViewVC 1.1.26