9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Amanda Stjerna <amanda.stjerna@gmail.com>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] Porting software from other operating systems (Namely Mac OS 9) to Plan 9
Date: Sun, 13 Nov 2022 23:12:17 +0100	[thread overview]
Message-ID: <bcbbd29e-ba9e-4152-950a-983fd50264f3@Spark> (raw)
In-Reply-To: <16683546150.A5398.97827@composer.9fans.topicbox.com>

[-- Attachment #1: Type: text/plain, Size: 1840 bytes --]


I’m not sure if you’ve seen it but there seems to be a multi platform port with some cleanup already underway, it might be easier to start from that: https://github.com/Interrupt/systemshock

On 13 Nov 2022 at 16:51 +0100, radiuspi314@gmail.com, 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-M3bc04eb4a887bf53aed976e4
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 2795 bytes --]

      parent reply	other threads:[~2022-11-13 22:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-13 15:50 radiuspi314
2022-11-13 19:56 ` fig
2022-11-13 22:12 ` Amanda Stjerna [this message]

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bcbbd29e-ba9e-4152-950a-983fd50264f3@Spark \
    --to=amanda.stjerna@gmail.com \
    --cc=9fans@9fans.net \


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