From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mirv.inri.net ([167.88.120.88]) by ur; Tue Apr 25 23:25:51 EDT 2017 Received: from [10.250.8.240] ([166.175.189.255]) by mirv; Tue Apr 25 23:25:51 EDT 2017 From: Stanley Lieber Content-Type: multipart/alternative; boundary=Apple-Mail-C4001145-DEC8-48EF-BB38-71A888632FD8 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) Subject: Fwd: [TUHS] 8th Edition Research Unix on SIMH Date: Tue, 25 Apr 2017 23:25:47 -0400 Message-Id: <3AA1B338-5347-40BE-BB5E-C4BDC5B0021F@stanleylieber.com> References: To: 9front@9front.org X-Mailer: iPhone Mail (14E304) List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: asynchronous encrypted callback XML over XML realtime firewall template full-stack backend --Apple-Mail-C4001145-DEC8-48EF-BB38-71A888632FD8 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Begin forwarded message: > From: Tim Newsham > Date: April 25, 2017 at 11:05:25 PM EDT > To: mjkerpan@kerpan.com > Cc: The Eunuchs Hysterical Society > Subject: Re: [TUHS] 8th Edition Research Unix on SIMH >=20 > I got the 9front blit sources to build and run in plan9port. There's > some serious graphics issue right now causing a lot of flicker and > sometimes causing the graphics to not appear at all.. Anyone here > good with plan9port graphics ports? >=20 > https://github.com/timnewsham/blit >=20 >=20 >> On Thu, Mar 30, 2017 at 7:05 PM, Michael Kerpan wro= te: >> Has the Blit emulator been ported to anything other than Plan 9 or >> does one need to set up a VM running Plan 9 to test out the graphics? >>=20 >> Mike >>=20 >> On Thu, Mar 30, 2017 at 2:30 PM, David du Colombier <0intro@gmail.com> wr= ote: >> > This image is ready to be used with aiju's Blit emulator, >> > which is available as part of 9front. >> > >> > http://code.9front.org/hg/plan9front/file/tip/sys/src/games/blit >> > >> > This emulator works on most Plan 9 distributions. You just >> > have to copy the /sys/lib/blit and /sys/src/games/blit >> > directories to your system. >> > >> > With the v8.ini startup file provided, the console will be >> > listening on port 8888/tcp once SIMH has been started. >> > >> > You have to run the emulator and connect to the console: >> > >> > % cd /sys/src/games/blit >> > % mk install >> > % games/blit -t tcp!hostname!8888 >> > >> > Once connected, enter your login and password. >> > >> > login: root >> > >> > Then, you can launch the mux window system: >> > >> > $ /usr/blit/bin/mux >> > >> > Once started, you can run any graphical program. >> > Binaries are located in the /usr/blit/bin directory. >> > >> > For example, here is jim text editor: >> > >> > http://9legacy.org/img/v8/jim_01.png >> > >> > -- >> > David du Colombier >=20 >=20 >=20 > --=20 > Tim Newsham | www.thenewsh.com/~newsham | @newshtwit | thenewsh.blogspot.c= om --Apple-Mail-C4001145-DEC8-48EF-BB38-71A888632FD8 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable



Begin forwarded= message:

From: Tim Newsh= am <tim.newsham@gmail.com>= ;
Date: April 25, 2017 at 11:05:25 PM EDT
To: mjkerpan@kerpan.com
Cc: The Eunuc= hs Hysterical Society <tuhs@tuhs.org= >
Subject: Re: [TUHS] 8th Edition Research Unix on SIMH<= br>
I g= ot the 9front blit sources to build and run in plan9port.  There's
= some serious graphics issue right now causing a lot of flicker and
sometimes causing the graphics to not appear at all..  Anyone here
good with plan9port graphics ports?



On Thu, Mar 30, 2017 at 7:05 PM, Michael Kerpan <mjkerpan@kerp= an.com> wrote:
Has the Blit e= mulator been ported to anything other than Plan 9 or
does one need to set up a VM running Plan 9 to test out the graphics?

Mike

