From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 4690 invoked from network); 13 Nov 2022 19:57:24 -0000 Received: from tb-ob20.topicbox.com (173.228.157.66) by inbox.vuxu.org with ESMTPUTF8; 13 Nov 2022 19:57:24 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob20.topicbox.com (Postfix) with ESMTP id 92B0629D97 for ; Sun, 13 Nov 2022 14:57:20 -0500 (EST) (envelope-from bounce.mMadeef7f2afb550d041fc4d19.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 420D03E0316; Sun, 13 Nov 2022 14:57:20 -0500 (EST) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=lFfo+1xf header.a=rsa-sha256 header.s=20210112 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; spf=pass smtp.mailfrom=type9freak@gmail.com smtp.helo=mail-pf1-f172.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type:list-help:list-id:list-post :list-subscribe:reply-to:content-transfer-encoding :list-unsubscribe; s=sysmsg-1; t=1668369440; bh=c6n4SMiiegSNxLAA HLKKfgNF4EvwBvs/Ol8uMHHbXhw=; b=LvbWlvB6QBo5hlvvBIIKEa33S1+Z3Ufm Y3a+WEJ4LE6n1Spe5jwf9mH5VmAyVUmotWVweC2apDvMaXsuaG6ii0jnhhufohcL 4eFdIvSLE78qYTE4aQS1ShKUet7UoL5KIlURD6WlHFOPQwUMmwCojkPeUDxrYHtn Idpvz7MdxxQ= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1668369440; b=XhPQscSflwzn7YM7k+Sxo6twdLpV8EAzywop/2ZWjc+A1KNdaV /VTabjMSu0wXTl2vRSNkW+hzvTlzbbW+5FMZW1qumNWFZyukyWswYBLXfJpjD5hZ 3yiagu35vA8flSzcPktzi5nCHS1HqoCgDNfonDAPYA8KA8pArbmNwYW8U= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=lFfo+1xf header.a=rsa-sha256 header.s=20210112 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; spf=pass smtp.mailfrom=type9freak@gmail.com smtp.helo=mail-pf1-f172.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=lFfo+1xf header.a=rsa-sha256 header.s=20210112 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.210.172 (mail-pf1-f172.google.com); spf=pass smtp.mailfrom=type9freak@gmail.com smtp.helo=mail-pf1-f172.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=uMTD5Ia0; x-me-sender=none; x-ptr=pass smtp.helo=mail-pf1-f172.google.com policy.ptr=mail-pf1-f172.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt2.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: alt2.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h= mime-version:references:in-reply-to:from:date:message-id:subject :to:content-type:list-help:list-id:list-post:list-subscribe :reply-to:content-transfer-encoding:list-unsubscribe; s=dkim-1; t=1668369440; x=1668455840; bh=UPySbt17Lh978YBTDVeRI7ybm9FwDYNA z85v16bAUho=; b=VAVMHybuPuI0efXaxuLuyKoSZsnFgxN08t9eaqAPDb7dXZGp ooKdtv2ive0KWbbhPtjc2CMFMkjDK8XPtojCu1d0+3/O0BDf1eJU1oCM0jJhrb9h JEoymYwVX/gm6R7eh1e13/k1ueGP4fQkVAuOtK6VLvPAoBh5q31LpdqydFk= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id BAD623DFEAA for <9fans@9fans.net>; Sun, 13 Nov 2022 14:57:07 -0500 (EST) (envelope-from type9freak@gmail.com) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id 5CFF6C78741; Sun, 13 Nov 2022 14:57:07 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1668369427; b=rPeCOVGDhiLhcKdV59FOqps2EOv0vvLUh2obkQeNPxinGJVIIk k4mneJdyCJzKqYI/iJ3HFEKWCt5dAdpbXPZoxTjwOrEID34II7zsEbZds6CoJxr3 iarknoTQbxvEwGgTnrFNIykEe/IaYetURCFsThlOWznWlccze18YgCjGicwELRiy LbXE+Yl5N7UbAed/HzzBqw0zGq3j1AVMJErn7Y2ak+lYz0KPvPQ/qOolkIA7t5Gh M2VMYjWvKu3ICwlj/XpDH+i2D5xBOchpkICa2URz9fZfPGbbc05g9NiTqIum5UyM G1amqRjc46fZtYl5tN2TVUL9J9HJrXPLNdnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; s=arcseal; t=1668369427; bh=p2HX4183zv2DgoXTy4RD/5spo1zLVLSdCW/uFMEY6/g=; b=Jt3OVUCjP3k0 avtSMnMu9lJU/3ciocHoF1xxv3LfoDdQhPLhU1MFKRyX9PvnZoKNmKfS4oo2xXSX Ys9/WQVeETlerd7JpIMZdW+li5NMNKO2J9l1JqKlK8ZZHUNRFJlnLE4bLr7sjFfj AJD1SsNPSi9FErome3HSwQKpnioZ/LJQ4RDa7ks9i2KYgHgVeCFvC6Q9fnvBZ9Ls ENvh/FKMg9dhZWCArTWysB5giqVzf796Dw2fB36TN6tL4tAfB4w9QWGuAJIA5bd6 kgHdYmjrS6sYvnfM5/GDRwwmPs30EgAE4BYMxmxHbu8FMd8n75O8NQgiLIzhzzgn h9JLpXKd8A== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=lFfo+1xf header.a=rsa-sha256 header.s=20210112 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.210.172 (mail-pf1-f172.google.com); spf=pass smtp.mailfrom=type9freak@gmail.com smtp.helo=mail-pf1-f172.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=uMTD5Ia0; x-me-sender=none; x-ptr=pass smtp.helo=mail-pf1-f172.google.com policy.ptr=mail-pf1-f172.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt2.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: alt2.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvgedrgedtgddufeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeggfhgjhf ffkffuvfgtsegrtderredttdejnecuhfhrohhmpehfihhguceothihphgvlehfrhgvrghk sehgmhgrihhlrdgtohhmqeenucggtffrrghtthgvrhhnpeetgeejfeeujeeuteefgeekke dtfeetieehgfdutdeuffeivdevjeeljeethfetvdenucffohhmrghinhepphhlrghnledr ihhopdelfhhrohhnthdrohhrghdpghhithhhuhgsrdgtohhmpdhtohhpihgtsghogidrtg homhenucfkphepvddtledrkeehrddvuddtrddujedvnecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehinhgvthepvddtledrkeehrddvuddtrddujedvpdhhvghlohepmh grihhlqdhpfhduqdhfudejvddrghhoohhglhgvrdgtohhmpdhmrghilhhfrhhomhepoeht hihpvgelfhhrvggrkhesghhmrghilhdrtghomheq X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (gmail.com ... _spf.google.com: Sender is authorized to use 'type9freak@gmail.com' in 'mfrom' identity (mechanism 'include:_netblocks.google.com' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="type9freak@gmail.com"; helo=mail-pf1-f172.google.com; client-ip=209.85.210.172 Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Sun, 13 Nov 2022 14:57:06 -0500 (EST) (envelope-from type9freak@gmail.com) Received: by mail-pf1-f172.google.com with SMTP id b185so9229296pfb.9 for <9fans@9fans.net>; Sun, 13 Nov 2022 11:57:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=p2HX4183zv2DgoXTy4RD/5spo1zLVLSdCW/uFMEY6/g=; b=uMTD5Ia0BG1Om188C22a/XUGTq8l8DAzzFhHtnqm7Pn8GC16VBKWXn4BsyJVFzFmPQ Ssi2aZqz62LwMzss/E6enB1rPWQqhGWubtuzhG0P+20kfTRJDYO8rcy8OZW5GRAmKjoZ W+JqVJDQrbcZQrYMNe/866BfjTFfvp73ubf/6FJdmd+TqZ5NgTq4F8zaq9J/acFpAtQa 4j2i5DIFmbxvPT9D2iQLu8RVWJcDsA57vTFuTh46i8Rw6vz7RZWhzuI6JriZ5l0M+zrO Q5kONnyfv4HUDlAP0txvUlJGYeZXkTkJjjFHK1K3YYXH5ilL+EXBrHzOt8AlCGr5ADYR JIEA== X-Gm-Message-State: ANoB5pnwZzlIoJXC6d3EGVr5JLcszoh4stJfgN2TBVZ6ATzBKnosRXwJ /mzDSH37xmDvoVjUMcf52q928bDiWOktBtxkmhqvDeZM X-Google-Smtp-Source: AA0mqf5GgnOPvhH/B6t/b9o5za56Tg0CQCn6qyQN67bnFd3GxFxSzs3qK2iXl289gNpFU5ZPIXRFXb/7Ayv0lSYC5vw= X-Received: by 2002:a63:ce04:0:b0:46f:abcc:a793 with SMTP id y4-20020a63ce04000000b0046fabcca793mr9624565pgf.234.1668369425247; Sun, 13 Nov 2022 11:57:05 -0800 (PST) MIME-Version: 1.0 References: <16683546150.A5398.97827@composer.9fans.topicbox.com> In-Reply-To: <16683546150.A5398.97827@composer.9fans.topicbox.com> From: fig Date: Sun, 13 Nov 2022 11:56:53 -0800 Message-ID: Subject: Re: [9fans] Porting software from other operating systems (Namely Mac OS 9) to Plan 9 To: 9fans <9fans@9fans.net> Content-Type: multipart/alternative; boundary=000000000000f2320c05ed5f8684 Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 5d902f9e-638d-11ed-b9f4-ac5c1b49140d Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UZmQ4OWRkNWJkNjgyNWY1Yy1NYWRlZWY3ZjJhZmI1NTBkMDQxZmM0?= =?UTF-8?B?ZDE5Pg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Content-Transfer-Encoding: 7bit List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:Madeef7f2afb550d041fc4d19:1:gLWYyrcBD8DNn4yScbp6dRDnh1eplP9chLfya1ayv_c --000000000000f2320c05ed5f8684 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable hi radiuspi, here are a few links about porting to plan 9. hopefully these are helpful for you as they are to me. you did not mention 9front, so if you don=E2=80= =99t know about it i recommend learning about it, as it provides many helpful programs you don=E2=80=99t have in 9legacy. the third link is a man page fo= r the coding style of 9front, which may be helpful for rewriting that C++ and obj C. https://plan9.io/wiki/plan9/Porting_alien_software_to_Plan_9/index.html http://wiki.9front.org/porting http://man.9front.org/6/style On Sun, Nov 13, 2022 at 7:50 AM wrote: > Hello all! Nightdive Studios recently released the source code for the Mac > OS9 / PowerPC version of System Shock 1. Besides being among my favorite > games, it's also one of the first properly 3D games to exist, and getting > it running on Plan 9 would be a fun and interesting project in my > estimation. The source code (https://github.com/NightDive-Studio/shockmac) > is written in C for the most part, with the notable exception of a bit of > C++ and the tiniest sliver of objective-c, each of which is possible to > convert somewhat inelegantly back into ansi C. It has conveniently > separated out the portion of the code that is specific to Mac, so my > admittedly uninformed hope is that if I could simply modify this code and > replace any references to Mac OS 9 event handlers and resources, I could > compile it on plan 9. Are there any resources available to port these > event handlers or resources, or any known projects that span across mac os > 9 and plan 9, that I could use as references? > > Apologies as well if this topic had already been created; after a brief > search, I couldn't find any other questions asking this same thing, so I > figured I'd produce my own and if I had missed something in my search > someone might point me in the right direction. > *9fans * / 9fans / see discussions > + participants > + delivery options > Permalink > > ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tfd89dd5bd6825f5c-Madeef= 7f2afb550d041fc4d19 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription --000000000000f2320c05ed5f8684 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
hi radiuspi,

here are a few links about porting to plan 9. hop= efully these are helpful for you as they are to me. you did not mention 9fr= ont, so if you don’t know about it i recommend learning about it, as = it provides many helpful programs you don’t have in 9legacy. the thir= d link is a man page for the coding style of 9front, which may be helpful f= or rewriting that C++ and obj C. 

<= div>https://plan9.io/wiki/plan9/Porting_alien_software_to_Plan_9/i= ndex.html


On Sun, Nov 13, 2022 at 7:50 AM <radiuspi314@gmail.com> wrote:
=
Hello all! Nightdive Studios recently released the source cod= e for the Mac OS9 / PowerPC version of System Shock 1. Besides being among = my favorite games, it's also one of the first properly 3D games to exis= t, and getting it running on Plan 9 would be a fun and interesting project = in my estimation. The source code (https://github.com/NightDive-Studio/shoc= kmac) is written in C for the most part, with the notable exception of = a bit of C++ and the tiniest sliver of objective-c, each of which is possib= le to convert somewhat inelegantly back into ansi C. It has conveniently se= parated out the portion of the code that is specific to Mac, so my admitted= ly uninformed hope is that if I could simply modify this code and replace a= ny references to Mac OS 9 event handlers and resources, I could compile it = on plan 9.  Are there any resources available to port these event hand= lers or resources, or any known projects that span across mac os 9 and plan= 9, that I could use as references?

Apolog= ies as well if this topic had already been created; after a brief search, I= couldn't find any other questions asking this same thing, so I figured= I'd produce my own and if I had missed something in my search someone = might point me in the right direction.
=
= --000000000000f2320c05ed5f8684--