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 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23034 invoked from network); 13 Nov 2022 22:12:58 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 13 Nov 2022 22:12:58 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob1.topicbox.com (Postfix) with ESMTP id 0033B3F2DA for ; Sun, 13 Nov 2022 17:12:57 -0500 (EST) (envelope-from bounce.mM3bc04eb4a887bf53aed976e4.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 029693E4911; Sun, 13 Nov 2022 17:12:57 -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=FAGdy0Ls 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=amanda.stjerna@gmail.com smtp.helo=mail-lf1-f46.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=date:from:to:message-id:in-reply-to:references :subject:mime-version:content-type:list-help:list-id:list-post :list-subscribe:reply-to:content-transfer-encoding :list-unsubscribe; s=sysmsg-1; t=1668377576; bh=vGcYD9mF9zYUqm7g HROfUBsKlkK/56/WOtTV+5n6h68=; b=Y+0doGC1guph1qiIwq4n45YnY/lE6i6h BgvS7ntXd5u88b2qXWLY/JL0/40JbHa6NhRohNf98SYsyDtrkLSbgQzgFCTShV4Q VpojDX/W4f5wxmOZzaHAdx8a1UIMvF8Zq7n9eio1USobCcZLneputmdbXU1DJyWy zIwmECBcZWI= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1668377576; b=FOFPRUs/jMVcrFNanqZTPbqivvS9C/dyG7qQJIgbNUcN2PaAFK s+QLvLF81brKYmzzV6Ggoe2yP5PdZnaOeEIWXSEkgNTeD2JcyLj8W1TKv823MMf0 64Ne9QXxbtMHkfuOOkMSQdRaWTUNUL4PmbrkaUzFimGFKvtGPvTtG9COM= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=FAGdy0Ls 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=amanda.stjerna@gmail.com smtp.helo=mail-lf1-f46.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=FAGdy0Ls 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.167.46 (mail-lf1-f46.google.com); spf=pass smtp.mailfrom=amanda.stjerna@gmail.com smtp.helo=mail-lf1-f46.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=DfvaBf1G; x-me-sender=none; x-ptr=pass smtp.helo=mail-lf1-f46.google.com policy.ptr=mail-lf1-f46.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt2.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=date:from :to:message-id:in-reply-to:references:subject:mime-version :content-type:list-help:list-id:list-post:list-subscribe :reply-to:content-transfer-encoding:list-unsubscribe; s=dkim-1; t=1668377576; x=1668463976; bh=jSk8b9tqtnlAI7lKy54Ir+aMo4fiFpzD jyx8F6NjTwY=; b=ODu0865yhhK0n8mJrPJlcM/0looKqkNyVcW/0z7660+L8qkQ sto3kHg+SdPdaWKY3MMY/HGbRXHflrYSRcXVDv9a8pKCKk1RYcyI1FIHRNt8YAE0 2pT/wUfgH3/CfbuIb9seDMus096TFlGzc8lDO9IFLvqPr/Y79bKPv6pbcB0= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 71BE83E438C for <9fans@9fans.net>; Sun, 13 Nov 2022 17:12:45 -0500 (EST) (envelope-from amanda.stjerna@gmail.com) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id 4CC17007E5E; Sun, 13 Nov 2022 17:12:45 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1668377565; b=XE8pfd8rvtAthdv6mD6YU5JtzDG9mmDGOsoo63RXW42fz2e2su YgoP0Hh6f8keWotZyvrmKNYf/n9581JJiKH7rA3vWU2SVe2ajuIaQUkSydCkGbUr 66hQr0c7tBS8Fs+8I3k2c3A5R4cGq3jhw6kCOGbqc69N6BLjyxN8E0L3GdCVPeYx NgE3/Ebn5nS4pRvM0jcsImkgUGg25D7Q1bbGj4VZmMtuTFAS383OLratOWIvMcm9 lPaFdpK02ALqM2esDPzh63rsJodAEkASspUg84vZoxIcmU9TiREcY/o9hK2AOAsA 20U733UrYpmWk+DOsCey9EBPRlVUZVhv+AfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:message-id:in-reply-to:references :subject:mime-version:content-type; s=arcseal; t=1668377565; bh= ThaVwb1tCdq3GKO+PdO1TE8dLuPcgwvluYF1d4f6b9Y=; b=L53YkABdC9IiTKdW G38pZND3BHoZvxtnJzS9Csnd3d9f+5zKHOirIeps1zmHCTlCUwNRyH7xbTP6ayyv 9DgvIcz/OewjsIKfKFyoaVz62G6uwnSS6Xxas6Hd6vOqa74psAOmj9yMS0V0v0ZB SfRnr6vdOK3wCK+FG8uKore+u/7J65d7UptbfPnLLXBzLFYwEl7JNAXTPIVhr9gF WlVQWXwKwLVIbaAVZndAYw11Zzio6OJiS0kyI3tWPtL8M36nElUOTtyxf98W6oSV 8gYSCsEoCmc3fBZb/R9eS7ezEXANuc14a0ZdmT2F4Gfdlee0M7/Zznd32K7Eyfsg 7t0W7Q== 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=FAGdy0Ls 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.167.46 (mail-lf1-f46.google.com); spf=pass smtp.mailfrom=amanda.stjerna@gmail.com smtp.helo=mail-lf1-f46.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=DfvaBf1G; x-me-sender=none; x-ptr=pass smtp.helo=mail-lf1-f46.google.com policy.ptr=mail-lf1-f46.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt2.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: gggruggvucftvghtrhhoucdtuddrgedvgedrgedtgdduiedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvkf gjfhfugggtsegrtderredttdejnecuhfhrohhmpeetmhgrnhgurgcuufhtjhgvrhhnrgcu oegrmhgrnhgurgdrshhtjhgvrhhnrgesghhmrghilhdrtghomheqnecuggftrfgrthhtvg hrnheptdethfevffdvjedtudeihfegtedvffeutefhuddttdehteegvdfglefftdeivedv necuffhomhgrihhnpehgihhthhhusgdrtghomhdpthhophhitggsohigrdgtohhmnecukf hppedvtdelrdekhedrudeijedrgeeipdekfedrvdehvddrjeehrdduheejnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvddtledrkeehrdduieejrdegie dphhgvlhhopehmrghilhdqlhhfuddqfhegiedrghhoohhglhgvrdgtohhmpdhmrghilhhf rhhomhepoegrmhgrnhgurgdrshhtjhgvrhhnrgesghhmrghilhdrtghomheq X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (gmail.com ... _spf.google.com: Sender is authorized to use 'amanda.stjerna@gmail.com' in 'mfrom' identity (mechanism 'include:_netblocks.google.com' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="amanda.stjerna@gmail.com"; helo=mail-lf1-f46.google.com; client-ip=209.85.167.46 Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (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 17:12:44 -0500 (EST) (envelope-from amanda.stjerna@gmail.com) Received: by mail-lf1-f46.google.com with SMTP id d6so16446589lfs.10 for <9fans@9fans.net>; Sun, 13 Nov 2022 14:12:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:subject:references:in-reply-to:message-id:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ThaVwb1tCdq3GKO+PdO1TE8dLuPcgwvluYF1d4f6b9Y=; b=DfvaBf1GN8R8tPU7qUDfPpSwXdRJJpP9N6QimN2WEwOKvldcAot5J23PMryriABosG nAyjN2QTnAclppSZBrgWZBl+UFDHMdsPyGBL5tOw9eWOgPcbbWzNOGcBPbBEHxJkTN1l kfctaYWHJDJII4QkwmF4tRwvVaLGuJ6RuGBL/c/gNbe4JI0Um5d+6kQdjV/e4t+zDyDZ L64GpkLNiQwRXCnr4qTF2dUdPwbAbgVYxyLadU+EfLkrlX9Vto+pszNM0eKi114f6Ch5 63F7FKOYzbCxheEyGyS7Tjc5caed/WcIaLDcYNw9T9aLmT+qd7Dubm+npX8xU9Xb82b3 uizA== X-Gm-Message-State: ANoB5pkwqhLf+V3aTvS+9bhkVvf7T/jS2i5RSBsLNcpNct8FJzWuQtge +IYhPrwdaZ2nBya1Wp5UWP6AdiMno6c= X-Google-Smtp-Source: AA0mqf4Paae9OjuViOC5Dlr3J7GLnpU3tetRuXiEFBb1gnSOde+UQgJKNoFEMB/vp5P+FxXj4YikDQ== X-Received: by 2002:ac2:5f19:0:b0:4a9:9521:5f9f with SMTP id 25-20020ac25f19000000b004a995215f9fmr3162066lfq.525.1668377562842; Sun, 13 Nov 2022 14:12:42 -0800 (PST) Received: from [192.168.86.250] (c83-252-75-157.bredband.tele2.se. [83.252.75.157]) by smtp.gmail.com with ESMTPSA id q6-20020a05651232a600b0049fb08e91cesm1535572lfe.214.2022.11.13.14.12.41 for <9fans@9fans.net> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 13 Nov 2022 14:12:42 -0800 (PST) Date: Sun, 13 Nov 2022 23:12:17 +0100 From: Amanda Stjerna To: 9fans <9fans@9fans.net> Message-ID: In-Reply-To: <16683546150.A5398.97827@composer.9fans.topicbox.com> References: <16683546150.A5398.97827@composer.9fans.topicbox.com> Subject: Re: [9fans] Porting software from other operating systems (Namely Mac OS 9) to Plan 9 X-Readdle-Message-ID: bcbbd29e-ba9e-4152-950a-983fd50264f3@Spark MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=63716bd9_625558ec_5dbc Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 4f9e3878-63a0-11ed-a2c9-ef01fafad1f9 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UZmQ4OWRkNWJkNjgyNWY1Yy1NM2JjMDRlYjRhODg3YmY1M2FlZDk3?= =?UTF-8?B?NmU0Pg==?= 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:M3bc04eb4a887bf53aed976e4:1:POetVnNIKW6lZTWYFUByaXV7efIz20rnmXkhBhpKcIo --63716bd9_625558ec_5dbc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I=E2=80=99m not sure if you=E2=80=99ve seen it but there seems to be a mult= i platform port with some cleanup already underway, it might be easier to s= tart from that:=C2=A0https://github.com/Interrupt/systemshock Amanda On 13 Nov 2022 at 16:51 +0100, radiuspi314@gmail.com, wrote: > Hello all! Nightdive Studios recently released the source code for the Ma= c 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 i= t 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 somewh= at inelegantly back into ansi C. It has conveniently separated out the port= ion of the code that is specific to Mac, so my admittedly uninformed hope i= s 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.=C2=A0 Are= there any resources available to port these event handlers or resources, o= r 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 s= earch, I couldn't find any other questions asking this same thing, so I fig= ured 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=C2=A0options Pe= rmalink ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tfd89dd5bd6825f5c-M3bc04= eb4a887bf53aed976e4 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription --63716bd9_625558ec_5dbc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline </tit= le></head><body><div name=3D"messageBodySection"><div dir=3D"auto">Hi,<br /= ><br /> I’m not sure if you’ve seen it but there seems to be a multi pl= atform port with some cleanup already underway, it might be easier to start= from that: <a href=3D"https://github.com/Interrupt/systemshock" targe= t=3D"_blank">https://github.com/Interrupt/systemshock</a></div></div><div n= ame=3D"messageSignatureSection"><br /> Amanda</div><div name=3D"messageReplySection">On 13 Nov 2022 at 16:51 +0100= , radiuspi314@gmail.com, wrote:<br /><blockquote style=3D"border-left-color= : grey; border-left-width: thin; border-left-style: solid; margin: 5px 5px;= padding-left: 10px;" type=3D"cite"><div>Hello all! Nightdive Studios recent= ly released the source code for the Mac OS9 / PowerPC version of System Sho= ck 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 fu= n and interesting project in my estimation. The source code (<a href=3D"htt= ps://github.com/NightDive-Studio/shockmac">https://github.com/NightDive-Stu= dio/shockmac</a>) is written in C for the most part, with the notable excep= tion of a bit of C++ and the tiniest sliver of objective-c, each of which i= s possible to convert somewhat inelegantly back into ansi C. It has conveni= ently 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 r= eplace any references to Mac OS 9 event handlers and resources, I could com= pile it on plan 9.  Are there any resources available to port these ev= ent handlers or resources, or any known projects that span across mac os 9 = and plan 9, that I could use as references?<br /></div><div><br /></div><di= v>Apologies as well if this topic had already been created; after a brief s= earch, 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.<br /></div></blockquote></di= v><div id=3D"topicbox-footer" style=3D"margin:10px 0 0;border-top:1px solid= #ddd;border-color:rgba(0,0,0,.15);padding:7px 0;"> <strong><a href=3D"https://9fans.topicbox.com/latest" style=3D"color:inheri= t;text-decoration:none">9fans</a></strong> / 9fans / see <a href=3D"https://9fans.topicbox.com/groups/9fans">discussions</a> + <a href=3D"https://9fans.topicbox.com/groups/9fans/members">participants</a> + <a href=3D"https://9fans.topicbox.com/groups/9fans/subscription">delivery&n= bsp;options</a> <a href=3D"https://9fans.topicbox.com/groups/9fans/Tfd89dd5bd6825f5c-M3bc04= eb4a887bf53aed976e4" style=3D"float:right">Permalink</a> </div> </body></html></html></html>= --63716bd9_625558ec_5dbc--