9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] a simple game.
@ 2005-03-09 23:20 Federico Benavento
  2005-03-09 23:37 ` andrey mirtchovski
  0 siblings, 1 reply; 15+ messages in thread
From: Federico Benavento @ 2005-03-09 23:20 UTC (permalink / raw)
  To: 9fans

http://www.tip9ug.jp/who/fgb/memo.tgz

enjoy.
--
Federico G. Benavento


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] a simple game.
  2005-03-09 23:20 [9fans] a simple game Federico Benavento
@ 2005-03-09 23:37 ` andrey mirtchovski
  2005-03-10  0:00   ` Federico Benavento
  0 siblings, 1 reply; 15+ messages in thread
From: andrey mirtchovski @ 2005-03-09 23:37 UTC (permalink / raw)
  To: 9fans

that's nmice, i used to play the polist version (pexeso) as a kid a lot
:) now you need to add images in and make it 128x128 squares ;)

> http://www.tip9ug.jp/who/fgb/memo.tgz
>
> enjoy.
> --
> Federico G. Benavento



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] a simple game.
  2005-03-09 23:37 ` andrey mirtchovski
@ 2005-03-10  0:00   ` Federico Benavento
  2005-03-10  0:28     ` Adrian Tritschler
                       ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Federico Benavento @ 2005-03-10  0:00 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> that's nmice, i used to play the polist version (pexeso) as a kid a lot
> :) now you need to add images in and make it 128x128 squares ;)
he, he.

wrote it some time ago, to see how was programming with libdraw,
borrowed somo code from colors.c

--
Federico G. Benavento


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] a simple game.
  2005-03-10  0:00   ` Federico Benavento
@ 2005-03-10  0:28     ` Adrian Tritschler
  2005-03-10  0:42     ` David Leimbach
  2005-03-10  1:05     ` andrey mirtchovski
  2 siblings, 0 replies; 15+ messages in thread
From: Adrian Tritschler @ 2005-03-10  0:28 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Federico Benavento wrote:
>>that's nmice, i used to play the polist version (pexeso) as a kid a lot
>>:) now you need to add images in and make it 128x128 squares ;)

> he, he.

> wrote it some time ago, to see how was programming with libdraw,
> borrowed somo code from colors.c

*chuckle* I can even waste time playing it on plan9ports

	Adrian

---------------------------------------------------------------
Adrian Tritschler                          mailto:ajft@ajft.org
Latitude 38°S, Longitude 145°E, Altitude 50m,      Shoe size 44
---------------------------------------------------------------


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] a simple game.
  2005-03-10  0:00   ` Federico Benavento
  2005-03-10  0:28     ` Adrian Tritschler
@ 2005-03-10  0:42     ` David Leimbach
  2005-03-10  1:05     ` andrey mirtchovski
  2 siblings, 0 replies; 15+ messages in thread
From: David Leimbach @ 2005-03-10  0:42 UTC (permalink / raw)
  To: Federico Benavento, Fans of the OS Plan 9 from Bell Labs

That's really COOL!  and a nice example program.

Dave
On Wed, 9 Mar 2005 21:00:36 -0300, Federico Benavento
<benavento@gmail.com> wrote:
> > that's nmice, i used to play the polist version (pexeso) as a kid a lot
> > :) now you need to add images in and make it 128x128 squares ;)
> he, he.
>
> wrote it some time ago, to see how was programming with libdraw,
> borrowed somo code from colors.c
>
> --
> Federico G. Benavento
>


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] a simple game.
  2005-03-10  0:00   ` Federico Benavento
  2005-03-10  0:28     ` Adrian Tritschler
  2005-03-10  0:42     ` David Leimbach
@ 2005-03-10  1:05     ` andrey mirtchovski
  2005-03-10  1:21       ` David Leimbach
  2 siblings, 1 reply; 15+ messages in thread
From: andrey mirtchovski @ 2005-03-10  1:05 UTC (permalink / raw)
  To: benavento, 9fans

i know, i know -- use 9fans' faces for images!

"sh*t, where did choate go???!"



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] a simple game.
  2005-03-10  1:05     ` andrey mirtchovski
@ 2005-03-10  1:21       ` David Leimbach
  2005-03-10  5:37         ` Federico Benavento
  0 siblings, 1 reply; 15+ messages in thread
From: David Leimbach @ 2005-03-10  1:21 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Wed, 9 Mar 2005 18:05:15 -0700, andrey mirtchovski
<mirtchov@cpsc.ucalgary.ca> wrote:
> i know, i know -- use 9fans' faces for images!