On Thu, Mar 30, 2017 at 2:30 PM, David du Colombier <0intro@gmail.com> wrote:
> This image is ready to be used with aiju's Blit emulator,
> which is available as part of 9front.
>
> http://code.9front.org/hg/pl= an9front/file/tip/sys/src/games/blit
>
> This emulator works on most Plan 9 distributions. You just
> have to copy the /sys/lib/blit and /sys/src/games/blit
> directories to your system.
>
> With the v8.ini startup file provided, the console will be
> listening on port 8888/tcp once SIMH has been started.
>
> You have to run the emulator and connect to the console:
>
> % cd /sys/src/games/blit
> % mk install
> % games/blit -t tcp!hostname!8888
>
> Once connected, enter your login and password.
>
> login: root
>
> Then, you can launch the mux window system:
>
> $ /usr/blit/bin/mux
>
> Once started, you can run any graphical program.
> Binaries are located in the /usr/blit/bin directory.
>
> For example, here is jim text editor:
>
> http://9legacy.org/img/v8/jim_01.png
>
> --
> David du Colombier



--
<= div class=3D"gmail_signature" data-smartmail=3D"gmail_signature">Tim Newsham= | www.thenew= sh.com/~newsham | @newshtwit | thenewsh.blogspot.com
= --Apple-Mail-C4001145-DEC8-48EF-BB38-71A888632FD8-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qt0-f182.google.com ([209.85.216.182]) by ur; Wed Apr 26 00:10:32 EDT 2017 Received: by mail-qt0-f182.google.com with SMTP id m36so156828340qtb.0 for <9front@9front.org>; Tue, 25 Apr 2017 21:10:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=XKbkmgxP8SCF7yygAhQdve2HbMN9tyOeMGpVumxcMx0=; b=FSaBeyG6S9tSsE8/9xZVJnEgrcyByDhh2Rjpc38ralllBdh19ntkxBsNY14EzeUT2u wcQfgXoAtfmEaBBmNMFsBTK7ILPwLScXVJHDtLOqmfAtOXoD9T8n0qTR0x52uIpjy+tl MY1NL2xQEleh6Ke4JFBY40cxNYGeGa2uvCKM5XQaKS2NXbUgSbzvSwnZXbXtgGbprDBs OdOcf3CONGkhrRHB18woD1XCSblPm1ZFY5imj30jZt9QGfb/u2erBcGZkovFjAI+/mdk lLmU29Wgy3faR90YXah/PaitVEy0056v20yUFyT0z/7gAv29RXl+vakuIU+ujhgtKn8V VnQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=XKbkmgxP8SCF7yygAhQdve2HbMN9tyOeMGpVumxcMx0=; b=S6acYZqwMSHjB163DmbblpPus8L17gjQahG5udk/1lOJ5nb8svNE2K6EYTp6bn0EWs vJUnfT/9xG1pfmb5R2+bIQw0NHqTTqGEHcTnoBIUX/PN98pLk8es0aRgivJCxGZMVU2M Xxyr5qf9E9QFR6WI29JinT8YdjhKMGv/p68KbgUYXai30sedZ5u2UpkKp/3CuqXBOeTf bQL+6gznXtg9WAOIJZus0WvEHUiMrJT5K4a2NuvCL8yewTDIs7UrolUYG2IzHnQMemsd jcHeJr0QKTV/1V9SKphilOOq888i4EOM9lQil/rMIlntVxE+hixvijf+2/Ah7FsxvGGt 1uHw== X-Gm-Message-State: AN3rC/62fy+WUHSNACk+ahAZOm/FPMDNZGUxsdHNpbNOFJcfPiC1pi/Y qNNq16gbjFP6wMZ8P0SnWeddIJH3tA== X-Received: by 10.200.35.59 with SMTP id a56mr32893834qta.81.1493179829956; Tue, 25 Apr 2017 21:10:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.172.225 with HTTP; Tue, 25 Apr 2017 21:10:29 -0700 (PDT) In-Reply-To: <3AA1B338-5347-40BE-BB5E-C4BDC5B0021F@stanleylieber.com> References: <3AA1B338-5347-40BE-BB5E-C4BDC5B0021F@stanleylieber.com> From: Bruce Ellis Date: Wed, 26 Apr 2017 14:10:29 +1000 Message-ID: Subject: Re: [9front] Fwd: [TUHS] 8th Edition Research Unix on SIMH To: 9front@9front.org Content-Type: multipart/alternative; boundary=001a113a862059d9a5054e0a053f List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: private factory strategy module hosting --001a113a862059d9a5054e0a053f Content-Type: text/plain; charset=UTF-8 I had Blit serial number 4 here in Sydney. The labs were very generous. It was great to use until the microvax with 10th edition that the labs sent me finally gave up. brucee On 26 April 2017 at 13:25, Stanley Lieber wrote: > > > > Begin forwarded message: > > *From:* Tim Newsham > *Date:* April 25, 2017 at 11:05:25 PM EDT > *To:* mjkerpan@kerpan.com > *Cc:* The Eunuchs Hysterical Society > *Subject:* *Re: [TUHS] 8th Edition Research Unix on SIMH* > > I got the 9front blit sources to build and run in plan9port. There's > some serious graphics issue right now causing a lot of flicker and > sometimes causing the graphics to not appear at all.. Anyone here > good with plan9port graphics ports? > > https://github.com/timnewsham/blit > > > On Thu, Mar 30, 2017 at 7:05 PM, Michael Kerpan > wrote: > >> Has the Blit emulator been ported to anything other than Plan 9 or >> does one need to set up a VM running Plan 9 to test out the graphics? >> >> Mike >> >> On Thu, Mar 30, 2017 at 2:30 PM, David du Colombier <0intro@gmail.com> >> wrote: >> > This image is ready to be used with aiju's Blit emulator, >> > which is available as part of 9front. >> > >> > http://code.9front.org/hg/plan9front/file/tip/sys/src/games/blit >> > >> > This emulator works on most Plan 9 distributions. You just >> > have to copy the /sys/lib/blit and /sys/src/games/blit >> > directories to your system. >> > >> > With the v8.ini startup file provided, the console will be >> > listening on port 8888/tcp once SIMH has been started. >> > >> > You have to run the emulator and connect to the console: >> > >> > % cd /sys/src/games/blit >> > % mk install >> > % games/blit -t tcp!hostname!8888 >> > >> > Once connected, enter your login and password. >> > >> > login: root >> > >> > Then, you can launch the mux window system: >> > >> > $ /usr/blit/bin/mux >> > >> > Once started, you can run any graphical program. >> > Binaries are located in the /usr/blit/bin directory. >> > >> > For example, here is jim text editor: >> > >> > http://9legacy.org/img/v8/jim_01.png >> > >> > -- >> > David du Colombier >> > > > > -- > Tim Newsham | www.thenewsh.com/~newsham | @newshtwit | > thenewsh.blogspot.com > > --001a113a862059d9a5054e0a053f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I had Blit serial number 4 here in Sydney. The labs were v= ery generous. It was great to use until the microvax with 10th edition that= the labs sent me finally gave up.

