Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

The ripest fruit falls first. -- William Shakespeare, "Richard II"


comp / comp.sys.mac.vintage / PPC incompatible software

SubjectAuthor
* PPC incompatible softwarePatrik Schindler
+* Re: PPC incompatible softwareMike Dee
|`* Re: PPC incompatible softwarePatrik Schindler
| `* Re: PPC incompatible softwareMike Dee
|  `* Re: PPC incompatible softwarePatrik Schindler
|   `- Re: PPC incompatible softwareRene Kint
`- Re: PPC incompatible softwareSebastian P.

1
Subject: PPC incompatible software
From: Patrik Schindler
Newsgroups: comp.sys.mac.vintage
Date: Tue, 8 Oct 2024 21:25 UTC
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: poc@pocnet.net (Patrik Schindler)
Newsgroups: comp.sys.mac.vintage
Subject: PPC incompatible software
Date: 8 Oct 2024 21:25:23 GMT
Lines: 19
Message-ID: <lmlma3Fo2arU3@mid.individual.net>
X-Trace: individual.net BhQQ4rNYvBm3cZ0v8fuHSQju6MuJcFDBbTUeDOdxkDtcA/6KMB
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:0OBerYB0QC7SUWO0oHpanrnSX7U= sha1:w8tvposPJHlm75+AoL91dU0SpJc= sha256:he9LVlJqN+m4TI44uQdoSmMhlItUF3DQd7Eu8OYOyt8=
View all headers

Hello,

some time ago, I discovered my first software package which runs on any 68k
Mac, tested up to OS 9. But crashes on PPC.

I observed this on the SNA.ps application, as soon as I'm trying to connect
too a peer system. What is SNA.ps? See link below.

<https://try-as400.pocnet.net/wiki/Apple_SNA.ps>

Does any of you observe another software which reproducibly crashes only on
PPCs but not on 68k Macs? I found no difference on 68k between 24- and 32 bit
addressing mode. But I suddenly got the idea to probably retest with virtual
memory enabled.

--

:wq! PoC

Subject: Re: PPC incompatible software
From: Mike Dee
Newsgroups: comp.sys.mac.vintage
Organization: Poor Boy
Date: Thu, 10 Oct 2024 22:21 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mikedee@emteedee.invalid (Mike Dee)
Newsgroups: comp.sys.mac.vintage
Subject: Re: PPC incompatible software
Date: Thu, 10 Oct 2024 22:21:56 -0000 (UTC)
Organization: Poor Boy
Lines: 32
Message-ID: <XnsB2085F448B621mikedee@emteedee.invalid>
References: <lmlma3Fo2arU3@mid.individual.net>
Injection-Date: Fri, 11 Oct 2024 00:21:56 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="41bacaf81553915c5ff4a0600d656c00";
logging-data="3493185"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+4WdYjvoBZFt74XhTCm0ch"
User-Agent: Xnews/2009.05.01
Cancel-Lock: sha1:TcGHwZKu/xSiZzKdEudFj7wUKYo=
X-Face: $W<X:Uw4$"nTXRHqqZ=.|pFI@K,TNNH0i>-J;N5/yst7]cQb.o^L$oAhs-J!C AOUMQ^NHu3aTb9H8awW~4Y.LR`[o}Rz6Xf=^krb-AwUiM"7zA+QR<vWz'8>hKiTOyd]h z]7m=[nhuH{NMrE>~][PM`wSKd?TFV-.glh)>N
View all headers

Patrik Schindler wrote:

> any of you observe another software which reproducibly crashes
> only on PPCs but not on 68k Macs?

Yes, this will occur for any 68k encoded Mac software that requires
Floating Point Math, i.e.; an onboard FPU to be present. This is a 68k
FPU that's required, not a built-in PPC FPU.

PPC's 68k emulation does not emulate a 68k FPU, so any 68k software
requiring an FPU, will not run on that PPC Mac.

The workaround for this is a 3rd party FPU emulator, to enable those
68k programs to run on PPC hardware.

The best 68k FPU emulator solution for PPC Mac's is PowerFPU.
<http://macintoshgarden.org/apps/powerfpu>

Not saying this is the cause of your 68k program not working on PPC
hardware. Only, that it does occur for any 68k program that requires
floating point math.

Another cause of 68k software being unable to run on PPC Macintosh, is
any 68k software that requires the presence of a Memory Management Unit
(MMU). <https://en.wikipedia.org/wiki/Memory_management_unit>

PPC's 68k emulation does not emulate a 68k MMU either, and I don't know
of a 3rd party soulution to this one. It is however, rare for 68k
software to demand this. It happens, but it's rare.

--
dee