That'd be pretty cool :)


>
> "sh*t, where did choate go???!"
>
>


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] a simple game.
  2005-03-10  1:21       ` David Leimbach
@ 2005-03-10  5:37         ` Federico Benavento
  2005-03-10  5:39           ` Federico Benavento
  0 siblings, 1 reply; 15+ messages in thread
From: Federico Benavento @ 2005-03-10  5:37 UTC (permalink / raw)
  To: 9fans

Here the same game, but using face(6).

http://www.tip9ug.jp/who/fgb/mfaces.c

--
Federico G. Benavento


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] a simple game.
  2005-03-10  5:37         ` Federico Benavento
@ 2005-03-10  5:39           ` Federico Benavento
  2005-03-10  6:18             ` Russ Cox
  0 siblings, 1 reply; 15+ messages in thread
From: Federico Benavento @ 2005-03-10  5:39 UTC (permalink / raw)
  To: 9fans

I used flags, becouse i didn't want to hurt anybody's feelings ;-)

> Here the same game, but using face(6).
>
> http://www.tip9ug.jp/who/fgb/mfaces.c
>
> --
> Federico G. Benavento
>


--
Federico G. Benavento


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] a simple game.
  2005-03-10  5:39           ` Federico Benavento
@ 2005-03-10  6:18             ` Russ Cox
  2005-03-10  6:35               ` andrey mirtchovski
  0 siblings, 1 reply; 15+ messages in thread
From: Russ Cox @ 2005-03-10  6:18 UTC (permalink / raw)
  To: Federico Benavento, Fans of the OS Plan 9 from Bell Labs

> I used flags, becouse i didn't want to hurt anybody's feelings ;-)

installed as games/memo using faces.

russ


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] a simple game.
  2005-03-10  6:18             ` Russ Cox
@ 2005-03-10  6:35               ` andrey mirtchovski
  2005-03-10 20:11                 ` [9fans] Intel Vanderpool VM extensions Wes Kussmaul
  0 siblings, 1 reply; 15+ messages in thread
From: andrey mirtchovski @ 2005-03-10  6:35 UTC (permalink / raw)
  To: 9fans

by the way, games don't seem to be recompiled whenever a change comes
up... for example the sokoban binary won't find the difficult levels
(available through the menu popup)

On Thu, 10 Mar 2005, Russ Cox wrote:

>> I used flags, becouse i didn't want to hurt anybody's feelings ;-)
>
> installed as games/memo using faces.
>
> russ
>


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [9fans] Intel Vanderpool VM extensions
  2005-03-10  6:35               ` andrey mirtchovski
@ 2005-03-10 20:11                 ` Wes Kussmaul
  2005-03-10 22:55                   ` Derek Fawcus
  0 siblings, 1 reply; 15+ messages in thread
From: Wes Kussmaul @ 2005-03-10 20:11 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


Some people on the Eros list had difficulty finding information about
Intel's new Vanderpool VM extensions. Someone came up with:

<http://www.intel.com/cd/ids/developer/asmo-na/eng/197666.htm>.

...which I thought I'd pass along in case Plan 9 folks had similar difficulty.

Wes Kussmaul






^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] Intel Vanderpool VM extensions
  2005-03-10 20:11                 ` [9fans] Intel Vanderpool VM extensions Wes Kussmaul
@ 2005-03-10 22:55                   ` Derek Fawcus
  2005-03-11  5:29                     ` Martin C.Atkins
  0 siblings, 1 reply; 15+ messages in thread
From: Derek Fawcus @ 2005-03-10 22:55 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Thu, Mar 10, 2005 at 03:11:07PM -0500, Wes Kussmaul wrote:
>
> Some people on the Eros list had difficulty finding information about
> Intel's new Vanderpool VM extensions. Someone came up with:
>
> <http://www.intel.com/cd/ids/developer/asmo-na/eng/197666.htm>.
>
> ...which I thought I'd pass along in case Plan 9 folks had similar difficulty.

Interesting... I'd not heard of this.  SoI had a quick glance...

Does this stuff make the x86 completely virtualisable without
jumping through the hoops that vmware / qemu have to follow?

