9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: phillip stanley-marbell <pstanley@ece.cmu.edu>
To: 9fans@cse.psu.edu
Subject: Re: Drawterm and Inferno? Was: [9fans] fortune-worthy
Date: Sat, 20 Dec 2003 13:47:50 -0500	[thread overview]
Message-ID: <02C46AAF-331D-11D8-8047-000A95C53D8A@ece.cmu.edu> (raw)
In-Reply-To: <6041acc575ef487dea8e6c664cc75f21@caldo.demon.co.uk>

I recently (yesterday) got most of the inferno/utils to compile
for a device (a second VM for inferno, models Hitachi SH3)
that i did a few years ago. The obvious neat thing is that these
C programs can do things like draw on the screen via /dev/draw.

This means I now have [01258k][acl] which run over inferno.
I currently build the device into the Windows, MacOS and Linux
emu binaries. Integration into a native kernel is next (I had some
issues when i originally tried a few years ago, and lost interest).
It will be nice to have a native inferno that can build itself.

There are still a few rough edges i need to clear up, and I'm obviously
doing this for reasons best understood by myself. The speed is not
that great (currently about 10 MIPS on a P4 1GHz), but there are
ways to get almost an order of magnitude speed improvement.

I have a few other unix programs already running on it:
	bzip2, gzip, mpeg2enc, gcc (actually, just cc1).

The source for the device has been on my web page for a while,
I just recently upgraded it to fit into inferno4e.

cheers,
pip


On Dec 20, 2003, at 7:40 AM, Charles Forsyth wrote:
> might as well use/do an emulator for an existing architecture that's
> reasonably straightforward, such as MIPS (perhaps with simpler
> `kernel mode' interfaces).   unfortunately, you'd still need to do
> virtual devices and those would need to turn round and invoke
> the underlying systems's primitives, to access graphics and files for
> instance,
> so it's not clear that it simplifies things much.
>
> From: "Skip Tavakkolian" <fst@centurytel.net>
> Date: December 20, 2003 1:16:58 AM EST
> To: 9fans@cse.psu.edu
> Subject: Re: Drawterm and Inferno? Was: [9fans] fortune-worthy
> Reply-To: 9fans@cse.psu.edu
>
>
>>>> it not be relatively easy (or at least, easier than it was) to
>>>> rewrite
>>>> drawterm in limbo?
>>
>> i'd have thought it would be close to a shell script,
>> given some commands that roger has done to interact
>> with rio, that might (or might not) even be in the current
>> distribution.
>>
>> much of drawterm is similar to a large subset of emu
>> (and supporting libraries).
>
> What about a VM for the simplest machine possible that can run Plan9?
> Add a C compiler for the architecture and then everyhting just runs.
>



  parent reply	other threads:[~2003-12-20 18:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-20  6:16 Skip Tavakkolian
2003-12-20 12:23 ` paurea
2003-12-20 16:12   ` Skip Tavakkolian
2003-12-21  1:54     ` boyd, rounin
2003-12-20 18:01       ` Skip Tavakkolian
2003-12-20 12:40 ` Charles Forsyth
2003-12-19  1:40   ` Russ Cox
2003-12-20 16:17     ` Skip Tavakkolian
2003-12-20 18:47   ` phillip stanley-marbell [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-12-17 15:24 David Presotto
2003-12-18  7:57 ` Skip Tavakkolian
2003-12-19  3:32   ` Drawterm and Inferno? Was: " Martin C.Atkins
2003-12-19  8:18     ` Charles Forsyth
2003-12-19  8:26       ` Martin C.Atkins
2003-12-19 15:21     ` boyd, rounin

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=02C46AAF-331D-11D8-8047-000A95C53D8A@ece.cmu.edu \
    --to=pstanley@ece.cmu.edu \
    --cc=9fans@cse.psu.edu \
    /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).