Subject: Re: PPC incompatible software
From: Patrik Schindler
Newsgroups: comp.sys.mac.vintage
Date: Fri, 11 Oct 2024 20:51 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: poc@pocnet.net (Patrik Schindler)
Newsgroups: comp.sys.mac.vintage
Subject: Re: PPC incompatible software
Date: 11 Oct 2024 20:51:17 GMT
Lines: 45
Message-ID: <lmthe5FpgnU1@mid.individual.net>
References: <lmlma3Fo2arU3@mid.individual.net> <XnsB2085F448B621mikedee@emteedee.invalid>
X-Trace: individual.net im52gNE5OnDesUvegHEXjQWXqW3C/zgR+eB7v/Y1s33c1yAvTo
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:Yf6QOG0n76cODb5ZP2gAWsjUu1w= sha1:QHqR4matwrT4Qi9dgy5wY8YebMg= sha256:DJ2GKivm7MixRXSRplTNaAal2yt1W29vXyAdUlWZWlk=
View all headers

Mike Dee <mikedee@emteedee.invalid> wrote:

> Patrik Schindler wrote:
>
>> any of you observe another software which reproducibly crashes only on PPCs
>> but not on 68k Macs?
>
> Yes, this will occur for any 68k encoded Mac software that requires Floating
> Point Math, i.e.; an onboard FPU to be present. This is a 68k FPU that's
> required, not a built-in PPC FPU.

Ah, that's a good hint, thanks!

> Not saying this is the cause of your 68k program not working on PPC
> hardware. Only, that it does occur for any 68k program that requires
> floating point math.
>
> Another cause of 68k software being unable to run on PPC Macintosh, is any
> 68k software that requires the presence of a Memory Management Unit (MMU).
> <https://en.wikipedia.org/wiki/Memory_management_unit>

The system requirements according to the package are a Mac Plus and System
7.0. For the client, and that's what I'm talking about. That one has neither
an FPU, nor an MMU. But maybe the emulator code uses a gestalt call to know
what kind of machine it's running on, and dynamically branches to differently
optimized code? On the other hand, we're talking about a terminal emulator.

I dimly remember MacsBug stating an unimplemented instruction or trap which
supports your thinking. I'll try an 68k FPU emulator and check if this fixes
the error.

Again, thanks for the hint!

> PPC's 68k emulation does not emulate a 68k MMU either, and I don't know
> of a 3rd party soulution to this one. It is however, rare for 68k
> software to demand this. It happens, but it's rare.

I guess that the requirement for an MMU is more an OS thing. Maxima comes to
mind: A control panel extension to provide virtual memory when running System
6.

--

:wq! PoC

Subject: Re: PPC incompatible software
From: Mike Dee
Newsgroups: comp.sys.mac.vintage
Organization: Poor Boy
Date: Sat, 12 Oct 2024 02:36 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mikedee@emteedee.invalid (Mike Dee)
Newsgroups: comp.sys.mac.vintage
Subject: Re: PPC incompatible software
Date: Sat, 12 Oct 2024 02:36:53 -0000 (UTC)
Organization: Poor Boy
Lines: 35
Message-ID: <XnsB2098A7CCE112mikedee@emteedee.invalid>
References: <lmlma3Fo2arU3@mid.individual.net> <XnsB2085F448B621mikedee@emteedee.invalid> <lmthe5FpgnU1@mid.individual.net>
Injection-Date: Sat, 12 Oct 2024 04:36:54 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="b6366d93b5e2b063b62f106af0986ae3";
logging-data="10574"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19528AjNLYf+SeTkeYIJ93q"
User-Agent: Xnews/2009.05.01
Cancel-Lock: sha1:RjSh5laCaSh/P1py6lxwrBOw8+U=
X-Face: $W<X:Uw4$"nTXRHqqZ=.|pFI@K,TNNH0i>-J;N5/yst7]cQb.o^L$oAhs-J!C AOUMQ^NHu3aTb9H8awW~4Y.LR`[o}Rz6Xf=^krb-AwUiM"7zA+QR<vWz'8>hKiTOyd]h z]7m=[nhuH{NMrE>~][PM`wSKd?TFV-.glh)>N
View all headers

Patrik Schindler wrote:

> The system requirements according to the package are a Mac Plus
> and System 7.0. For the client, and that's what I'm talking about.
> That one has neither an FPU, nor an MMU. But maybe the emulator
> code uses a gestalt call to know what kind of machine it's running
> on, and dynamically branches to differently optimized code? On the
> other hand, we're talking about a terminal emulator.

The web link you provided in your OP, goes on to say, under System
Compatibility:
"The client crashes upon connecting via a SNA�ps gateway when ran on
PowerPC Macs,
[...]
The gateway software requires special hardware for the SNA network
connection and is therefore limited to NuBus systems. [...] Testing of
the gateway software on the first generation NuBus equipped PowerMacs
also hasn�t been done, yet."

