mirror of
https://github.com/DoctorWkt/pdp7-unix.git
synced 2026-04-24 19:40:14 +00:00
cas.s performs zero word writes: a7out was die-ing: make it a noop
This commit is contained in:
@@ -1124,7 +1124,7 @@ sub sys_write {
|
||||
my $count = $Mem[ $PC + 2 ];
|
||||
my $end = ( $start + $count - 1 ) & MAXADDR;
|
||||
die("sys_write: bad start/end addresses $start $end\n")
|
||||
if ( $end < $start );
|
||||
if ( $count != 0 && $end < $start );
|
||||
printf( "write: %d words from %s to fd %d\n", $count, addr($start), $fd )
|
||||
if ( ($debug) || ($singlestep) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user