The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: MOCHIDA Shuji <mochid@netside.co.jp>
To: tuhs@minnie.tuhs.org
Subject: Re: [TUHS] 4.4BSD sparc, pmax binary recently compiled
Date: Sun, 07 Mar 2021 01:01:10 +0900 (JST)	[thread overview]
Message-ID: <20210307.010110.2129264166997997578.mochid@netside.co.jp> (raw)
In-Reply-To: <c9d03a56-166d-001e-e8b5-8a4fd190c6a3@gmail.com>


>  gxemul -X -e 3max -db:./bsd44f-pmax-self-20210224.dkimg -j vmunix

 You may add -o '-s' to boot single user, for setting time.

  # TZ=Japan date
  Sat Mar 6 20:11:12 JST 1994
  # TZ=Japan date 2103062012
  Sat Mar 6 20:12:00 JST 2021
  # fsck -p
  # ^D

That is same as NetBSD 1.1/pmax. Emulator GXemul returns fixed year
value 72 in gxemul-0.6.2/src/devices/dev_mc146818.cc
mc146818_update_time():244, 4.4BSD's src/sys/pmax/pmax/clock.c
inittodr() do year + YR_OFFSET -> 94, evry time you boot.

> Now I just need to figure out how to get things in and out of there!

 gxemul support NAPT networking by default, router 10.0.0.254 prepared.
You can add same network address to le0.

  # ifconfig le0 10.0.0.3
  # route add default 10.0.0.254

 If your gxemul is by pkgsrc, and above 0.6.2nb1, tap(4) support exists.

 I can use NFS (mount_nfs -P), and amd (use mount:=, unmount:=),
though low speed and unstable.

-mochid

  reply	other threads:[~2021-03-06 16:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-06  2:42 MOCHIDA Shuji
2021-03-06  7:35 ` Rico Pajarola
2021-03-06  8:00 ` Michael Huff
2021-03-06 16:01   ` MOCHIDA Shuji [this message]
2021-03-14  2:31 Jason Stevens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210307.010110.2129264166997997578.mochid@netside.co.jp \
    --to=mochid@netside.co.jp \
    --cc=tuhs@minnie.tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).