X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Received: by 2002:ad4:4942:: with SMTP id o2mr41487qvy.231.1597358269727; Thu, 13 Aug 2020 15:37:49 -0700 (PDT) X-Received: by 2002:a25:e912:: with SMTP id n18mr8851700ybd.377.1597358269299; Thu, 13 Aug 2020 15:37:49 -0700 (PDT) Newsgroups: comp.os.msdos.djgpp Date: Thu, 13 Aug 2020 15:37:49 -0700 (PDT) In-Reply-To: <964a10f1-84d2-f751-a1a9-b4df2e4668ce@gmail.com> Complaints-To: groups-abuse AT google DOT com Injection-Info: google-groups.googlegroups.com; posting-host=80.229.140.254; posting-account=7PG4OAoAAACvvfCLe0WmT87KJ-xE43vI NNTP-Posting-Host: 80.229.140.254 References: <20ba1688-c59a-4bab-aa30-620f1b88c1ebo AT googlegroups DOT com> <964a10f1-84d2-f751-a1a9-b4df2e4668ce AT gmail DOT com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <0206d1ec-459e-4116-9d7b-7f69f3c2134fo@googlegroups.com> Subject: Re: DJGPP for PC-9801/9821 target From: "jpstmuk AT gmail DOT com [via djgpp AT delorie DOT com]" Injection-Date: Thu, 13 Aug 2020 22:37:49 +0000 Content-Type: text/plain; charset="UTF-8" Bytes: 2176 Lines: 20 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 07DMjJS4008180 Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Well I managed to find a really old patch against 2.03 that adds in support for the PC-98xx. It took a while to get a working environment - the patch was a partial binary diff against libc.a, which would work on the version of DJGPP that I found, so I had to bootstrap the whole thing from within Dosbox with a correct version of GCC (2.95.2, if you're interested!). Finally got it all running and compiled binaries can run on both regular PC MS-DOS and PC-98 MS-DOS as long as you have a DPMI server for the latter (cwsdpmi wont work, quite obviously, but there's one by Microsoft, on the PC-98 DOS 5.00 floppies!!!). Anyway, I can see there are a couple of efforts to get full support in current versions of DJGPP, but for now there's a pre-built Dec environment and how-to on my wiki: https://www.target-earth.net/wiki/doku.php?id=blog:pc98_devtools Next step is to work out how to talk to the custom NEC graphics hardware from within GCC+DJGPP...