/[VRac]/Galeb.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 /Galeb.pm

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

revision 213 by dpavlin, Sun Sep 30 20:12:37 2007 UTC revision 214 by dpavlin, Tue Apr 15 13:03:19 2008 UTC
# Line 43  our $emu; Line 43  our $emu;
43  sub run {  sub run {
44          my $self = shift;          my $self = shift;
45    
46            M6502::reset();
47    
48          warn "Galeb calling upstream init\n";          warn "Galeb calling upstream init\n";
49          $self->SUPER::init(          $self->SUPER::init(
50                  read => sub { $self->read( @_ ) },                  read => sub { $self->read( @_ ) },
# Line 76  sub run { Line 78  sub run {
78          warn "rendering memory\n";          warn "rendering memory\n";
79          $self->render_mem( @mem );          $self->render_mem( @mem );
80    
         M6502::reset();  
   
81          $self->loop( sub {          $self->loop( sub {
82                  my $run_for = shift;                  my $run_for = shift;
83                  warn sprintf("about to exec from PC %04x for %d cycles\n", $PC, $run_for) if $self->trace;                  warn sprintf("about to exec from PC %04x for %d cycles\n", $PC, $run_for) if $self->trace;

Legend:
Removed from v.213  
changed lines
  Added in v.214

  ViewVC Help
Powered by ViewVC 1.1.26