And under Pitfalls:
"Neither SNA�ps 5250, nor SNA�ps print can be used on PowerPC machines
when connecting via a SNA�ps gateway. As soon as the connection is to
be set, the client crashes with an illegal instruction error."

I cannot imagine there are many Nubus slotted Macs that can run Mac OS
9. But, as the author also says, "untested".

It seems though that compatibility for running this software on PPC
Macintosh, if it is going to work, has very specific requirements.

So, good luck with your tests, I hope the FPU emulator is of use, not
only for this program, but for any others you might trial.

--
dee

Subject: Re: PPC incompatible software
From: Patrik Schindler
Newsgroups: comp.sys.mac.vintage
Date: Sat, 12 Oct 2024 17:17 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: poc@pocnet.net (Patrik Schindler)
Newsgroups: comp.sys.mac.vintage
Subject: Re: PPC incompatible software
Date: 12 Oct 2024 17:17:16 GMT
Lines: 53
Message-ID: <lmvp8sFb9b7U1@mid.individual.net>
References: <lmlma3Fo2arU3@mid.individual.net> <XnsB2085F448B621mikedee@emteedee.invalid> <lmthe5FpgnU1@mid.individual.net> <XnsB2098A7CCE112mikedee@emteedee.invalid>
X-Trace: individual.net sDHtqYL6L99ZhHqQvt+1GQ/wfYQEtWAS/V9IXdDjoOnyyb50E7
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:hjw95EGFuq7tlSL0V+9b2ngQeOc= sha1:eNQg3EdgtjHQ9Ks+UFAyF7/JKaQ= sha256:66d4rjxIjp8eTzUfjNxWo76VOe21I8rqoIa8vgJ0Fck=
View all headers

Mike Dee <mikedee@emteedee.invalid> wrote:

> The web link you provided in your OP, goes on to say, under System
> Compatibility:
> "The client crashes upon connecting via a SNA?ps gateway when ran on
> PowerPC Macs,
> [...]

FYI, that's my Wiki and I have written that text myself. :-)

> The gateway software requires special hardware for the SNA network
> connection and is therefore limited to NuBus systems. [...] Testing of
> the gateway software on the first generation NuBus equipped PowerMacs
> also hasn?t been done, yet."

Yes. I think the text shows that there is a distinction between client and
server. The server (gateway) runs fine. I have not yet tested the gateway on a
NuBus PPC machine, because it runs good enough on the Quadra 700 I've picked
as gateway machine. NuBus is mandatory because my sole possibility for network
connection to AS/400 is the Token Ring Card as described in the article.

> And under Pitfalls:
> "Neither SNA?ps 5250, nor SNA?ps print can be used on PowerPC machines
> when connecting via a SNA?ps gateway. As soon as the connection is to
> be set, the client crashes with an illegal instruction error."
>
> I cannot imagine there are many Nubus slotted Macs that can run Mac OS
> 9. But, as the author also says, "untested".

Please don't confuse client (e. g. the 5250 terminal emulator) and gateway
software. The gateway is a protocol converter/encapsulator for the IBM SNA
protocol.

The gateway software needs "special" NuBus hardware as pointed out in the Wiki
article, and thus requires a Mac II class machine.

The client needs any Mac starting with a Mac Plus, and running System 7.

> It seems though that compatibility for running this software on PPC
> Macintosh, if it is going to work, has very specific requirements.

Which software? The gateway? Or the client?

> So, good luck with your tests, I hope the FPU emulator is of use, not
> only for this program, but for any others you might trial.

Thanks! As said, this is the first application I've encountered in years which
crashes on PPC but runs fine on the latest 68k hardware.

--

:wq! PoC

Subject: Re: PPC incompatible software
From: Sebastian P.
Newsgroups: comp.sys.mac.vintage
Organization: cornica.org - Quicktime archive
Date: Sat, 26 Oct 2024 14:46 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: info@cornica.org (Sebastian P.)
Newsgroups: comp.sys.mac.vintage
Subject: Re: PPC incompatible software
Date: Sat, 26 Oct 2024 16:46:18 +0200
Organization: cornica.org - Quicktime archive
Lines: 25
Message-ID: <info-7EC5B7.16461826102024@news.individual.de>
References: <lmlma3Fo2arU3@mid.individual.net>
X-Trace: individual.net nhFhTA1ap8LbKhT/nPX2TQ9h4WSwc7kBzez4p98qitj8ej33gz
X-Orig-Path: info
Cancel-Lock: sha1:ajq5thpuV8kACvLeXUZBdm8llBI= sha256:xrGKISHaxtjNYRUMEd9n1+bNQ14yR3Fyao34tCY/rxo=
User-Agent: MT-NewsWatcher/3.4 (PPC Classic)
View all headers

In article <lmlma3Fo2arU3@mid.individual.net>,
poc@pocnet.net (Patrik Schindler) wrote:

