🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.netbsd.port.mac68k
Article #7

Re: Some fixes for m68k users (incl/ for FPU emulation)

#7
From: Romain Dolbeau
Date: Sun, 01 Nov 2026 14:12
38 lines
4639 bytes
Le dim. 1 nov. 2026 à 13:54, Jason Thorpe <thorpej@me.com> a écrit :
> It seems to me that you’re starting from the NetBSD 11 code base

Oups, sorry, should have said that; I used github's netbsd-11 tag as
the baseline, so I'd have something reasonably stable. That was also
used as the baseline for virt68k-smp, hence all the work done on
"pmap_motorola.c"

I haven't looked at pmap_68k so it might be OK already; please make
sure U0/U1 aren't used for internal purposes - they are exposed on
external pins so could have an impact on the hardware (even if in r
practice almost nobody used them), and they are needed to "properly"
support SMP on MC68040 (they are used to indicate the level of type of
snooping to use for the data in that page).

> It’ll take me a little more time to process those

There was no request to do anything about any of it in a hurry,
implied or otherwise! On my side, I was just mentioning (alleged)
issues the LLM I used encountered and "fixed" along the way [with
"fixed" meaning "the tests no longer fails", which isn't a very high
standard...]. FPU_EMULATE is a useful tool, but in real life probably
only used by people with soldered xC68LC040 that can't be upgraded to
full xC68040 and that aren't XC68LC040. Most MC68030 systems had a
socket for a MC68881/2. And as mentioned using soft-float userland is
the right option IMHO.

OTOH, FPU_EMULATE is quite useful to debug $4 frames on 'LC040 clones :-)

Cordially,

-- 
Romain Dolbeau

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <CADuzgbpHx97s+ObD_GB1m-3ChZopS3Z-ojiKQD76sZUivpO63A@mail.gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <> <DAEE3033-FC27-455D-B1E3-53D35C970C4D@me.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: Romain Dolbeau <romain@dolbeau.org>
Newsgroups: muc.lists.netbsd.port.mac68k
Subject: Re: Some fixes for m68k users (incl/ for FPU emulation)
Date: Sun, 1 Nov 2026 15:12:11 +0100
Organization: Newsgate at muc.de e.V.
Sender: port-mac68k-owner@NetBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <CADuzgbpHx97s+ObD_GB1m-3ChZopS3Z-ojiKQD76sZUivpO63A@mail.gmail.com>
References: <> <DAEE3033-FC27-455D-B1E3-53D35C970C4D@me.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="20626"; mail-complaints-to="news-admin@muc.de"
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1793542343; x=1794147143;
        h=content-transfer-encoding:content-type:cc:to:subject:message-id
         :date:from:in-reply-to:references:mime-version:x-gm-gg
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=WZD8PYR6rnOQ7+0rZlNFW4y3DrMmxsLkuZ7kWi9mw48=;
        b=bdQCqPkQGzz84/vp8xNdWv5IlOjTPah3YbCf5eb4uDnL4F3WKrvS6e5tcU5VJv+q9/
         ZJnP6XUpJ+7L7rkQ2+liv9i63p3uubfvl+NGkIVCAFirQujzCaartWruMyKMg0eBOjs7
         RS18Q1BZtnA4iM7xmLRHN60eYmWrfUUxaVcnn1wFVkXGcngSna9t6XUMGNZTXBv1YsED
         qf/UV1/xgtr/U1hWFxeC+dJJYdusptMAjbgnEi7yMiBN37pEGREMsfFiky0eH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ePlobFI
Precedence: bulk
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes