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

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

revision 56 by dpavlin, Tue Jul 31 15:03:23 2007 UTC revision 59 by dpavlin, Tue Jul 31 16:06:27 2007 UTC
# Line 361  __USAGE__ Line 361  __USAGE__
361                          $a = $v if defined($v);                          $a = $v if defined($v);
362                          my $to = shift @v;                          my $to = shift @v;
363                          $to = $a + 32 if ( ! $to || $to <= $a );                          $to = $a + 32 if ( ! $to || $to <= $a );
364                          my $lines = int( ($to - $a - 8) / 8 );                          my $lines = int( ($to - $a + 8) / 8 );
365                          printf "## m %04x %04x lines: %d\n", $a, $to, $lines;                          printf "## e %04x %04x (%d bytes) lines: %d\n", $a, $to, ($to-$a), $lines;
366                          while ( $lines ) {                          while ( --$lines ) {
367                                  print $self->hexdump( $a );                                  print $self->hexdump( $a );
368                                  $a += 8;                                  $a += 8;
                                 $lines--;  
369                          }                          }
370                          $last = '+';                          $last = '+';
371                  } elsif ( $c =~ m/^\+/ ) {                  } elsif ( $c =~ m/^\+/ ) {

Legend:
Removed from v.56  
changed lines
  Added in v.59

  ViewVC Help
Powered by ViewVC 1.1.26