brucee

On 26 April 2017 at = 13:25, Stanley Lieber <sl@stanleylieber.com> wrote:



= Begin forwarded message:

Fro= m: Tim Newsham <tim.newsham@gmail.com>
Date: April 25, 2017 at 11:0= 5:25 PM EDT
To: mjkerpan@kerpan.com
Cc: The Eunuchs Hysterical Societ= y <tuhs@tuhs.org&= gt;
Subject: Re: [TUHS] 8th Edition Research Unix on SIMH<= br>
I= got the 9front blit sources to build and run in plan9port.=C2=A0 There'= ;s
some serious graphics issue right now causing a lot of flicker and
sometimes causing the graphics to not appear at all..=C2=A0 Anyone= here
good with plan9port graphics ports?

https://= github.com/timnewsham/blit


On Thu, Mar 30, 2017 at 7:= 05 PM, Michael Kerpan <mjkerpan@kerpan.com> wrote:
Has the Blit emulator been ported to anything ot= her than Plan 9 or
does one need to set up a VM running Plan 9 to test out the graphics?

Mike

On Thu, Mar 30, 2017 at 2:30 PM, David du Colombier <0intro@gmail.com> wrote:
> This image is ready to be used with aiju's Blit emulator,
> which is available as part of 9front.
>
> http://code.9front.org/hg/plan<= wbr>9front/file/tip/sys/src/games/blit
>
> This emulator works on most Plan 9 distributions. You just
> have to copy the /sys/lib/blit and /sys/src/games/blit
> directories to your system.
>
> With the v8.ini startup file provided, the console will be
> listening on port 8888/tcp once SIMH has been started.
>
> You have to run the emulator and connect to the console:
>
> % cd /sys/src/games/blit
> % mk install
> % games/blit -t tcp!hostname!8888
>
> Once connected, enter your login and password.
>
> login: root
>
> Then, you can launch the mux window system:
>
> $ /usr/blit/bin/mux
>
> Once started, you can run any graphical program.
> Binaries are located in the /usr/blit/bin directory.
>
> For example, here is jim text editor:
>
> http://9legacy.org/img/v8/jim_01.png
>
> --
> David du Colombier