DF


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] Intel Vanderpool VM extensions
  2005-03-10 22:55                   ` Derek Fawcus
@ 2005-03-11  5:29                     ` Martin C.Atkins
  2005-03-11 15:24                       ` Derek Fawcus
  0 siblings, 1 reply; 15+ messages in thread
From: Martin C.Atkins @ 2005-03-11  5:29 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Thu, 10 Mar 2005 22:55:05 +0000 Derek Fawcus <dfawcus@cisco.com> wrote:
>..
> > <http://www.intel.com/cd/ids/developer/asmo-na/eng/197666.htm>.
>..
> Interesting... I'd not heard of this.  SoI had a quick glance...
>
> Does this stuff make the x86 completely virtualisable without
> jumping through the hoops that vmware / qemu have to follow?

I don't know. Looks complicated, doesn't it? It was a lack of vision
that they didn't make the architecture virtualizable, right from the
start (when the 386 was defined, or even earlier), like PowerPC. Does
PowerPC (for example) need special instructions? Ugh! I though it was
enough if the 'right' instructions did the 'right' things. This is all
very...., very Intelly, isn't it?

BTW: [Is ARM natively virtualizable? I can't remember, but I suspect not]

As I understand it, the hoops that Vmware has to go through are
somewhat different from those that qemu uses. Vmware 'interprets'
code in pages containing non-virtualizable instructions, and lets the
rest execute natively, while qemu just 'interprets' everything. Hence
qemu can run x86 operating systems on non-x86 processors (and
vice-versa), but Vmware should be faster (especially for application
code). Of course, both use similar JIT-like techniques to make the
'interpretation' go as fast as possible.

However, this means that yes, Vanderpool would/should (assuming
they've got it "right" :-) make vmware 'trivial' (like MOL
(maconlinux) is, on the Mac), but no, it will not help qemu at all,
since the JIT interpretation of code is central to qemu's approach.

[Although there is no reason, in principle, why qemu couldn't also
"give up on" interpretation in the 'right' circumstances (x86 on x86,
user-mode pages, etc), a direction that I believe bochs is following,
thus blurring the differences further. It would probably need a
kernel module 'helper' to do this, though.]

That's my understanding, anyway. Please correct/clarify...

Martin

--
Martin C. Atkins			martin_ml@parvat.com
Parvat Infotech Private Limited		http://www.parvat.com{/,/martin}


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] Intel Vanderpool VM extensions
  2005-03-11  5:29                     ` Martin C.Atkins
@ 2005-03-11 15:24                       ` Derek Fawcus
  0 siblings, 0 replies; 15+ messages in thread
From: Derek Fawcus @ 2005-03-11 15:24 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Fri, Mar 11, 2005 at 10:59:56AM +0530, Martin C.Atkins wrote:
> On Thu, 10 Mar 2005 22:55:05 +0000 Derek Fawcus <dfawcus@cisco.com> wrote:
> >..
> > > <http://www.intel.com/cd/ids/developer/asmo-na/eng/197666.htm>.
> >..
> > Interesting... I'd not heard of this.  SoI had a quick glance...
> >
> > Does this stuff make the x86 completely virtualisable without
> > jumping through the hoops that vmware / qemu have to follow?
>
> I don't know. Looks complicated, doesn't it?

I did a bit more reading around,  and yup it does look like it'll
do it.  However it does it my sort of creating a 'ring -1' and
having the lower rings virtualised.  So...  what if one want's
to virtualise 'ring -1' :-)

> However, this means that yes, Vanderpool would/should (assuming
> they've got it "right" :-) make vmware 'trivial' (like MOL
> (maconlinux) is, on the Mac), but no, it will not help qemu at all,
> since the JIT interpretation of code is central to qemu's approach.

Actually it could help qemu - given that kqemu already exists.  It'd
just mean that kqemu would be able to handle rings 0/1/2 as well as
ring 3.

DF


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2005-03-11 15:24 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-09 23:20 [9fans] a simple game Federico Benavento
2005-03-09 23:37 ` andrey mirtchovski
2005-03-10  0:00   ` Federico Benavento
2005-03-10  0:28     ` Adrian Tritschler
2005-03-10  0:42     ` David Leimbach
2005-03-10  1:05     ` andrey mirtchovski
2005-03-10  1:21       ` David Leimbach
2005-03-10  5:37         ` Federico Benavento
2005-03-10  5:39           ` Federico Benavento
2005-03-10  6:18             ` Russ Cox
2005-03-10  6:35               ` andrey mirtchovski
2005-03-10 20:11                 ` [9fans] Intel Vanderpool VM extensions Wes Kussmaul
2005-03-10 22:55                   ` Derek Fawcus
2005-03-11  5:29                     ` Martin C.Atkins
2005-03-11 15:24                       ` Derek Fawcus

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).