> Hello,
>
> some time ago, I discovered my first software package which runs on any 68k
> Mac, tested up to OS 9. But crashes on PPC.
>
> I observed this on the SNA.ps application, as soon as I'm trying to connect
> too a peer system. What is SNA.ps? See link below.
>
> <https://try-as400.pocnet.net/wiki/Apple_SNA.ps>
>
> Does any of you observe another software which reproducibly crashes only on
> PPCs but not on 68k Macs? I found no difference on 68k between 24- and 32 bit
> addressing mode. But I suddenly got the idea to probably retest with virtual
> memory enabled.

I remember the first time I ran into this was when I tried to run either Think C
5 or 6 on my Power Mac 8600. Very excited about the move up from coding on a
IIci and the resulting shorter compiling times, I hit the shortcuts for running
my code and ... a hard crash followed. Reboot, tried again and same result.

Given I had moved the code over from the IIci and *knew* it runs, it had to be a
Think C problem. Some online research later confirmed that.

Subject: Re: PPC incompatible software
From: Rene Kint
Newsgroups: comp.sys.mac.vintage
Organization: DOETNIX
Date: Wed, 27 Nov 2024 13:28 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: renekint@stnest.net (Rene Kint)
Newsgroups: comp.sys.mac.vintage
Subject: Re: PPC incompatible software
Date: Wed, 27 Nov 2024 14:28:52 +0100
Organization: DOETNIX
Lines: 62
Message-ID: <renekint-13964D.14285227112024@news.eternal-september.org>
References: <lmlma3Fo2arU3@mid.individual.net> <XnsB2085F448B621mikedee@emteedee.invalid> <lmthe5FpgnU1@mid.individual.net> <XnsB2098A7CCE112mikedee@emteedee.invalid> <lmvp8sFb9b7U1@mid.individual.net>
Injection-Date: Wed, 27 Nov 2024 14:28:53 +0100 (CET)
Injection-Info: dont-email.me; posting-host="08d6c30151b92b4d6b2bc4268ea3ca42";
logging-data="37492"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18DQ7pHlFLod/anoavyZXDhKs69c8fCXJ8="
User-Agent: MT-NewsWatcher/3.4 (PPC Classic)
Cancel-Lock: sha1:G82tBtoZy/+UzwDqFa42pvnnGzQ=
View all headers

In article <lmvp8sFb9b7U1@mid.individual.net>,
poc@pocnet.net (Patrik Schindler) wrote:

> Mike Dee <mikedee@emteedee.invalid> wrote:
>
> > The web link you provided in your OP, goes on to say, under System
> > Compatibility:
> > "The client crashes upon connecting via a SNA?ps gateway when ran on
> > PowerPC Macs,
> > [...]
>
> FYI, that's my Wiki and I have written that text myself. :-)
>
> > The gateway software requires special hardware for the SNA network
> > connection and is therefore limited to NuBus systems. [...] Testing of
> > the gateway software on the first generation NuBus equipped PowerMacs
> > also hasn?t been done, yet."
>
> Yes. I think the text shows that there is a distinction between client and
> server. The server (gateway) runs fine. I have not yet tested the gateway on a
> NuBus PPC machine, because it runs good enough on the Quadra 700 I've picked
> as gateway machine. NuBus is mandatory because my sole possibility for network
> connection to AS/400 is the Token Ring Card as described in the article.
>
> > And under Pitfalls:
> > "Neither SNA?ps 5250, nor SNA?ps print can be used on PowerPC machines
> > when connecting via a SNA?ps gateway. As soon as the connection is to
> > be set, the client crashes with an illegal instruction error."
> >
> > I cannot imagine there are many Nubus slotted Macs that can run Mac OS
> > 9. But, as the author also says, "untested".
>
> Please don't confuse client (e. g. the 5250 terminal emulator) and gateway
> software. The gateway is a protocol converter/encapsulator for the IBM SNA
> protocol.
>
> The gateway software needs "special" NuBus hardware as pointed out in the Wiki
> article, and thus requires a Mac II class machine.
>
> The client needs any Mac starting with a Mac Plus, and running System 7.
>
> > It seems though that compatibility for running this software on PPC
> > Macintosh, if it is going to work, has very specific requirements.
>
> Which software? The gateway? Or the client?
>
> > So, good luck with your tests, I hope the FPU emulator is of use, not
> > only for this program, but for any others you might trial.
>
> Thanks! As said, this is the first application I've encountered in years which
> crashes on PPC but runs fine on the latest 68k hardware.

Hi, Patrick.

I also have seen that sometimes. There was a version of Joshua Stein's
wonderful Wallops IRC client that worked on 68K, but crashed on my G3.

He immediately sent out an updated version which didn't crash, so he
might know what caused that crash.

Regards,
Rene

1

rocksolid light 0.9.8
clearnet tor