--
Tim Newsham | www.thenewsh.c= om/~newsham | @newshtwit | thenewsh.blogspot.com

--001a113a862059d9a5054e0a053f-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wopr.sciops.net ([216.126.196.60]) by ur; Wed Apr 26 00:22:54 EDT 2017 Received: (qmail 71602 invoked by uid 1001); 25 Apr 2017 21:22:50 -0700 Date: Tue, 25 Apr 2017 21:22:50 -0700 From: Kurt H Maier To: 9front@9front.org Subject: Re: [9front] Fwd: [TUHS] 8th Edition Research Unix on SIMH Message-ID: <20170426042250.GD16484@wopr> Mail-Followup-To: 9front@9front.org References: <3AA1B338-5347-40BE-BB5E-C4BDC5B0021F@stanleylieber.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: advanced webscale CMS-scale shader-based interface On Wed, Apr 26, 2017 at 02:10:29PM +1000, Bruce Ellis wrote: > I had Blit serial number 4 here in Sydney. The labs were very generous. It > was great to use until the microvax with 10th edition that the labs sent me > finally gave up. > > brucee Do you happen to remember what model keyboard those things shipped with? I'm also interested in any information about the protocol the depraz mice spoke -- there appear to have been several models (including a usb retrofit). khm From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk0-f178.google.com ([209.85.220.178]) by ur; Wed Apr 26 00:41:13 EDT 2017 Received: by mail-qk0-f178.google.com with SMTP id f76so82845074qke.2 for <9front@9front.org>; Tue, 25 Apr 2017 21:41:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=uyhp0hUnMY3VT3u6HIC9Y4Ncs8XyEaIG4JMYjJiYh8M=; b=psHmW3cWlWFE6xabFX/cGThrs4oSHrYRdGq2Cvg0hUfMct4oURG/TwjKKX0vnSN+dK 28sT0RKWncB2OXHnVkvUxQIa6ByK6v+M6nEz1+5vixT3Rb12i8rK+vBvyEgVEVste6AP g5+vSJKtHjgSAVbwNu07bxIL3zdcC1+sJJYykba7sXKjZsVuceZoPDqbiwHZPaBYUgVa G4oRXJRSNYtxjsiuIlzaJyfV7oMvgpLaR4LoO6jySH1/ObvjWjfLiV1KcyHX6/xoq2z4 1VCM8l7SUn/hEPGWyipfiZG1mqfeyDbHAIrVnUp+dOx1FMIE6e7mbgoKd5dCx26OtWK4 68+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=uyhp0hUnMY3VT3u6HIC9Y4Ncs8XyEaIG4JMYjJiYh8M=; b=pnALwgt7x4B+ImggwsAYh4qfdrVlgBcVxXvnzrFpANRcC7uIq9SSf43/gfaBrPUWfe XG7H783OEefW7C44TLwNnbth/QxuGiRrra3NPKIkvIluAJERNhWZwuVRVjz/Nt48q0bb D8ze2wnFWOha0KAXHlAuOKF1tGdQYzW2CurVZNAEyln+q5sDWa/Pl9EZ/8ou/l+gJYav 5SN4zlElPW7xFFzgILZIyUWx3GpF7qXZEEe1woMv3GzrNRMfTjen0X9IMl3iHLLN0mlC ZnIq+pGcHJ/5BMn6JPtprfoO6phZwnZ7WqyXbuAHasLw8JSQHSg+15e5x6clpJ3pcgse b5SA== X-Gm-Message-State: AN3rC/5q7fred5xCz2qdQqeqou/YobKThZJtRZud+W1Y52aClHiEaeyW bvgen6MbiK9b3AtXuh8ckMcUBpTbGQ== X-Received: by 10.55.23.132 with SMTP id 4mr28486215qkx.85.1493181671024; Tue, 25 Apr 2017 21:41:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.172.225 with HTTP; Tue, 25 Apr 2017 21:41:10 -0700 (PDT) In-Reply-To: <20170426042250.GD16484@wopr> References: <3AA1B338-5347-40BE-BB5E-C4BDC5B0021F@stanleylieber.com> <20170426042250.GD16484@wopr> From: Bruce Ellis Date: Wed, 26 Apr 2017 14:41:10 +1000 Message-ID: Subject: Re: [9front] Fwd: [TUHS] 8th Edition Research Unix on SIMH To: 9front@9front.org Content-Type: multipart/alternative; boundary=001a1147a97e163165054e0a7337 List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: table singleton TOR over HTML NoSQL engine session-based realtime interface --001a1147a97e163165054e0a7337 Content-Type: text/plain; charset=UTF-8 The keyboard was clunky and made from military steel. Don't know the details. I know little about the mouse except that it was fantastic! Bart Locanthi is propably the best one to ask. He is currently working at Google in Zureich. Also on linkedin. brucee On 26 April 2017 at 14:22, Kurt H Maier wrote: > On Wed, Apr 26, 2017 at 02:10:29PM +1000, Bruce Ellis wrote: > > I had Blit serial number 4 here in Sydney. The labs were very generous. > It > > was great to use until the microvax with 10th edition that the labs sent > me > > finally gave up. > > > > brucee > > Do you happen to remember what model keyboard those things shipped with? > I'm also interested in any information about the protocol the depraz > mice spoke -- there appear to have been several models (including a usb > retrofit). > > khm > --001a1147a97e163165054e0a7337 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
The keyboard was clunky and made from military steel. Don&= #39;t know the details.

