[Simh] Unix SYS III on SIMH

Andru Luvisi luvisi at gmail.com
Thu May 21 14:24:42 EDT 2009


On Thu, May 21, 2009 at 11:12 AM, Jason Stevens <neozeed at gmail.com> wrote:
> Hmm so I changed the x00's to xff's and it just hangs at the boot..
[snip]

Sorry, I wasn't clear.  It's x00's for the end of file markers, but
xff's for the end of media.  Try something like this:

  ...
  add_file("tape1_set1_file5.dat", 5120);
  end_file();
  add_file("tape1_set1_file6.dat", 5120);
  end_file();
  end_tape(); # Here's the difference.

  sub end_file {
   print "\x00\x00\x00\x00";
  }

  # New procedure.
  sub end_tape {
   print "\xff\xff\xff\xff";
  }
  ...

It that doesn't work, try deleting the very last end_file().  It if
still doesn't work, then I'm out of ideas.

Best of luck,
Andru


More information about the Simh mailing list