I know little about the mouse ex= cept that it was fantastic!

Bart Locanthi is propa= bly the best one to ask. He is currently working at Google in Zureich. Also= on linkedin.

brucee

On 26 April 2017 at 14:22, Kurt H M= aier <khm@sciops.net> wrote:
= On Wed, Apr 26, 2017 at 02:10:29PM +1000, Bruce Ellis wrot= e:
> I had Blit serial number 4 here in Sydney. The labs were very generous= . It
> was great to use until the microvax with 10th edition that the labs se= nt me
> finally gave up.
>
> brucee

Do you happen to remember what model keyboard those things shipped w= ith?
I'm also interested in any information about the protocol the depraz mice spoke -- there appear to have been several models (including a usb
retrofit).

khm

--001a1147a97e163165054e0a7337-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.openmailbox.org ([5.79.108.160]) by ur; Wed Apr 26 15:50:25 EDT 2017 Received: by mail.openmailbox.org (Postfix, from userid 20002) id C2C7950FFFB; Wed, 26 Apr 2017 21:50:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1493236222; bh=+iV1rvZS9cJvjzkySKjMothOZL6Uq3oBnk1jpDLVYlo=; h=Subject:To:References:From:Cc:Date:In-Reply-To:From; b=now6HmlbjnLs51mbkaf1bE5qoWXC4G5tgUCFuSpnBuOIwik25wHJZeGPcR2Sh4l7O Tp+G0HvDK9cu9K/xjHoUnyD5yJqVfBvAqUU5h1GB713bffT78OvRjbVOmvlaof4hGd 7gJ1j6JV89WfDt5/t2jnnNlVgmFFm6MShJPQjmSs= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR003 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=disabled version=3.4.0 Subject: Re: [9front] Fwd: [TUHS] 8th Edition Research Unix on SIMH DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1493236221; bh=+iV1rvZS9cJvjzkySKjMothOZL6Uq3oBnk1jpDLVYlo=; h=Subject:To:References:From:Cc:Date:In-Reply-To:From; b=iwnsP2g3ciP/6qHqJp6lsz58GAYW10ZbmKRaR/aXyjG8X9k0X6X7S42IsuJRMLPsu WtZLVQGvoUMf5HdQw34zuH9bIYljzj9WMLSUbwJTgLEEXntjt4+1/dQAsIpaks3Yol mGfBcZKDHVIcPakVYAMXtgJGWgnwAfEIRv6i1bfs= To: tim.newsham@gmail.com References: <3AA1B338-5347-40BE-BB5E-C4BDC5B0021F@stanleylieber.com> From: Tony Kaku Cc: 9front@9front.org, tuhs@tuhs.org Message-ID: <497749ae-2a3b-6932-ba9c-288153b2129f@openmailbox.org> Date: Wed, 26 Apr 2017 21:52:33 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <3AA1B338-5347-40BE-BB5E-C4BDC5B0021F@stanleylieber.com> Content-Type: multipart/mixed; boundary="------------268D8C2758C3366C17C8E335" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: open open-source API CMS high-performance locator This is a multi-part message in MIME format. --------------268D8C2758C3366C17C8E335 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On 04/26/2017 05:25 AM, Stanley Lieber wrote: > > > > Begin forwarded message: > >> *From:* Tim Newsham > > >> *Date:* April 25, 2017 at 11:05:25 PM EDT >> *To:* mjkerpan@kerpan.com >> *Cc:* The Eunuchs Hysterical Society > > >> *Subject:* *Re: [TUHS] 8th Edition Research Unix on SIMH* >> >> I got the 9front blit sources to build and run in plan9port. There's >> some serious graphics issue right now causing a lot of flicker and >> sometimes causing the graphics to not appear at all.. Anyone here >> good with plan9port graphics ports? >> >> https://github.com/timnewsham/blit >> >> Tim, I've already done my own port of the blit emulator to plan9port, but I didn't publish it anywhere. Although I see on your GitHub page that you've already solved the flicker problem, I thought I'd share my own solution as well. The attached patch was made with plain diff (I didn't put my port under version control) against 9front prior to changeset 5896 and only covers blit.c. It also changes the virtual screen drawing algorithm so it always displays the top left corner, as opposed to centering on the middle. This is handy on small resolution screens since apparently rsc's devdraw doesn't allow resizing windows to larger dimensions than the screen, and not displaying the top of the blit's screen causes the blit's cursor to be offset from the host system's. You can also use the added -m flag to supress hiding of the host cursor to make sure they are aligned. tkk --------------268D8C2758C3366C17C8E335 Content-Type: text/x-patch; name="blit.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="blit.patch" --- ../others/plan9front/sys/src/games/blit/blit.c 2017-04-26 21:26:05.918471287 +0200 +++ blit.c 2017-04-14 15:55:19.338245717 +0200 @@ -10,7 +10,6 @@ int baud = 40000; int scale = 1; -Rectangle picr; Image *tmp, *bg; Channel *keych, *uartrxch, *uarttxch; Mousectl *mc; @@ -22,14 +21,11 @@ Rectangle updated; u32int colbgv, colfgv; Image *colbg, *colfg; int realcolors; +Keyboardctl *keyboard; static void screeninit(void) { - Point p; - - p = divpt(addpt(screen->r.min, screen->r.max), 2); - picr = (Rectangle){subpt(p, Pt(scale * SX/2, scale * SY/2)), addpt(p, Pt(scale * SX/2, scale * SY/2))}; if(tmp != nil) freeimage(tmp); tmp = allocimage(display, Rect(0, 0, scale * SX, scale > 1 ? 1 : scale * SY), CHAN1(CMap, 1), scale > 1, 0); if(bg != nil) freeimage(bg); @@ -50,15 +46,15 @@ redraw(void) Mouse m; Rectangle r; - if(nbrecvul(mc->resizec) > 0){ + if((long)nbrecvul(mc->resizec) > 0){ if(getwindow(display, Refnone) < 0) sysfatal("resize failed: %r"); screeninit(); } while(nbrecv(mc->c, &m) > 0){ - if(ptinrect(m.xy, picr)){ - mousex = picr.max.x - m.xy.x - 1; - mousey = picr.max.y - m.xy.y - 1; + if(ptinrect(m.xy, screen->r)){ + mousex = screen->r.max.x - m.xy.x - 1; + mousey = screen->r.max.y - m.xy.y - 1; } n = m.buttons >> 2 & 1 | m.buttons & 2 | m.buttons << 2 & 4; if(n != mousebut){ @@ -88,44 +84,41 @@ redraw(void) loadimage(tmp, r, pic+o, Dy(r)*(SX/8)); if(realcolors){ - draw(screen, rectaddpt(r, picr.min), colfg, nil, r.min); - draw(screen, rectaddpt(r, picr.min), colbg, tmp, r.min); + draw(screen, rectaddpt(r, screen->r.min), colfg, nil, r.min); + draw(screen, rectaddpt(r, screen->r.min), colbg, tmp, r.min); }else - draw(screen, rectaddpt(r, picr.min), tmp, nil, r.min); + draw(screen, rectaddpt(r, screen->r.min), tmp, nil, r.min); updated = Rect(SX, SY, 0, 0); flushimage(display, 1); } static uchar keymap[] = { - [Kup-KF] 0xf1, - [Kdown-KF] 0xf2, - [Kleft-KF] 0xf3, - [Kright-KF] 0xf4, - [1] 0xf6, /* PF1 */ - [2] 0xf7, /* PF2 */ - [3] 0xf8, /* PF3 */ - [4] 0xf9, /* PF4 */ - [12] 0xfe, /* SET-UP */ - [Kpgdown-KF] 0xb0, /* SCROLL */ - [Kins-KF] 0xe0, /* BREAK */ + [Kup-KF] = 0xf1, +// [Kdown-KF] = 0xf2, + [0x80] = 0xf2, + [Kleft-KF] = 0xf3, + [Kright-KF] = 0xf4, + [1] = 0xf6, /* PF1 */ + [2] = 0xf7, /* PF2 */ + [3] = 0xf8, /* PF3 */ + [4] = 0xf9, /* PF4 */ + [12] = 0xfe, /* SET-UP */ + [Kpgdown-KF] = 0xb0, /* SCROLL */ + [Kins-KF] = 0xe0, /* BREAK */ }; - +/* static void -keyproc(void *) +keyproc(void *unused) { - int fd, cfd, ch, rc; + int fd, ch, rc; static char buf[256]; char *p; Rune r; - fd = open("/dev/cons", OREAD); + fd = open("/dev/tty", OREAD); if(fd < 0) sysfatal("open: %r"); - cfd = open("/dev/consctl", OWRITE); - if(cfd < 0) - sysfatal("open: %r"); - fprint(cfd, "rawon"); for(;;){ rc = read(fd, buf, sizeof(buf) - 1); if(rc <= 0) @@ -146,6 +139,29 @@ keyproc(void *) } } } +*/ + +static void +keyproc(void *unused) +{ + int ch; + Rune r; + + for(;;){ + recv(keyboard->c, &r); + if(r == Kend) + threadexitsall(nil); + ch = r; + if(ch == '\n') ch = '\r'; + else if(ch >= KF){ + if(ch >= KF + nelem(keymap)) continue; + ch = keymap[ch - KF]; + if(ch == 0) continue; + }else if(ch >= 0x80) continue; + //fprint(2, "%s", ch); + send(keych, &ch); + } +} void usage(void) @@ -157,12 +173,13 @@ usage(void) void threadmain(int argc, char **argv) { - int n; + int n, ms; static Cursor blank; char *telnet; char *p; extern int diag; + ms = 0; telnet = nil; ARGBEGIN{ case 'b': @@ -184,6 +201,9 @@ threadmain(int argc, char **argv) case 'd': diag++; break; + case 'm': + ms++; + break; default: usage(); }ARGEND; if(argc != 0) usage(); @@ -197,11 +217,13 @@ threadmain(int argc, char **argv) sysfatal("initdraw: %r"); screeninit(); + keyboard = initkeyboard(nil); proccreate(keyproc, nil, mainstacksize); mc = initmouse(nil, screen); if(mc == nil) sysfatal("initmouse: %r"); - setcursor(mc, &blank); + if(!ms) + setcursor(mc, &blank); cpureset(); for(;;){ --------------268D8C2758C3366C17C8E335--