
From owner-amigappc-dev  Wed Jan  7 13:26:02 1998
Received: from amiga.com.pl (carlos@async50.fiber.net.pl [195.117.208.50]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id NAA03793 for <amigappc-dev@amiga.com.pl>; Wed, 7 Jan 1998 13:25:59 +0100 (MET)
From: Marcin Orlowski <carlos@amiga.com.pl>
To: "[WFMH] AmigaPPC-Dev ML" <amigappc-dev@amiga.com.pl>
Date: Wed, 07 Jan 1998 12:13:17 +0100
Message-ID: <yam7311.852.139594088@amiga.com.pl>
X-Mailer: YAM 2.0beta5 - Amiga Mailer by Marcel Beck - http://www.yam.ch
Organization: W.F.M.H.   (http://www.wfmh.org.pl)
Subject: Re: MPEG
MIME-Version: 1.0
Content-Type: text/plain


Hi,

Well, Milek, tested. Now it works fine, however you should not use
optimizer too heavy, until Steve fix all related bugs. Ever thought
about AsyncIO for next release? Would give more speedup, due
to the parallel procesing.

--
 Who needs horror movies when we have Microsoft?

 Marcin                          http://www.wfmh.org.pl/~carlos/
                                       mailto:carlos@wfmh.org.pl


From owner-amigappc-dev  Wed Jan  7 13:25:58 1998
Received: from amiga.com.pl (carlos@async50.fiber.net.pl [195.117.208.50]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id NAA03791 for <amigappc-dev@amiga.com.pl>; Wed, 7 Jan 1998 13:25:57 +0100 (MET)
From: Marcin Orlowski <carlos@amiga.com.pl>
To: "[WFMH] AmigaPPC-Dev ML" <amigappc-dev@amiga.com.pl>
Date: Wed, 07 Jan 1998 12:12:18 +0100
Message-ID: <yam7311.920.139594088@amiga.com.pl>
X-Mailer: YAM 2.0beta5 - Amiga Mailer by Marcel Beck - http://www.yam.ch
Organization: W.F.M.H.   (http://www.wfmh.org.pl)
Subject: cybppc.device
MIME-Version: 1.0
Content-Type: text/plain


Hi,

Anyone using newer cybppc.device than 44.2?

--
 Who needs horror movies when we have Microsoft?

 Marcin                          http://www.wfmh.org.pl/~carlos/
                                       mailto:carlos@wfmh.org.pl


From owner-amigappc-dev  Wed Jan  7 21:58:05 1998
Received: from amiga.com.pl (carlos@async53.fiber.net.pl [195.117.208.53]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id VAA05728 for <amigappc-dev@amiga.com.pl>; Wed, 7 Jan 1998 21:58:03 +0100 (MET)
From: Marcin Orlowski <info@amiga.com.pl>
To: "[WFMH] AmigaPPC-Dev ML" <amigappc-dev@amiga.com.pl>
Date: Wed, 07 Jan 1998 21:53:36 +0100
Message-ID: <yam7311.1808.141035264@amiga.com.pl>
X-Mailer: YAM 2.0beta6 - Amiga Mailer by Marcel Beck - http://www.yam.ch
Organization: W.F.M.H.   (http://www.wfmh.org.pl)
MIME-Version: 1.0
Content-Type: text/plain


-- 
 OS/2 - half of operating system

 Marcin                          http://www.wfmh.org.pl/~carlos/
                                       mailto:carlos@wfmh.org.pl


From owner-amigappc-dev  Wed Jan  7 22:12:10 1998
Received: from amiga.com.pl (milek@async53.fiber.net.pl [195.117.208.53]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id WAA05811 for <amigappc-dev@amiga.com.pl>; Wed, 7 Jan 1998 22:12:08 +0100 (MET)
From: Miloslaw Smyk <thorgal@amiga.com.pl>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Date: Wed, 07 Jan 1998 21:59:18 MET
Message-ID: <yam7311.905.139705272@wfmh.org.pl>
In-Reply-To: <yam7311.852.139594088@amiga.com.pl>
X-Mailer: YAM 1.3.5 [040] - Amiga Mailer by Marcel Beck
Organization: W.F.M.H.
Subject: Re: MPEG
MIME-Version: 1.0
Content-Type: text/plain

On 07-Sty-98, Marcin Orlowski wrote:

>Well, Milek, tested. Now it works fine, however you should not use
>optimizer too heavy, until Steve fix all related bugs.

Ok, so we can head for, khem, release. :-P

>Ever thought
>about AsyncIO for next release? Would give more speedup, due
>to the parallel procesing.

Maybe yes, maybe no. But first I'd like to add support for deep screens and
video h/w, followed by framerate control, frame dropping etc. So async io is
definitely not my priority. :/

cu,
Milek
-- 
mailto:thorgal@amiga.com.pl   |  "Man in the Moon and other weird things" -
http://wfmh.org.pl/~thorgal/  |  see it at http://wfmh.org.pl/~thorgal/Moon/

From owner-amigappc-dev  Thu Jan  8 10:40:27 1998
Received: from exchange19.davilex.nl (exchange19.davilex.nl [195.86.44.19]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id KAA08929 for <amigappc-dev@amiga.com.pl>; Thu, 8 Jan 1998 10:40:24 +0100 (MET)
Received: by exchange19.davilex.nl with Internet Mail Service (5.0.1458.49)
	id <Z5XGV16R>; Thu, 8 Jan 1998 10:33:39 +0100
Message-ID: <0046A7E9E604D111B541080009D0334B01FC74@exchange19.davilex.nl>
From: milan <Milan@davilex.nl>
To: "'amigappc-dev@amiga.com.pl'" <amigappc-dev@amiga.com.pl>
Subject: PPC: Developments ?
Date: Thu, 8 Jan 1998 10:33:37 +0100
X-Priority: 3
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.0.1458.49)
Content-Type: text/plain

Hi all, just subscribed to this list.

I am currently working on porting my CandyFactory program to PowerUP
using GNU-C. It is much easier than I thought and gives great speedup.
CandyFactory add lightsourced bevels, glows, softshadows, bumpnoise etc.
to a b/w mask, check it out at
http://www.geocities.com/SiliconValley/Way/1038/index.html.

So, what are you guys developing on the PPC ? I am curious to know what
I can expect, anybody working on a PPC-demo yet ?

               /
Milan Polle
From owner-amigappc-dev  Thu Jan  8 11:26:03 1998
Received: from dde.dde.dk (dde.dde.dk [152.95.32.2]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id LAA09106 for <amigappc-dev@amiga.com.pl>; Thu, 8 Jan 1998 11:19:23 +0100 (MET)
Received: by dde.dde.dk (5.61/9.3) 
	id AA10347; Thu, 8 Jan 98 11:13:40 +0100
Received: from altus.dde.dk by dde.dde.dk (5.61/9.3) with SMTP 
	id AA22727; Thu, 8 Jan 98 11:13:39 +0100
Received: from slk-pc.dde.dk by altus.dde.dk (5.61/9.6) with SMTP 
	id AA28844; Thu, 8 Jan 98 11:14:57 +0100
Sender: mni@dde.dk
Message-Id: <34B4A68D.9572B56@dde.dk>
Date: Thu, 08 Jan 1998 11:12:30 +0100
From: Michael Nielsen <mni@dde.dk>
X-Mailer: Mozilla 4.04j2 [en] (X11; I; Linux 2.1.71 i586)
Mime-Version: 1.0
To: amigappc-dev@amiga.com.pl
Subject: SASC - ppc
References: <199801081011.LAA09082@amiga.com.pl>
Content-Type: multipart/alternative; boundary="------------0215EA19B96476047C335742"


--------------0215EA19B96476047C335742
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

does any one here know where I can get a hold of SASC PPC, since I have not
been able to find it,
and I've moved since I sent my registration form to SASC..   I heard that SASC
was officially
not supported any more is this true ?

    thanks mike


--
---------------------Michael Nielsen Be(Hons)-------------------------
mni@dde.dk [work] tlf: +45 9828 4611x26 | mikeni@image.dk   [private]
http://www.dde.dk fax: +45 9828 4565    | http://www.image.dk/~mikeni
-----------To work is good as long as we remember to live!------------
vim:tw=78:ts=8:sw=8



--------------0215EA19B96476047C335742
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<HTML>
does any one here know where I can get a hold of SASC PPC, since I have
not been able to find it,
<BR>and I've moved since I sent my registration form to SASC..&nbsp;&nbsp;
I heard that SASC was officially
<BR>not supported any more is this true ?

<P>&nbsp;&nbsp;&nbsp; thanks mike
<BR>&nbsp;
<PRE>--&nbsp;
---------------------Michael Nielsen Be(Hons)-------------------------
mni@dde.dk [work] tlf: +45 9828 4611x26 | mikeni@image.dk&nbsp;&nbsp; [private]
<A HREF="http://www.dde.dk">http://www.dde.dk</A> fax: +45 9828 4565&nbsp;&nbsp;&nbsp; | <A HREF="http://www.image.dk/~mikeni">http://www.image.dk/~mikeni</A>
-----------To work is good as long as we remember to live!------------
vim:tw=78:ts=8:sw=8</PRE>
&nbsp;</HTML>

--------------0215EA19B96476047C335742--

From owner-amigappc-dev  Thu Jan  8 11:56:24 1998
Received: from amiga.com.pl (wfmh.org.pl [195.117.208.3]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id LAA09296 for <amigappc-dev@amiga.com.pl>; Thu, 8 Jan 1998 11:56:22 +0100 (MET)
Date: Thu, 8 Jan 1998 11:56:21 +0100 (MET)
From: Marcin Orlowski <carlos@amiga.com.pl>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Subject: Re: SASC - ppc
In-Reply-To: <34B4A68D.9572B56@dde.dk>
Message-ID: <Pine.NEB.3.96.980108115510.9274B-100000@amiga.com.pl>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Thu, 8 Jan 1998, Michael Nielsen wrote:

> does any one here know where I can get a hold of SASC PPC, since I have not
> been able to find it,
> and I've moved since I sent my registration form to SASC..   I heard that SASC
> was officially
> not supported any more is this true ?

Yes. Officially SAS does not support Amiga. But unofficially,
there's latest SAS/C PPC beta 5 available at 

http://www.warped.com/~stevek/

--
 Daddy, what FORMATTING DRIVE C: means?

 Marcin                     mailto:carlos@amiga.com.pl
                              http://www.wfmh.org.pl


From owner-amigappc-dev  Thu Jan  8 11:58:02 1998
Received: from amiga.com.pl (wfmh.org.pl [195.117.208.3]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id LAA09317 for <amigappc-dev@amiga.com.pl>; Thu, 8 Jan 1998 11:58:01 +0100 (MET)
Date: Thu, 8 Jan 1998 11:58:00 +0100 (MET)
From: Marcin Orlowski <carlos@amiga.com.pl>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Subject: Re: SASC - ppc
In-Reply-To: <34B4A68D.9572B56@dde.dk>
Message-ID: <Pine.NEB.3.96.980108115708.9274C-100000@amiga.com.pl>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Thu, 8 Jan 1998, Michael Nielsen wrote:

> does any one here know where I can get a hold of SASC PPC, since I have not
> been able to find it,

BTW: can you stop posting HTML mails attached to plain ones?
     That's annoying and unwanted here.
--
 Daddy, what FORMATTING DRIVE C: means?

 Marcin                     mailto:carlos@amiga.com.pl
                              http://www.wfmh.org.pl


From owner-amigappc-dev  Thu Jan  8 13:14:14 1998
Received: from dde.dde.dk (dde.dde.dk [152.95.32.2]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id NAA09571 for <amigappc-dev@amiga.com.pl>; Thu, 8 Jan 1998 13:12:12 +0100 (MET)
Received: by dde.dde.dk (5.61/9.3) 
	id AA04232; Thu, 8 Jan 98 13:07:17 +0100
Received: from altus.dde.dk by dde.dde.dk (5.61/9.3) with SMTP 
	id AA30848; Thu, 8 Jan 98 13:07:16 +0100
Received: from slk-pc.dde.dk by altus.dde.dk (5.61/9.6) with SMTP 
	id AA08364; Thu, 8 Jan 98 13:08:35 +0100
Sender: mni@dde.dk
Message-Id: <34B4C12E.C932E844@dde.dk>
Date: Thu, 08 Jan 1998 13:06:06 +0100
From: Michael Nielsen <mni@dde.dk>
X-Mailer: Mozilla 4.04j2 [en] (X11; I; Linux 2.1.71 i586)
Mime-Version: 1.0
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Subject: Re: SASC - ppc
References: <Pine.NEB.3.96.980108115510.9274B-100000@amiga.com.pl>
Content-Type: multipart/alternative; boundary="------------69476E678372F7E41ECDC3AA"


--------------69476E678372F7E41ECDC3AA
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Marcin Orlowski wrote:

> On Thu, 8 Jan 1998, Michael Nielsen wrote:
>
> > does any one here know where I can get a hold of SASC PPC, since I have not
> > been able to find it,
> > and I've moved since I sent my registration form to SASC..   I heard that SASC
> > was officially
> > not supported any more is this true ?
>
> Yes. Officially SAS does not support Amiga. But unofficially,
> there's latest SAS/C PPC beta 5 available at
>
> http://www.warped.com/~stevek/

    thanks, I had been looking for a while :->

>  Daddy, what FORMATTING DRIVE C: means?
>

    I like this one :->.

--
---------------------Michael Nielsen Be(Hons)-------------------------
mni@dde.dk [work] tlf: +45 9828 4611x26 | mikeni@image.dk   [private]
http://www.dde.dk fax: +45 9828 4565    | http://www.image.dk/~mikeni
-----------To work is good as long as we remember to live!------------
vim:tw=78:ts=8:sw=8



--------------69476E678372F7E41ECDC3AA
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<HTML>
Marcin Orlowski wrote:
<BLOCKQUOTE TYPE=CITE>On Thu, 8 Jan 1998, Michael Nielsen wrote:

<P>> does any one here know where I can get a hold of SASC PPC, since I
have not
<BR>> been able to find it,
<BR>> and I've moved since I sent my registration form to SASC..&nbsp;&nbsp;
I heard that SASC
<BR>> was officially
<BR>> not supported any more is this true ?

<P>Yes. Officially SAS does not support Amiga. But unofficially,
<BR>there's latest SAS/C PPC beta 5 available at

<P><A HREF="http://www.warped.com/~stevek/">http://www.warped.com/~stevek/</A></BLOCKQUOTE>
&nbsp;&nbsp;&nbsp; thanks, I had been looking for a while :->
<BLOCKQUOTE TYPE=CITE>

<P>&nbsp;Daddy, what FORMATTING DRIVE C: means?
<BR>&nbsp;</BLOCKQUOTE>
&nbsp;&nbsp;&nbsp; I like this one :->.&nbsp;
<PRE>--&nbsp;
---------------------Michael Nielsen Be(Hons)-------------------------
mni@dde.dk [work] tlf: +45 9828 4611x26 | mikeni@image.dk&nbsp;&nbsp; [private]
<A HREF="http://www.dde.dk">http://www.dde.dk</A> fax: +45 9828 4565&nbsp;&nbsp;&nbsp; | <A HREF="http://www.image.dk/~mikeni">http://www.image.dk/~mikeni</A>
-----------To work is good as long as we remember to live!------------
vim:tw=78:ts=8:sw=8</PRE>
&nbsp;</HTML>

--------------69476E678372F7E41ECDC3AA--

From owner-amigappc-dev  Thu Jan  8 13:17:05 1998
Received: from dde.dde.dk (dde.dde.dk [152.95.32.2]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id NAA09574 for <amigappc-dev@amiga.com.pl>; Thu, 8 Jan 1998 13:14:13 +0100 (MET)
Received: by dde.dde.dk (5.61/9.3) 
	id AA16513; Thu, 8 Jan 98 13:08:15 +0100
Received: from altus.dde.dk by dde.dde.dk (5.61/9.3) with SMTP 
	id AA00177; Thu, 8 Jan 98 13:08:14 +0100
Received: from slk-pc.dde.dk by altus.dde.dk (5.61/9.6) with SMTP 
	id AA18543; Thu, 8 Jan 98 13:09:29 +0100
Sender: mni@dde.dk
Message-Id: <34B4C164.41571F33@dde.dk>
Date: Thu, 08 Jan 1998 13:07:00 +0100
From: Michael Nielsen <mni@dde.dk>
X-Mailer: Mozilla 4.04j2 [en] (X11; I; Linux 2.1.71 i586)
Mime-Version: 1.0
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Subject: Re: SASC - ppc
References: <Pine.NEB.3.96.980108115708.9274C-100000@amiga.com.pl>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Marcin Orlowski wrote:

> On Thu, 8 Jan 1998, Michael Nielsen wrote:
>
> > does any one here know where I can get a hold of SASC PPC, since I have not
> > been able to find it,
>
> BTW: can you stop posting HTML mails attached to plain ones?
>      That's annoying and unwanted here.
>

My apologies, won't happen again (I hope).

    mvh
        mike


--
---------------------Michael Nielsen Be(Hons)-------------------------
mni@dde.dk [work] tlf: +45 9828 4611x26 | mikeni@image.dk   [private]
http://www.dde.dk fax: +45 9828 4565    | http://www.image.dk/~mikeni
-----------To work is good as long as we remember to live!------------
vim:tw=78:ts=8:sw=8



From owner-amigappc-dev  Thu Jan  8 15:53:12 1998
Received: from amiga.com.pl (milek@async53.fiber.net.pl [195.117.208.53]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id PAA10177 for <amigappc-dev@amiga.com.pl>; Thu, 8 Jan 1998 15:53:11 +0100 (MET)
From: Miloslaw Smyk <thorgal@amiga.com.pl>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Date: Thu, 08 Jan 1998 12:34:36 MET
Message-ID: <yam7312.1827.139043792@wfmh.org.pl>
In-Reply-To: <34B4A68D.9572B56@dde.dk>
X-Mailer: YAM 1.3.5 [040] - Amiga Mailer by Marcel Beck
Organization: W.F.M.H.
Subject: Re: SASC - ppc
MIME-Version: 1.0
Content-Type: text/plain

On 08-Sty-98, Michael Nielsen wrote:
>does any one here know where I can get a hold of SASC PPC, since I have not
>been able to find it,
>and I've moved since I sent my registration form to SASC..

Steve Krueger's Compiler Support Page:

http://www.warped.com/~stevek/

>I heard that SASC
>was officially
>not supported any more is this true ?

Yes, SAS Institute terminated support for Amiga SAS/C quite some time ago,
but fortunately Steve is still working on it in his spare time (with SAS
Institute approval).

Milek
Ps. Please stop sending your email in both plain ASCII and HTML. Thanks.
-- 
mailto:thorgal@amiga.com.pl   |  "Man in the Moon and other weird things" -
http://wfmh.org.pl/~thorgal/  |  see it at http://wfmh.org.pl/~thorgal/Moon/

From owner-amigappc-dev  Fri Jan  9 09:56:26 1998
Received: from dde.dde.dk (dde.dde.dk [152.95.32.2]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id JAA14294 for <amigappc-dev@amiga.com.pl>; Fri, 9 Jan 1998 09:55:09 +0100 (MET)
Received: by dde.dde.dk (5.61/9.3) 
	id AA04192; Fri, 9 Jan 98 09:47:47 +0100
Received: from altus.dde.dk by dde.dde.dk (5.61/9.3) with SMTP 
	id AA24654; Fri, 9 Jan 98 09:47:46 +0100
Received: from slk-pc.dde.dk by altus.dde.dk (5.61/9.6) with SMTP 
	id AA24743; Fri, 9 Jan 98 09:48:05 +0100
Sender: mni@dde.dk
Message-Id: <34B5E3AC.FCE50F3D@dde.dk>
Date: Fri, 09 Jan 1998 09:45:32 +0100
From: Michael Nielsen <mni@dde.dk>
X-Mailer: Mozilla 4.04j2 [en] (X11; I; Linux 2.1.71 i586)
Mime-Version: 1.0
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Subject: Re: SASC - ppc
References: <yam7312.1827.139043792@wfmh.org.pl>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

> Milek
> Ps. Please stop sending your email in both plain ASCII and HTML. Thanks.
>

point taken!

   mvh
        mike


--
------------------------------------------------------------------------------
                   (Ingeniĝr) Michael Nielsen BE(Hons)
 work email    : mni@dde.dk                         telf: +45 4284 8433 x 360
 Private email : mikeni@image.dk                    fax : +45 4284 5011
------------------------------------------------------------------------------
             At arbejede er godt, sċ lĉnge man husker at leve!
             (To work is good as long as we remember to live!)



From owner-amigappc-dev  Fri Jan  9 13:13:43 1998
Received: from amiga.com.pl (milek@async52.fiber.net.pl [195.117.208.52]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id NAA14846 for <amigappc-dev@amiga.com.pl>; Fri, 9 Jan 1998 13:13:41 +0100 (MET)
From: Miloslaw Smyk <thorgal@amiga.com.pl>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Date: Fri, 09 Jan 1998 12:52:54 MET
Message-ID: <yam7313.2744.139158984@wfmh.org.pl>
In-Reply-To: <0046A7E9E604D111B541080009D0334B01FC74@exchange19.davilex.nl>
X-Mailer: YAM 1.3.5 [040] - Amiga Mailer by Marcel Beck
Organization: W.F.M.H.
Subject: Re: PPC: Developments ?
MIME-Version: 1.0
Content-Type: text/plain

On 08-Sty-98, milan wrote:

>So, what are you guys developing on the PPC ? I am curious to know what
>I can expect, anybody working on a PPC-demo yet ?

I'm working on MPEG video player and early alpha has been just released -
ftp://amiga.com.pl/pub/frogger/frogger.lha or Aminet:gfx/show/frogger.lha

Milek
-- 
mailto:thorgal@amiga.com.pl   |  "Man in the Moon and other weird things" -
http://wfmh.org.pl/~thorgal/  |  see it at http://wfmh.org.pl/~thorgal/Moon/

From owner-amigappc-dev  Fri Jan  9 13:30:44 1998
Received: from exchange19.davilex.nl (exchange19.davilex.nl [195.86.44.19]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id NAA14910 for <amigappc-dev@amiga.com.pl>; Fri, 9 Jan 1998 13:30:35 +0100 (MET)
Received: by exchange19.davilex.nl with Internet Mail Service (5.0.1458.49)
	id <Z5XGVF4D>; Fri, 9 Jan 1998 13:23:47 +0100
Message-ID: <0046A7E9E604D111B541080009D0334B01FC7A@exchange19.davilex.nl>
From: milan <Milan@davilex.nl>
To: "'AmigaPPC developers' mailing list'" <amigappc-dev@amiga.com.pl>
Subject: RE: PPC: Developments ?
Date: Fri, 9 Jan 1998 13:23:45 +0100
X-Priority: 3
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.0.1458.49)
Content-Type: text/plain

> On 08-Sty-98, milan wrote:
> 
> >So, what are you guys developing on the PPC ? I am curious to know
> what
> >I can expect, anybody working on a PPC-demo yet ?
> 
> I'm working on MPEG video player and early alpha has been just
> released -
> ftp://amiga.com.pl/pub/frogger/frogger.lha or
> Aminet:gfx/show/frogger.lha
> 
Cool! I thought that was you, I already got it from Aminet, MPEG2
support even sounded cool to the PC freaks here at work :^)
BTW: Anybody here had any success with SASPPC ? I can make an ELF with
it but it refuses to load, giving an RELOC_24 not found type of error,
it works fine with GNU-C generated ELFs.

Milan


From owner-amigappc-dev  Fri Jan  9 18:37:48 1998
Received: from mh2.cts.com (root@mh2.cts.com [205.163.24.68]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id SAA15888 for <amigappc-dev@amiga.com.pl>; Fri, 9 Jan 1998 18:37:44 +0100 (MET)
Received: from king.cts.com (root@king.cts.com [198.68.168.21]) by mh2.cts.com (8.8.7/8.8.5) with ESMTP id JAA14508 for <amigappc-dev@amiga.com.pl>; Fri, 9 Jan 1998 09:32:44 -0800 (PST)
Received: from crash.cts.com (root@crash.cts.com [192.188.72.17])
	by king.cts.com (8.8.7/8.8.7) with SMTP id JAA16949
	for <amigappc-dev@amiga.com.pl>; Fri, 9 Jan 1998 09:32:43 -0800 (PST)
Received: from outside.cts.com by crash.cts.com with smtp
	(Smail3.1.29.1 #5) id m0xqhwG-00000AC; Fri, 9 Jan 98 09:09 PST
Message-Id: <m0xqhwG-00000AC@crash.cts.com>
X-SMTP-Client: VoodooSMTP 1.3 by Finale Development, Inc.
From: "David A. Newman" <dan@cts.com>
Reply-To: dan@cts.com
MIME-Version: 1.0
X-Mailer: Serious Voodoo 1.329 (Registered to David A Newman <dan@cts.com>)
In-Reply-To: <0046A7E9E604D111B541080009D0334B01FC7A@exchange19.davilex.nl>
To: amigappc-dev@amiga.com.pl
Subject: Re: PPC: Developments ?
Date: Fri, 9 Jan 1998 09:08:07 (-0800)
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

On Fri, 9 Jan 1998 13:23:45 +0100,
milan <Milan@davilex.nl> wrote about RE: PPC: Developments ?:
> BTW: Anybody here had any success with SASPPC ? I can make an ELF with
> it but it refuses to load, giving an RELOC_24 not found type of error,
> it works fine with GNU-C generated ELFs.

No problem here.  The RELOC_24 will normally give enough information to
point to the problem.

cya
--
David A Newman      dan@cts.com (Home)
 Applied Magic Inc   dan@amagic.com (Work)
  Producer Tools      http://www.free.cts.com/crash/d/dan/
   Graffiti Wall       http://www.sorceror.com/thewall.html

From owner-amigappc-dev  Fri Jan  9 19:24:27 1998
Received: from EURE.de (geul.eure.de [194.180.228.1]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id TAA16040 for <amigappc-dev@amiga.com.pl>; Fri, 9 Jan 1998 19:24:19 +0100 (MET)
Received: from eure.de  194.180.228.104
 by EURE.de;  Fri, 09 Jan 1998 19:18:57 
From: Andreas Kuessner <eksec@EURE.de>
Reply-To: eksec@EURE.de
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Date: Fri, 09 Jan 1998 19:16:30 +0100
Message-ID: <yam7313.1543.1737087400@eure.de>
In-Reply-To: <yam7313.2744.139158984@wfmh.org.pl>
X-Mailer: YAM 1.3.4 [020] - Amiga Mailer by Marcel Beck
Organization: Infect
Subject: Re: PPC: Developments ?
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

On 09-Jan-98, Miloslaw Smyk wrote:
>On 08-Sty-98, milan wrote:

>So, what are you guys developing on the PPC ? I am curious to know what
>I can expect, anybody working on a PPC-demo yet ?


Hi there...

we are developing Wildfire for Amiga and PPC.
I`m not the programmer but the project manager. The irst sold version is =
ready
since beginning of november 1997. It took us 3 weeks to transform the maj=
or
parts of the program to ppc (elf)

cu, andreas.


=2EoO---------------------------------------------------------------Oo.
   Andreas K=FCssner      (Eksec/Infect!)      E-Mail: eksec@eure.de
   homepage:               http://www.oberland.com/amiga/wildfire/
   Wildfire Project Manager, Infect! Amiga Entertainment Organizer
=2EoO---------------------------------------------------------------Oo.


From owner-amigappc-dev  Fri Jan  9 21:07:28 1998
Received: from amiga.com.pl (carlos@async54.fiber.net.pl [195.117.208.54]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id VAA16595 for <amigappc-dev@amiga.com.pl>; Fri, 9 Jan 1998 21:07:26 +0100 (MET)
From: Marcin Orlowski <carlos@amiga.com.pl>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Date: Fri, 09 Jan 1998 17:28:32 +0100
Message-ID: <yam7313.1630.142327456@amiga.com.pl>
In-Reply-To: <0046A7E9E604D111B541080009D0334B01FC74@exchange19.davilex.nl>
X-Mailer: YAM 2.0beta6 - Amiga Mailer by Marcel Beck - http://www.yam.ch
Organization: W.F.M.H.   (http://www.wfmh.org.pl)
Subject: Re: PPC: Developments ?
MIME-Version: 1.0
Content-Type: text/plain

On 08-Sty-98, milan wrote:

> So, what are you guys developing on the PPC ? I am curious to know what
> I can expect, anybody working on a PPC-demo yet ?

Some graphics related stuff here, but not 'soon to be released ;-('

BTW: Seems there's much interest in PPC, as we already have 60 new
     subscribers since Wednsday!

-- 
 Win95: "We made it safe to turn off your computer"

 Marcin                          http://www.wfmh.org.pl/~carlos/
                                       mailto:carlos@wfmh.org.pl


From owner-amigappc-dev  Fri Jan  9 21:49:28 1998
Received: from legolas.mdh.se (root@legolas.mdh.se [130.238.251.203]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id VAA16855 for <amigappc-dev@amiga.com.pl>; Fri, 9 Jan 1998 21:49:27 +0100 (MET)
Received: from legolas.mdh.se (adb94hbd@legolas.mdh.se [130.238.251.203])
	by legolas.mdh.se (8.8.7/8.8.7) with SMTP id VAA11607
	for <amigappc-dev@amiga.com.pl>; Fri, 9 Jan 1998 21:44:25 +0100 (MET)
Date: Fri, 9 Jan 1998 21:44:25 +0100 (MET)
From: Henrik Berglund  SdU <adb94hbd@mds.mdh.se>
X-Sender: adb94hbd@legolas.mdh.se
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Subject: blizzard 603e+
In-Reply-To: <yam7313.1630.142327456@amiga.com.pl>
Message-ID: <Pine.GSO.3.95.980109214203.11433A-100000@legolas.mdh.se>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hi 
Does anyone of you have any news on when the blizzard ppc
for amiga 1200 might be out?


From owner-amigappc-dev  Fri Jan  9 22:10:37 1998
Received: from amiga.com.pl (carlos@async52.fiber.net.pl [195.117.208.52]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id WAA00149 for <amigappc-dev@amiga.com.pl>; Fri, 9 Jan 1998 22:10:35 +0100 (MET)
From: Marcin Orlowski <carlos@amiga.com.pl>
To: "[WFMH] AmigaPPC-Dev ML" <amigappc-dev@amiga.com.pl>
Date: Fri, 09 Jan 1998 22:05:20 +0100
Message-ID: <yam7313.1024.141855416@amiga.com.pl>
X-Mailer: YAM 2.0beta6 - Amiga Mailer by Marcel Beck - http://www.yam.ch
Organization: W.F.M.H.   (http://www.wfmh.org.pl)
Subject: New kernel released
MIME-Version: 1.0
Content-Type: text/plain


Hi

In case someone missed that, Phase5 released v45.5 of PPC kernel
available as always at ftp://ftp.phase5.de:21/pub/phase5/ppc

-- 
 Wndows is f.ne for bckground comu.ication.

 Marcin                          http://www.wfmh.org.pl/~carlos/
                                       mailto:carlos@wfmh.org.pl


From owner-amigappc-dev  Fri Jan  9 23:31:16 1998
Received: from amiga (amiga.u-net.com [194.119.174.100]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id XAA00466 for <amigappc-dev@amiga.com.pl>; Fri, 9 Jan 1998 23:31:08 +0100 (MET)
Received: by amiga.UUCP (Amiga SMTPpost 1.04 December 9, 1994)
        id AA01; Fri, 9 Jan 98 22:25:45 GMT
From: Keith Blakemore-Noble <Amiga@computer.org>
Organization: Mad Dog Software
MIME-Version: 1.0
X-Mailer: Serious Voodoo 1.329 (Registered to Keith Blakemore-Noble <keith@amiga.u-net.com>)
In-Reply-To: <0046A7E9E604D111B541080009D0334B01FC74@exchange19.davilex.nl>
Subject: Re: PPC: Developments ?
Date: Fri, 9 Jan 1998 22:19:59
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
To: amigappc-dev@amiga.com.pl
Message-ID: <19980109.8A82FD8.14420@amiga.UUCP>

Hello there!  How nice of you to call.  Please, do come in...

> Hi all, just subscribed to this list.
>
> So, what are you guys developing on the PPC ? I am curious to know what
> I can expect, anybody working on a PPC-demo yet ?

I'll be trying to port pgp (2.6.3 initially) to make use of the PPC.
It's not going to be immediately, unfortunately, 'cos I'm in the midst
of two other projects, but hopefully I'll get something done fairly soon.
(Primarily as an excersise in learning how ot use the PPC and ppc.library,
but maybe someone will find it useful!)

TTFN,
Keith.

From owner-amigappc-dev  Sat Jan 10 02:21:28 1998
Received: from butler.medianet.pl (root@butler.medianet.com.pl [195.116.184.2]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id CAA02667 for <amigappc-dev@amiga.com.pl>; Sat, 10 Jan 1998 02:21:27 +0100 (MET)
Received: from mail.union.org.pl (virtual.medianet.pl [195.116.184.254])
          by butler.medianet.pl (8.8.6/8.8.4) with ESMTP
	  id CAA03623 for <amigappc-dev@amiga.com.pl>; Sat, 10 Jan 1998 02:16:38 +0100 (MET)
Received: from union.medianet.pl (Docent@[195.205.246.19] (may be forged)) by mail.union.org.pl (8.8.6/8.7.5) with SMTP id CAA27853 for <amigappc-dev@amiga.com.pl>; Sat, 10 Jan 1998 02:17:10 GMT
Posted-Date: Sat, 10 Jan 1998 02:17:10 GMT
From: Peter Drapich <docent@union.org.pl>
Reply-To: Peter Drapich <docent@union.org.pl>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Date: Sat, 10 Jan 1998 02:17:23 +0100
Message-ID: <yam7314.1189.125738760@mail.union.medianet.pl>
In-Reply-To: <yam7313.1630.142327456@amiga.com.pl>
X-Mailer: YAM 1.3.4 [020] - Amiga Mailer by Marcel Beck
Organization: Union Systems
Subject: Re: PPC: Developments ?
MIME-Version: 1.0
Content-Type: text/plain

On 09-Jan-98, Marcin Orlowski wrote:
>On 08-Sty-98, milan wrote:
>> So, what are you guys developing on the PPC ? I am curious to know what
>> I can expect, anybody working on a PPC-demo yet ?
>Some graphics related stuff here, but not 'soon to be released ;-('

Ok, there IS one..:))) I'm working on POVRay PPC version, which is almost
ready and will reach beta stage next week. I think it will be the biggest ppc
program so far. At least from the executable's size point of view.:))) - its
around 1 MB now...

>BTW: Seems there's much interest in PPC, as we already have 60 new
>     subscribers since Wednsday!

Cool.

Docent
--
Chemicals:  Noxious substances from which modern foods are made.

From owner-amigappc-dev  Sat Jan 10 03:05:38 1998
Received: from server.kic.or.jp (server.kic.or.jp [202.239.136.13]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id DAA02774 for <amigappc-dev@amiga.com.pl>; Sat, 10 Jan 1998 03:05:18 +0100 (MET)
Received: from kic-136-ppp36.kic.or.jp (mclaughd@kic-136-ppp36.kic.or.jp [202.239.136.56])
          by server.kic.or.jp  with ESMTP
	  id BAA10989 for <amigappc-dev@amiga.com.pl>; Sat, 10 Jan 1998 01:51:16 GMT
From: "Douglas McLaughlin" <mclaughd@kic.or.jp>
Organization: STR Programming Services
Date: 10 Jan 98 11:13:16 +0900
Subject: PPC Datatypes....
Message-Id: <34B757CC.MD-0.198.mclaughd@kic.or.jp>
To: amigappc-dev@amiga.com.pl
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: MicroDot-II/AmigaOS 0.198

HI all!

(Without RTFM) I was wondering if it is possible to write a function
for my program that runs on PPC while the main program runs on 68k?

I'm thinking this would probably be easiest by using a library but
that's not possible with SAS yet...

Any comments?

Doug
From owner-amigappc-dev  Sat Jan 10 05:02:51 1998
Received: from server.kic.or.jp (server.kic.or.jp [202.239.136.13]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id FAA02986 for <amigappc-dev@amiga.com.pl>; Sat, 10 Jan 1998 05:02:47 +0100 (MET)
Received: from um-ppp36.kic.or.jp (mclaughd@um-ppp36.kic.or.jp [202.239.134.36])
          by server.kic.or.jp  with ESMTP
	  id DAA19825 for <amigappc-dev@amiga.com.pl>; Sat, 10 Jan 1998 03:48:53 GMT
From: "Douglas McLaughlin" <mclaughd@kic.or.jp>
Organization: STR Programming Services
Date: 10 Jan 98 12:39:28 +0900
Subject: Allocating memory
Message-Id: <34B76C00.MD-0.198.mclaughd@kic.or.jp>
To: amigappc-dev@amiga.com.pl
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: MicroDot-II/AmigaOS 0.198

Which is better:

malloc()   (From SAS/PPC's ppc stdlib)

or

PPCAllocMem()   (From ppc.library)

I would assume that PPCAllocMem() is best for obvious reasons, but
does malloc() call PPCAllocMem() or does it use it's routine or the OS
routine?  Is malloc() aligned properly for PPC<->68K use?

Doug
From owner-amigappc-dev  Sat Jan 10 05:55:09 1998
Received: from camel14.mindspring.com (camel14.mindspring.com [207.69.200.64]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id FAA03026 for <amigappc-dev@amiga.com.pl>; Sat, 10 Jan 1998 05:55:07 +0100 (MET)
Received: from Home (user-38lc5br.dialup.mindspring.com [209.86.21.123])
	by camel14.mindspring.com (8.8.5/8.8.5) with ESMTP id XAA04033
	for <amigappc-dev@amiga.com.pl>; Fri, 9 Jan 1998 23:50:04 -0500 (EST)
Message-Id: <199801100450.XAA04033@camel14.mindspring.com>
From: "Steve Krueger" <sekruege@mindspring.com>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Subject: Re: Allocating memory
Date: Fri, 9 Jan 1998 23:48:18 -0500
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

> Which is better:
> 
> malloc()   (From SAS/PPC's ppc stdlib)
> 
> or
> 
> PPCAllocMem()   (From ppc.library)
> 
> I would assume that PPCAllocMem() is best for obvious reasons, but
> does malloc() call PPCAllocMem() or does it use it's routine or the OS
> routine?  Is malloc() aligned properly for PPC<->68K use?

malloc() uses a very simple pooled scheme, and calles PPCAllocMem().

I just took the routines that we tuned for the compiler, and put them
on top of PPCAllocMem() on the PPC. malloc() is tuned to give best
performance
when allocating and freeing memory of small sizes many times. If your
program simply allocates all its memory up front, then free's is all on
exit,
then malloc()/free() will gain you nothing.

sk

 

From owner-amigappc-dev  Sat Jan 10 07:14:41 1998
Received: from k4315.kampsax.dtu.dk ([130.225.71.227]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id HAA03118 for <amigappc-dev@amiga.com.pl>; Sat, 10 Jan 1998 07:14:38 +0100 (MET)
Received: from k4315.kampsax.dtu.dk (rask@192.38.215.253)
  by k4315.kampsax.dtu.dk with SMTP; 10 Jan 1998 06:09:07 -0000
Date: 10 Jan 98 00:16:04 +0100
From: "Rask Ingemann Lambertsen" <rask@kampsax.k-net.dk>
Subject: Re: your petidomo request...
To: amigappc-dev@amiga.com.pl
In-Reply-To: <199801091331.OAA15125@amiga.com.pl>
Message-ID: <1003.314T232T163596@kampsax.k-net.dk>
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 8bit
Organization: Me? Organised? Dream on...
X-Files: The truth is out there.
X-INUFS: This message was sent from an INetUtils Free System.
X-Mailer: THOR 2.5a (Amiga;TCP/IP)

Den 09-Jan-98 14:31:52 skrev Mailing List Processor fĝlgende om "Re: your petidomo request "add rask@kampsax.k-net.dk"":

>  AVAILABLE PPC COMPILERS
>  ------------------------------

>  SAS/C PPC   - http://www.warped.com/~stevek/
>  VBCC        - http://ftp.aminet.org/aminetbin/find?vbcc

There's also GCC <URL:http://www.ninemoons.com/GG/>
<URL:ftp://ftp.ninemoons.com/pub/geekgadgets/970728/amiga-bin/ppctools-bin.lha>
and StormC <URL:http://www.haage-partner.com/sc_e.htm>.

Regards,

/ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻTŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ\
| Rask Ingemann Lambertsen       | E-mail: mailto:rask@kampsax.dtu.dk    |
| Registered Phase5 developer    | WWW: http://www.gbar.dtu.dk/~c948374/ |
| A4k/604e, 44 MB, 3 GB, Ariadne | "ThrustMe" on XPilot, ARCnet and IRC  |
|                   03h:42m SLEEP?  I'm a programmer!                    |

From owner-amigappc-dev  Sat Jan 10 12:40:53 1998
Received: from EURE.de (geul.eure.de [194.180.228.1]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id MAA03697 for <amigappc-dev@amiga.com.pl>; Sat, 10 Jan 1998 12:40:44 +0100 (MET)
Received: from eure.de  194.180.228.109
 by EURE.de;  Sat, 10 Jan 1998 12:34:36 
From: Andreas Kuessner <eksec@EURE.de>
Reply-To: eksec@EURE.de
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Date: Sat, 10 Jan 1998 11:53:32 +0100
Message-ID: <yam7314.1635.1737120064@eure.de>
In-Reply-To: <yam7314.1189.125738760@mail.union.medianet.pl>
X-Mailer: YAM 1.3.5 [020] - Amiga Mailer by Marcel Beck
Organization: Infect
Subject: Re: PPC: Developments ?
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable


Hi there,

>Ok, there IS one..:))) I'm working on POVRay PPC version, which is almos=
t
>ready and will reach beta stage next week. I think it will be the bigges=
t ppc
>program so far. At least from the executable's size point of view.:))) -=
 its
>around 1 MB now...

Definitly not the biggest ...

wf    1.276.684 Bytes :-) (Wildfire PPC sales version)
+ 4 MB of external Plugins  (1 MB of it real elf-files...)

btw., are you supporting the P5 Solution with POVRay?
Some users of Wildfire asked for a direct support of POVRay through WF...=


Bye, Andreas.


=2EoO---------------------------------------------------------------Oo.
   Andreas K=FCssner      (Eksec/Infect!)      E-Mail: eksec@eure.de
   homepage:               http://www.oberland.com/amiga/wildfire/
   Wildfire Project Manager, Infect! Amiga Entertainment Organizer
=2EoO---------------------------------------------------------------Oo.


From owner-amigappc-dev  Sun Jan 11 02:12:40 1998
Received: from amiga.com.pl (milek@async52.fiber.net.pl [195.117.208.52]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id CAA02738 for <amigappc-dev@amiga.com.pl>; Sun, 11 Jan 1998 02:12:38 +0100 (MET)
From: Miloslaw Smyk <thorgal@amiga.com.pl>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Date: Sun, 11 Jan 1998 02:00:59 MET
Message-ID: <yam7315.2960.140313784@wfmh.org.pl>
In-Reply-To: <0046A7E9E604D111B541080009D0334B01FC7A@exchange19.davilex.nl>
X-Mailer: YAM 1.3.5 [040] - Amiga Mailer by Marcel Beck
Organization: W.F.M.H.
Subject: RE: PPC: Developments ?
MIME-Version: 1.0
Content-Type: text/plain

On 09-Sty-98, milan wrote:

>Cool! I thought that was you, I already got it from Aminet, MPEG2
>support even sounded cool to the PC freaks here at work :^)

I think I'll make Frogger shareware in the future, to be able to allocate
enough time for the development. :/

>BTW: Anybody here had any success with SASPPC ? I can make an ELF with
>it but it refuses to load, giving an RELOC_24 not found type of error,
>it works fine with GNU-C generated ELFs.

You are probably using ...Tags() calls (taglists built on the stack) and
this is no-no for the moment.

Milek
-- 
mailto:thorgal@amiga.com.pl   |  "Man in the Moon and other weird things" -
http://wfmh.org.pl/~thorgal/  |  see it at http://wfmh.org.pl/~thorgal/Moon/

From owner-amigappc-dev  Sun Jan 11 16:54:56 1998
Received: from k4315.kampsax.dtu.dk ([130.225.71.227]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id QAA03994 for <amigappc-dev@amiga.com.pl>; Sun, 11 Jan 1998 16:54:44 +0100 (MET)
Received: from k4315.kampsax.dtu.dk (rask@192.38.215.253)
  by k4315.kampsax.dtu.dk with SMTP; 11 Jan 1998 15:48:53 -0000
Date: 11 Jan 98 16:24:00 +0100
From: "Rask Ingemann Lambertsen" <rask@kampsax.k-net.dk>
Subject: PPCRawDoFmt() broken? (long)
To: ""PowerUP@lists.best.com, amigappc-dev@amiga.com.pl
Message-ID: <10684.315T19T9843195@kampsax.k-net.dk>
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 8bit
Organization: Me? Organised? Dream on...
X-Files: The truth is out there.
X-INUFS: This message was sent from an INetUtils Free System.
X-Mailer: THOR 2.5a (Amiga;TCP/IP)

   Hi.

   I just can't get the PPCRawDoFmt() call in the source below to work. Is it
really broken or am I doing something wrong?

Sample run:

24. Work:misc-source/PPCHelloWorld> PPCHelloWorld3
putch() called 0 times.
Status from PPCTask: 1

I'm using the lastest ppc.library, but it hasn't worked with any of the
previous versions back to 44.28Beta (11.9.97) either.

24. Work:misc-source/PPCHelloWorld> Version ppc.library FULL
ppc.library 45.5 (1998/01/08)
İ 1996-1997 by Phase5, written by Ralph Schmidt

Regards,

/ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻTŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ\
| Rask Ingemann Lambertsen       | E-mail: mailto:rask@kampsax.dtu.dk    |
| Registered Phase5 developer    | WWW: http://www.gbar.dtu.dk/~c948374/ |
| A4k/604e, 44 MB, 3 GB, Ariadne | "ThrustMe" on XPilot, ARCnet and IRC  |
|         Windows NT: The worlds only 80 megabyte Solitare game!         |

Makefile
----------
INCLUDEDIR = -I/Work/PPCRelease/include -I/Work/PPCRelease/include/powerup
CC = gcc
PPCCC = ppc-amigaos-gcc
CCFLAGS = -O3 -fomit-frame-pointer -g
PPCCCFLAGS = -O3 -fomit-frame-pointer -g
# -mcpu=604 -mcall-sysv -mbig-endian
LDFLAGS = -nostartfiles -nostdlib -g
PPCLDFLAGS = -r -nostartfiles -nostdlib -g

all: PPCHelloWorld3 PPCHelloWorld3.elf

PPCLauncher.o : PPCLauncher.c
	$(CC) $(CCFLAGS) $(INCLUDEDIR) -c PPCLauncher.c -o PPCLauncher.o

startup.o : startup.c
	$(CC) $(CCFLAGS) $(INCLUDEDIR) -c startup.c -o startup.o

PPCstartup.o : startup.c
	$(PPCCC) $(PPCCCFLAGS) $(INCLUDEDIR) -c startup.c -o PPCstartup.o

PPCHelloWorld3 : startup.o PPCLauncher.o
	$(CC) $(LDFLAGS) startup.o PPCLauncher.o -o PPCHelloWorld3

PPCHelloWorld3.elf : PPCstartup.o PPCHelloWorld3.o
	$(PPCCC) $(PPCLDFLAGS) PPCstartup.o PPCHelloWorld3.o -o PPCHelloWorld3.elf

PPCHelloWorld3.o : PPCHelloWorld3.c
	$(PPCCC) $(PPCCCFLAGS) $(INCLUDEDIR) -c PPCHelloWorld3.c -o PPCHelloWorld3.o
----------

startup.c
----------
/* Minimal startup code. */

#include <exec/types.h>

IMPORT LONG tinymain (VOID);

LONG ___entry (VOID)
{
  return (tinymain ());
}
----------

PPCHelloWorld3.c
----------
/* PPC side source. */

/* Stefan Burstrom Source and concept
 * Adapted by Ralph Schmidt
 */

#include <exec/types.h>
#include <exec/nodes.h>
#include <exec/lists.h>
#include <exec/memory.h>
#include <exec/execbase.h>
#include <dos/dosextens.h>
#include <utility/tagitem.h>
#include <powerup/ppclib/interface.h>
#include <powerup/ppclib/message.h>
#include <powerup/ppclib/tasks.h>
#include <powerup/gcclib/powerup_protos.h>

/* Work around proto file bugs. */
#define __NOLIBBASE__
struct ExecBase *SysBase;
struct DosLibrary *DOSBase;

#include <ppcproto/exec.h>
#include <ppcproto/dos.h>
#undef __NOLIBBASE__

struct StartupMsg
{
	APTR	M68kPort; /* The PPCTask can send messages here */
	LONG	Status;   /* When the task exits, it can fill in the status here */
	BPTR	stdin, stdout, stderr;
};

BPTR  outfh;
ULONG numprinted = 0;

STATIC VOID putch (TEXT ch __asm__("r3"), TEXT **buf __asm__("r4"))
{
  FPutC (outfh, ch);
  numprinted ++;
}

LONG	tinymain(void)
{
  struct StartupMsg	*startupMsg;
  APTR			Task;
  UWORD         bbuf[20];

  SysBase = *(struct ExecBase **) 4;

  if ((DOSBase = (struct DosLibrary *) OpenLibrary ("dos.library", 37UL)))
  {

    Task = PPCFindTask(NULL);

    startupMsg		=(struct StartupMsg *) PPCGetTaskAttr(PPCTASKTAG_STARTUP_MSGDATA);

    outfh = startupMsg->stdout;

    bbuf[0] = 12345;
    bbuf[1] = 'A';
    bbuf[2] = 'b';
    bbuf[3] = 'C';
    *((STRPTR *) &bbuf[4]) = "test";
    *((LONG   *) &bbuf[6]) = 0x11223344;
    bbuf[8] = 0x5566;
    bbuf[9] = 0x7788;

    PPCRawDoFmt ("%d %c%c%c %s 0x%lx%x%x\n", bbuf, (VOID (*)()) putch, NULL);

    VFPrintf (startupMsg->stdout, "putch() called %ld times.\n", &numprinted);

    CloseLibrary ((struct Library *) DOSBase);
  }

  /* Everything worked out ok, so we tell that to the main task */
  startupMsg->Status	=	1;

  return (0);
}
----------

PPCLauncher.c
----------
/* Stefan Burstrom Source and concept
 * Adapted by Ralph Schmidt
 * Adapted for general use by Rask Ingemann Lambertsen.
 */

#define __NOLIBBASE_

#include <exec/types.h>
#include <exec/nodes.h>
#include <exec/lists.h>
#include <exec/memory.h>
#include <dos/dos.h>
#include <dos/dosextens.h>
#include <dos/dostags.h>
#include <utility/tagitem.h>
#include <powerup/ppclib/interface.h>
#include <powerup/ppclib/message.h>
#include <powerup/ppclib/tasks.h>
#include <proto/ppc.h>
#include <proto/exec.h>
#include <proto/dos.h>
#include <inline/strsup.h>

struct StartupData
{
	APTR	M68kPort; /* The PPCTask can send messages here */
	LONG	Status;   /* When the task exits, it can fill in the status here */
	BPTR	stdin, stdout, stderr;
};

#define	MSG_END	0x12345678

LONG tinymain (VOID)
{
  struct ExecBase *SysBase;
  struct DosLibrary  *DOSBase;
  struct TagItem   MyTags[16];
  struct Library  *PPCLibBase;
  void            *MyObject;
  ULONG            MsgID;
  STRPTR           elfName;
  STRPTR           tempBuf;

  SysBase = * (struct ExecBase **) 4;

  if ((DOSBase = (struct DosLibrary *) OpenLibrary ("dos.library", 36)))
  {
    /* FIXME: Should increase buffer size if necessary. */
    if (tempBuf = AllocMem (1024UL, MEMF_ANY))
    {
      if (GetProgramName (tempBuf, 1024))
      {
        /* 8 = strlen ("PROGDIR:"), 4 = strlen(".elf"), 10 = just in case. */
      	if ((elfName = AllocVec (8 + strlen (FilePart (tempBuf)) + 4 + 1 + 10, MEMF_PUBLIC)))
      	{
      	  strcpy (elfName, "PROGDIR:");
      	  strcat (elfName, FilePart (tempBuf));
      	  strcat (elfName, ".elf");
      	}
      }
      else
        elfName = NULL;
      FreeMem (tempBuf, 1024UL);
    }
    else
      elfName = NULL;

    if (elfName)
    {
      if (PPCLibBase=OpenLibrary("ppc.library",44))
      {
        if (MyObject=PPCLoadObject(elfName))
        {
          APTR M68kPort;

          MyTags[0].ti_Tag  = TAG_DONE;
                
          if (M68kPort = PPCCreatePort(MyTags))
          {
            APTR PPCMsg;
            if (PPCMsg = PPCCreateMessage(M68kPort,sizeof(struct StartupData)))
            {
              struct StartupData	*StartupData;
          
              if (StartupData = PPCAllocVec(sizeof(struct StartupData),MEMF_ANY))
              {
                long	quit = FALSE;
                APTR	Task;

                StartupData->M68kPort	=	M68kPort; /* Provide the PPC a way to send us messages */

                MyTags[0].ti_Tag		=	PPCTASKTAG_STARTUP_MSG;
                MyTags[0].ti_Data		=(ULONG) PPCMsg;

                MyTags[1].ti_Tag		=	PPCTASKTAG_STARTUP_MSGDATA;
                MyTags[1].ti_Data		=(ULONG) StartupData;

                MyTags[2].ti_Tag		=	PPCTASKTAG_STARTUP_MSGLENGTH;
                MyTags[2].ti_Data		=	sizeof(struct StartupData);

                MyTags[3].ti_Tag		=	PPCTASKTAG_STARTUP_MSGID;
                MyTags[3].ti_Data		=	MSG_END;

                MyTags[4].ti_Tag		=	PPCTASKTAG_MSGPORT;
                MyTags[4].ti_Data		=	TRUE;

                MyTags[5].ti_Tag		=	PPCTASKTAG_NAME;
                MyTags[5].ti_Data		=	(ULONG) elfName;

                StartupData->stdin  = Input ();
                StartupData->stdout = Output ();
                StartupData->stderr = ((struct Process *) FindTask (NULL))->pr_CES;

/*
                MyTags[6].ti_Tag		= NP_Input;
                MyTags[6].ti_Data		= Open ("CONSOLE:", MODE_READWRITE);

                MyTags[7].ti_Tag		= NP_Output;
                MyTags[7].ti_Data		= Open ("CONSOLE:", MODE_READWRITE);

                MyTags[8].ti_Tag		= NP_Error;
                MyTags[8].ti_Data		= Open ("CONSOLE:", MODE_READWRITE);

                MyTags[9].ti_Tag		=	TAG_END;

		VFWritef (Output(),
		          "stdhandles: 0x%$%X8, 0x%$%X8 and 0x%$%X8.\n", &MyTags[6]);
*/
                MyTags[6].ti_Tag		=	TAG_END;

                if (Task = PPCCreateTask(MyObject,
                                         MyTags))
                {
                  while (!quit)
                  {
                    APTR	thePPCMsg;


                    PPCWaitPort(M68kPort);

                    if (thePPCMsg = PPCGetMessage(M68kPort))
                    {
                      MsgID	=	PPCGetMessageAttr(thePPCMsg, PPCMSGTAG_MSGID);
                      switch (MsgID)
                      {
                        case MSG_END:
                                /* Handle our reply messages here */
                                /* Since the only message we send is the
                                 * startup msg, we quite in all cases    */
                                /* Here we check the return code from the PPC task
                                 * We could be abit more sofisticated and display
                                 * appropriate message, take actions etc.
                                 */
                                Printf("Status from PPCTask: %ld\n",StartupData->Status);
                                quit	=	TRUE;
                                break;

                        default:
                                /* Handle our messages here */
                                /* We should probably do something more interesting here */
                                Printf("The message ID was: %ld\n",PPCGetMessageAttr(thePPCMsg, PPCMSGTAG_MSGID));
                                PPCReplyMessage(thePPCMsg);
                                break;
                      }
                    }
                  }
                }
                else
                {
                  Printf("Unable to create PPC task\n");
                }
                PPCFreeVec(StartupData);
              }
              else
              {
                Printf("Unable to allocate Startup Message\n");
              }
              PPCDeleteMessage(PPCMsg);
            }
            else
            {
              Printf("Unable to create PPC Message\n");
            }
            PPCDeletePort(M68kPort);
          }
          else
          {
            Printf("ERROR: Unable to allocate memory\n");
          }
          PPCUnLoadObject(MyObject);
        }
        else
        {
          Printf("ERROR: Couldn't load PPC programme (%s)\n", (ULONG) elfName);
        }
        CloseLibrary(PPCLibBase);
      }
      else
      {
        Printf("ERROR: Couldn't open ppc.library v44\n");
      }
      FreeVec (elfName);
    }
    else
      Printf ("ERROR: Couldn't figure out name of PPC programme.\n");

    CloseLibrary ((struct Library *) DOSBase);
  }

  return (RETURN_OK);
}
----------

From owner-amigappc-dev  Sun Jan 11 16:54:49 1998
Received: from k4315.kampsax.dtu.dk ([130.225.71.227]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id QAA03995 for <amigappc-dev@amiga.com.pl>; Sun, 11 Jan 1998 16:54:44 +0100 (MET)
Received: from k4315.kampsax.dtu.dk (rask@192.38.215.253)
  by k4315.kampsax.dtu.dk with SMTP; 11 Jan 1998 15:48:56 -0000
Date: 11 Jan 98 16:29:06 +0100
From: "Rask Ingemann Lambertsen" <rask@kampsax.k-net.dk>
Subject: Re: PPC Datatypes....
To: "Amiga PowerPC developer mailing list" <amigappc-dev@amiga.com.pl>
In-Reply-To: <34B757CC.MD-0.198.mclaughd@kic.or.jp>
Message-ID: <780.315T302T9892774@kampsax.k-net.dk>
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 8bit
Organization: Me? Organised? Dream on...
X-Files: The truth is out there.
X-INUFS: This message was sent from an INetUtils Free System.
X-Mailer: THOR 2.5a (Amiga;TCP/IP)

Den 10-Jan-98 03:13:16 skrev Douglas McLaughlin fĝlgende om "PPC Datatypes....":
> HI all!

> (Without RTFM) I was wondering if it is possible to write a function
> for my program that runs on PPC while the main program runs on 68k?

It is. Now do go RTFM.

Regards,

/ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻTŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ\
| Rask Ingemann Lambertsen       | E-mail: mailto:rask@kampsax.dtu.dk    |
| Registered Phase5 developer    | WWW: http://www.gbar.dtu.dk/~c948374/ |
| A4k/604e, 44 MB, 3 GB, Ariadne | "ThrustMe" on XPilot, ARCnet and IRC  |
| Keyboard error: <Ctrl> and <Alt> are stuck - press <Del> to continue   |

From owner-amigappc-dev  Sun Jan 11 23:12:48 1998
Received: from amiga.com.pl (carlos@async54.fiber.net.pl [195.117.208.54]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id XAA04939 for <amigappc-dev@amiga.com.pl>; Sun, 11 Jan 1998 23:12:45 +0100 (MET)
From: Marcin Orlowski <carlos@amiga.com.pl>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Date: Sun, 11 Jan 1998 22:22:36 +0100
Message-ID: <yam7315.1841.144175160@amiga.com.pl>
In-Reply-To: <10684.315T19T9843195@kampsax.k-net.dk>
X-Mailer: YAM 2.0beta6 - Amiga Mailer by Marcel Beck - http://www.yam.ch
Organization: W.F.M.H.   (http://www.wfmh.org.pl)
Subject: ADMIN SAYS: Re: PPCRawDoFmt() broken? (long) - TOO LONG!
MIME-Version: 1.0
Content-Type: text/plain

On 11-Sty-98, Rask Ingemann Lambertsen wrote:

>   I just can't get the PPCRawDoFmt() call in the source below to work. Is it
> really broken or am I doing something wrong?

Posting *any* binaries and *big sources (or other simmilar things)* is strictly
_forbiden_ here. Next time
you will be removed and banned from that list! Try to use words next time
and send binaries/sources *_in private_* only on written request.

Keep that in mind!

-- 
 Win Info: New hardware detected. Installing system drivers for "CPU cooler"...

 Marcin                              http://wfmh.org.pl/~carlos/
                                       mailto:carlos@wfmh.org.pl


From owner-amigappc-dev  Mon Jan 12 09:47:10 1998
Received: from exchange19.davilex.nl (exchange19.davilex.nl [195.86.44.19]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id JAA07768 for <amigappc-dev@amiga.com.pl>; Mon, 12 Jan 1998 09:46:58 +0100 (MET)
Received: by exchange19.davilex.nl with Internet Mail Service (5.0.1458.49)
	id <CZ2W30KL>; Mon, 12 Jan 1998 09:39:30 +0100
Message-ID: <0046A7E9E604D111B541080009D0334B01FC7C@exchange19.davilex.nl>
From: milan <Milan@davilex.nl>
To: "'AmigaPPC developers' mailing list'" <amigappc-dev@amiga.com.pl>
Subject: RE: PPC: Developments ?
Date: Mon, 12 Jan 1998 09:39:27 +0100
X-Priority: 3
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.0.1458.49)
Content-Type: text/plain

> >So, what are you guys developing on the PPC ? I am curious to know
> what
> >I can expect, anybody working on a PPC-demo yet ?
> 
> Hi there...
> 
> we are developing Wildfire for Amiga and PPC.
> I`m not the programmer but the project manager. The irst sold version
> is ready
> since beginning of november 1997. It took us 3 weeks to transform the
> major
> parts of the program to ppc (elf)
> 
I have the PPC demo of WildFire and it is quite fast. I didn't succeed
in animating the processor FX yet (Ripple), it is a pretty complex
program.
Nice work, people!

> cu, andreas.
> 
Greetings, Milan

From owner-amigappc-dev  Mon Jan 12 09:50:04 1998
Received: from exchange19.davilex.nl (exchange19.davilex.nl [195.86.44.19]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id JAA07780 for <amigappc-dev@amiga.com.pl>; Mon, 12 Jan 1998 09:49:54 +0100 (MET)
Received: by exchange19.davilex.nl with Internet Mail Service (5.0.1458.49)
	id <CZ2W30K9>; Mon, 12 Jan 1998 09:42:32 +0100
Message-ID: <0046A7E9E604D111B541080009D0334B01FC7D@exchange19.davilex.nl>
From: milan <Milan@davilex.nl>
To: "'AmigaPPC developers' mailing list'" <amigappc-dev@amiga.com.pl>
Subject: RE: PPC: Developments ?
Date: Mon, 12 Jan 1998 09:42:30 +0100
X-Priority: 3
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.0.1458.49)
Content-Type: text/plain

> On 09-Sty-98, milan wrote:
> 
> >Cool! I thought that was you, I already got it from Aminet, MPEG2
> >support even sounded cool to the PC freaks here at work :^)
> 
> I think I'll make Frogger shareware in the future, to be able to
> allocate
> enough time for the development. :/
> 
Cool, how are you able to buy time ? I want that too :^)

> >BTW: Anybody here had any success with SASPPC ? I can make an ELF
> with
> >it but it refuses to load, giving an RELOC_24 not found type of
> error,
> >it works fine with GNU-C generated ELFs.
> 
> You are probably using ...Tags() calls (taglists built on the stack)
> and
> this is no-no for the moment.
> 
Well, the problem was GNU-C doesn't need main to be called main, so it
wasn't. Now the ELF loads and locks up on execution, I'm back to GNU,
never thought it would be much easier to use than SAS :^(

> Milek
> 
Milan

> mailto:thorgal@amiga.com.pl   |  "Man in the Moon and other weird
> things" -
> http://wfmh.org.pl/~thorgal/  |  see it at
> http://wfmh.org.pl/~thorgal/Moon/
> 
> ----------------------------------------------------------------------
> --------
>  AmigaPPC-Dev mailing list                             hosted by WFMH
> on-line
> 
From owner-amigappc-dev  Mon Jan 12 13:01:40 1998
Received: from EURE.de (geul.eure.de [194.180.228.1]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id NAA08376 for <amigappc-dev@amiga.com.pl>; Mon, 12 Jan 1998 13:01:31 +0100 (MET)
Received: from eure.de  194.180.228.102
 by EURE.de;  Mon, 12 Jan 1998 12:55:46 
From: Andreas Kuessner <eksec@EURE.de>
Reply-To: eksec@EURE.de
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Date: Mon, 12 Jan 1998 12:38:47 +0100
Message-ID: <yam7316.2376.1737120048@eure.de>
In-Reply-To: <0046A7E9E604D111B541080009D0334B01FC7C@exchange19.davilex.nl>
X-Mailer: YAM 1.3.5 [020] - Amiga Mailer by Marcel Beck
Organization: Infect
Subject: RE: PPC: Developments ?
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

On 12-Jan-98, milan wrote:

H,

>I have the PPC demo of WildFire and it is quite fast. I didn't succeed
>in animating the processor FX yet (Ripple), it is a pretty complex
>program.

sure thats it :-)
Try to go (inside the processor) into the variables-edtor and create a va=
riable.
this one should be used nside the effect as parameter, thats it! :-)

>Nice work, people!

thx, bye, andreas.


=2EoO---------------------------------------------------------------Oo.
   Andreas K=FCssner      (Eksec/Infect!)      E-Mail: eksec@eure.de
   homepage:               http://www.oberland.com/amiga/wildfire/
   Wildfire Project Manager, Infect! Amiga Entertainment Organizer
=2EoO---------------------------------------------------------------Oo.


From owner-amigappc-dev  Mon Jan 12 16:13:42 1998
Received: from pinio.lo12.szczecin.pl (carlos@pinio.lo12.szczecin.pl [195.117.116.65]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id QAA09250 for <amigappc-dev@amiga.com.pl>; Mon, 12 Jan 1998 16:13:40 +0100 (MET)
Received: from localhost (carlos@localhost)
	by pinio.lo12.szczecin.pl (8.8.5/8.8.5) with SMTP id QAA14776
	for <amigappc-dev@amiga.com.pl>; Mon, 12 Jan 1998 16:10:09 +0100 (CET)
X-Authentication-Warning: pinio.lo12.szczecin.pl: carlos owned process doing -bs
Date: Mon, 12 Jan 1998 16:09:18 +0100 (CET)
From: Marcin Orlowski <carlos@amiga.com.pl>
X-Sender: carlos@pinio.lo12.szczecin.pl
To: amigappc-dev@amiga.com.pl
Subject: SAS/C PPC beta 10's out
Message-ID: <Pine.BSF.3.95q.980112160804.14770A-100000@pinio.lo12.szczecin.pl>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


Hi,

Seems there's kind of quantum leap ;-) Since today,
beta 10 of SAS is out. BTW: Steve, could you be so
kind and post small note to this list, whenever you
release new beta?

--
 Daddy, what FORMATTING DRIVE C: means?

 Marcin                     mailto:carlos@amiga.com.pl
                              http://www.wfmh.org.pl


From owner-amigappc-dev  Mon Jan 12 17:15:10 1998
Received: from mailc.telia.com (root@mailc.telia.com [194.22.190.4]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id RAA09553 for <amigappc-dev@amiga.com.pl>; Mon, 12 Jan 1998 17:15:04 +0100 (MET)
Received: from d1o34.telia.com (root@d1o34.telia.com [195.67.248.241])
	by mailc.telia.com (8.8.8/8.8.5) with ESMTP id RAA08629
	for <amigappc-dev@amiga.com.pl>; Mon, 12 Jan 1998 17:09:33 +0100 (MET)
Received: from algonet.se (mijoha@du193-92.ppp.algonet.se [195.100.92.193])
	by d1o34.telia.com (8.8.5/8.8.5) with SMTP id RAA15137
	for <amigappc-dev@amiga.com.pl>; Mon, 12 Jan 1998 17:09:20 +0100 (MET)
From: Christian Johansson <mijoha@algonet.se>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Date: Mon, 12 Jan 1998 17:09:36 +0100
Message-ID: <yam7316.1833.2017148224@m1.505.telia.com>
In-Reply-To: <0046A7E9E604D111B541080009D0334B01FC7C@exchange19.davilex.nl>
X-Mailer: YAM 1.3.3a [020] - Amiga Mailer by Marcel Beck
Subject: both fpu in ppc and 680x0 to run wildfire?
MIME-Version: 1.0
Content-Type: text/plain

Hi!

i got one question maybe its stupid but...
if i got a ppc card for a1200, can i then run Wildfire,
or does it need an 68882 too?

From owner-amigappc-dev  Mon Jan 12 17:44:20 1998
Received: from cheetah.spots.ab.ca (cheetah.spots.ab.ca [204.191.210.12]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id RAA09679 for <amigappc-dev@amiga.com.pl>; Mon, 12 Jan 1998 17:44:18 +0100 (MET)
Received: from spots.ab.ca (pm3-108.spots.ab.ca [204.191.210.128])
	by cheetah.spots.ab.ca (8.8.5/8.8.5) with SMTP id JAA20521
	for <amigappc-dev@amiga.com.pl>; Mon, 12 Jan 1998 09:39:25 -0700
From: Douglas Konzuk <glacis@spots.ab.ca>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Date: Mon, 12 Jan 1998 09:22:21 -0700
Message-ID: <yam7316.1052.119322712@mail.spots.ab.ca>
In-Reply-To: <Pine.GSO.3.95.980109214203.11433A-100000@legolas.mdh.se>
X-Mailer: YAM 1.3.4 [040] - Amiga Mailer by Marcel Beck
Organization: Glacis Computers Inc.
Subject: Re: blizzard 603e+
MIME-Version: 1.0
Content-Type: text/plain

On 09-Jan-98, Henrik Berglund  SdU wrote:
->Hi 
->Does anyone of you have any news on when the blizzard ppc
->for amiga 1200 might be out?


  Believe me I wish I knew.

 I have been trying to get an answer from Phase 5 since Christmas, but their
Sale's Manager hasn't bothered to answer my e-mails. 

 Hopefully soon.



-- 
 /============================================================\
| Douglas Konzuk                                               |
| President                                                    |
| Glacis Computers Inc.     "Bringing YOUR Dreams to Life"     |
|                                                              |
| #363, 918-16th Ave NW          (403) 282-9779 voice          |
| Calgary, Alberta               (403) 282-0097 fax            |
| Canada   T2M 0K3               1-888-5-GLACIS                |
 \============================================================/

From owner-amigappc-dev  Mon Jan 12 17:49:56 1998
Received: from hakea.cs.ntu.edu.au (jamesm@hakea.cs.ntu.edu.au [138.80.116.6]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id RAA09724 for <amigappc-dev@amiga.com.pl>; Mon, 12 Jan 1998 17:49:46 +0100 (MET)
Received: (from jamesm@localhost)
	by hakea.cs.ntu.edu.au (8.8.7/8.8.7) id CAA05285
	for amigappc-dev@amiga.com.pl; Tue, 13 Jan 1998 02:14:12 +0930 (CST)
From: James McArthur <jamesm@it.ntu.edu.au>
Message-Id: <199801121644.CAA05285@hakea.cs.ntu.edu.au>
Subject: Re: blizzard 603e+
To: amigappc-dev@amiga.com.pl
Date: Tue, 13 Jan 1998 02:14:11 +0930 (CST)
In-Reply-To: <yam7316.1052.119322712@mail.spots.ab.ca> from "Douglas Konzuk" at Jan 12, 98 09:22:21 am
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit


Hi,

>   Believe me I wish I knew.
> 
>  I have been trying to get an answer from Phase 5 since Christmas, but their
> Sale's Manager hasn't bothered to answer my e-mails. 

Maybe someone should get the home phone numbers of the people in charge and
call them really early in the morning, and ask questions.

Hehehe.. dont take that too seriously :)

James
From owner-amigappc-dev  Mon Jan 12 19:54:36 1998
Received: from EURE.de (geul.eure.de [194.180.228.1]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id TAA10120 for <amigappc-dev@amiga.com.pl>; Mon, 12 Jan 1998 19:54:26 +0100 (MET)
Received: from eure.de  194.180.228.101
 by EURE.de;  Mon, 12 Jan 1998 19:47:56 
From: Andreas Kuessner <eksec@EURE.de>
Reply-To: eksec@EURE.de
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Date: Mon, 12 Jan 1998 18:30:16 +0100
Message-ID: <yam7316.826.1738108392@eure.de>
In-Reply-To: <yam7316.1833.2017148224@m1.505.telia.com>
X-Mailer: YAM 1.3.5 [020] - Amiga Mailer by Marcel Beck
Organization: Infect
Subject: Re: both fpu in ppc and 680x0 to run wildfire?
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

On 12-Jan-98, Christian Johansson wrote:
>Hi!

>i got one question maybe its stupid but...
>if i got a ppc card for a1200, can i then run Wildfire,
>or does it need an 68882 too?

Hi!

On the sales CD there is only the PPC-680x0+FPU Version but a
PPC-No680x0 Version is no problem and will be made available as soon (soo=
n ???)
as the PPC cards or the A1200 arrive.
As I`ve hard the first cards to come are the 603e which need an 68060 or
and 68040 to run and both have a FPU inside...
The best thing about the ppc-no fpu version will be ofcourse that it`s no=
t
only version 4.33 but something about 4.60 which is faster because of som=
e improvements.
So please tell me when you get the hands on a PPC-card without 680x0 fpu =
and
we start the compiler ;-)

Bye, andreas.



=2EoO---------------------------------------------------------------Oo.
   Andreas K=FCssner      (Eksec/Infect!)      E-Mail: eksec@eure.de
   homepage:               http://www.oberland.com/amiga/wildfire/
   Wildfire Project Manager, Infect! Amiga Entertainment Organizer
=2EoO---------------------------------------------------------------Oo.


From owner-amigappc-dev  Mon Jan 12 21:12:53 1998
Received: from cheetah.spots.ab.ca (cheetah.spots.ab.ca [204.191.210.12]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id VAA10254 for <amigappc-dev@amiga.com.pl>; Mon, 12 Jan 1998 21:12:49 +0100 (MET)
Received: from spots.ab.ca (pm3-101.spots.ab.ca [204.191.210.121])
	by cheetah.spots.ab.ca (8.8.5/8.8.5) with SMTP id NAA21872
	for <amigappc-dev@amiga.com.pl>; Mon, 12 Jan 1998 13:07:55 -0700
From: Douglas Konzuk <glacis@spots.ab.ca>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Date: Mon, 12 Jan 1998 13:05:07 -0700
Message-ID: <yam7316.372.118491296@mail.spots.ab.ca>
In-Reply-To: <199801121644.CAA05285@hakea.cs.ntu.edu.au>
X-Mailer: YAM 1.3.4 [040] - Amiga Mailer by Marcel Beck
Organization: Glacis Computers Inc.
Subject: Re: blizzard 603e+
MIME-Version: 1.0
Content-Type: text/plain

On 12-Jan-98, James McArthur wrote:

->> 
->>  I have been trying to get an answer from Phase 5 since Christmas, but
their
->> Sale's Manager hasn't bothered to answer my e-mails. 

->Maybe someone should get the home phone numbers of the people in charge and
->call them really early in the morning, and ask questions.


 Do it, please.

  You wouldn't believe the number of people I've had ask me for advice or help
with their Cyberstorm boards. The typical request starts off with;  " I've
contacted the Phase 5 technical department 3-4 times for help, but have
received no answer... ".

 Luckily I've managed to get superior assistance from one of their technicians
 (part-time and student) who has been more than helpful, sending updates to
the SCSI controller's Flash  ROM, detailed and more importantly, timely
advice. Nobody else even answers my e-mails unless I fax Wolf Dietrich and
tell him of the service levels that his company offers.

 Their business phone numbers are listed on their web page. Maybe, if they
realize that it's not just dealers who are fed up with this, they will smarten
up and start doing their jobs. If calling them at home is the only way to get
any information from them, oh well.


  




-- 
 /============================================================\
| Douglas Konzuk                                               |
| President                                                    |
| Glacis Computers Inc.     "Bringing YOUR Dreams to Life"     |
|                                                              |
| #363, 918-16th Ave NW          (403) 282-9779 voice          |
| Calgary, Alberta               (403) 282-0097 fax            |
| Canada   T2M 0K3               1-888-5-GLACIS                |
 \============================================================/

From owner-amigappc-dev  Tue Jan 13 14:32:49 1998
Received: from amiga.com.pl (milek@async52.fiber.net.pl [195.117.208.52]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id OAA14396 for <amigappc-dev@amiga.com.pl>; Tue, 13 Jan 1998 14:32:48 +0100 (MET)
From: Miloslaw Smyk <thorgal@amiga.com.pl>
To: amigappc-dev@amiga.com.pl
Date: Tue, 13 Jan 1998 14:24:02 MET
Message-ID: <yam7317.116.139127184@wfmh.org.pl>
X-Mailer: YAM 1.3.5 [040] - Amiga Mailer by Marcel Beck
Organization: W.F.M.H.
Subject: Attention subscribers!
MIME-Version: 1.0
Content-Type: text/plain

Hello,

Given some recent posts that arrived to this list, I'd like to remind
everyone here that the list is intended for _developer_ talk only. It isn't
a general place to discuss PPC in Amiga, its availability or the quality of
customer support of phase5. For that purpose other PPC lists are present,
please resubscribe if you're here by mistake.

I know this is a bit harsh, but let me remind you that among the subscribers
of this list are some well-known Amiga developers whose help and advice are
simply invaluable in these early days of PowerPC Amiga. These people have no
time to waste and will simply unsubscribe if signal-to-noise ratio of this
list drops. PLEASE keep that in mind.

Thank you,
Milek
--
mailto:thorgal@amiga.com.pl   |  "Man in the Moon and other weird things" -
http://wfmh.org.pl/~thorgal/  |  see it at http://wfmh.org.pl/~thorgal/Moon/

From owner-amigappc-dev  Thu Jan 15 15:44:26 1998
Received: from server.kic.or.jp (server.kic.or.jp [202.239.136.13]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id PAA25384 for <amigappc-dev@amiga.com.pl>; Thu, 15 Jan 1998 15:44:19 +0100 (MET)
Received: from um-ppp77.kic.or.jp (mclaughd@um-ppp77.kic.or.jp [202.239.134.77])
          by server.kic.or.jp  with ESMTP
	  id OAA29688 for <amigappc-dev@amiga.com.pl>; Thu, 15 Jan 1998 14:29:20 GMT
From: "Douglas McLaughlin" <mclaughd@kic.or.jp>
Organization: STR Programming Services
Date: 15 Jan 98 23:51:14 +0900
Subject: SAS/PPC Taglist Function Calls
Message-Id: <34BEA0F2.MD-0.198.mclaughd@kic.or.jp>
To: amigappc-dev@amiga.com.pl
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: MicroDot-II/AmigaOS 0.198

Hi all!

I have a program that I want to convert to a PPC version but it relies
heavily on ....Tags() function calls.  Anyway, I was wondering how
long it would be before a Tags version would be available?  Will it be
worthwhile to convert them all to arrays or should I wait?  I don't
mind waiting about a month, but if it is longer I'll just go ahead and
make the array conversion.

Doug
From owner-amigappc-dev  Thu Jan 15 18:30:55 1998
Received: from satsuma.mail.easynet.net (satsuma.mail.easynet.net [193.131.248.57]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id SAA25734 for <amigappc-dev@amiga.com.pl>; Thu, 15 Jan 1998 18:30:52 +0100 (MET)
Received: (qmail 10295 invoked from network); 15 Jan 1998 17:24:36 -0000
Received: from kiwi.easynet.co.uk (193.131.248.4)
  by satsuma.mail.easynet.net with SMTP; 15 Jan 1998 17:24:36 -0000
Received: (qmail 5397 invoked from network); 15 Jan 1998 17:26:26 -0000
Received: from toliver.easynet.co.uk (194.154.102.42)
  by kiwi.easynet.co.uk with SMTP; 15 Jan 1998 17:26:26 -0000
Date: 15 Jan 98 18:23:42 +0000
From: "Trenton Oliver" <toliver@easynet.co.uk>
Subject: Configuring GCC
To: "Amiga PPC Developer List" <amigappc-dev@amiga.com.pl>
Message-ID: <649.319T2100T11032648@easynet.co.uk>
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
X-Mailer: THOR 2.5 (Amiga;TCP/IP) *UNREGISTERED*

Please help.  I've been using VBCC to develope for CS PPC but have been
experiencing one or two problems with it so have decided to try GNU C.

I have copied the ADE directory from my PowerUp cd to my hard drive, assigned
ADE: to that directory and executed ADE-startup.  My problem comes when I try
to compile.  I run a Makefile with 'make' and a message come up saying cant
find 'cc1'.  so I ran Snoop Dos to find out where it is looking for cc1 only
to find that GNU C an SnoopDos are not compatible.

Can someone please let me know where cc1 is and if I need to make any more
assigns or edit any config files to make GNU c work.

Trenton Oliver

From owner-amigappc-dev  Thu Jan 15 22:36:33 1998
Received: from vb.franken.de (vb.franken.de [193.174.2.34]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id WAA26655 for <amigappc-dev@amiga.com.pl>; Thu, 15 Jan 1998 22:36:29 +0100 (MET)
Received: from localhost (volker@localhost)
          by vb.franken.de (8.8.4/8.8.4) with SMTP
	  id SAA04554 for <amigappc-dev@amiga.com.pl>; Thu, 15 Jan 1998 18:00:55 +0100
Date: Thu, 15 Jan 1998 18:00:55 +0100 (CET)
From: Volker Barthelmann <volker@vb.franken.de>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Subject: Re: SAS/PPC Taglist Function Calls
In-Reply-To: <34BEA0F2.MD-0.198.mclaughd@kic.or.jp>
Message-ID: <Pine.LNX.3.95.980115175359.4287A-100000@vb.franken.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII



On 15 Jan 1998, Douglas McLaughlin wrote:

> I have a program that I want to convert to a PPC version but it relies
> heavily on ....Tags() function calls.

You might want to have a look at vbcc on aminet which includes a
libamiga.a that also has stubs for TagList-functions. Due to the strange
PPC-stackframes they have to do a bit of hacking, but it seems to work.

It should be possible to link this library to SAS-compiled code, but
I never tried.

Volker


From owner-amigappc-dev  Thu Jan 15 22:55:33 1998
Received: from amiga.com.pl (milek@async52.fiber.net.pl [195.117.208.52]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id WAA26847 for <amigappc-dev@amiga.com.pl>; Thu, 15 Jan 1998 22:55:32 +0100 (MET)
From: Miloslaw Smyk <thorgal@amiga.com.pl>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Date: Thu, 15 Jan 1998 22:19:27 MET
Message-ID: <yam7319.1384.140923456@wfmh.org.pl>
In-Reply-To: <34BEA0F2.MD-0.198.mclaughd@kic.or.jp>
X-Mailer: YAM 1.3.5 [040] - Amiga Mailer by Marcel Beck
Organization: W.F.M.H.
Subject: Re: SAS/PPC Taglist Function Calls
MIME-Version: 1.0
Content-Type: text/plain

Hello,

On 15-Sty-98, Douglas McLaughlin wrote:

>I have a program that I want to convert to a PPC version but it relies
>heavily on ....Tags() function calls.  Anyway, I was wondering how
>long it would be before a Tags version would be available?  Will it be

Instead of using TagLists or waiting for ...Tags() support you could also
use varargs wrappers for TagList calls, just like one below.

Remember to make your taglist table large enough. :)

--8<------------------------------------------------
struct Window * MyOpenWindowTags(struct NewWindow *newWindow,unsigned long
tag1Type, ... )
{
   va_list tags;
   int tag;
   ULONG taglist[40], *p = taglist;

   va_start(tags, tag1Type);

   if(tag1Type)
   {
      tag = tag1Type;

      do {
         *p++ = tag;
      } while(tag = va_arg(tags, int));
   }

   va_end(tags);

   return(OpenWindowTagList(newWindow, (struct TagItem *)taglist));
}
--8<------------------------------------------

I also tried pointing directly to arguments on the stack, but it failed,
apparently due to different argument passing scheme in PPC.

Milek
-- 
mailto:thorgal@amiga.com.pl   |  "Man in the Moon and other weird things" -
http://wfmh.org.pl/~thorgal/  |  see it at http://wfmh.org.pl/~thorgal/Moon/

From owner-amigappc-dev  Thu Jan 15 23:50:28 1998
Received: from k4315.kampsax.dtu.dk ([130.225.71.227]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id XAA27065 for <amigappc-dev@amiga.com.pl>; Thu, 15 Jan 1998 23:50:22 +0100 (MET)
Received: from k4315.kampsax.dtu.dk (rask@192.38.215.253)
  by k4315.kampsax.dtu.dk with SMTP; 15 Jan 1998 22:43:45 -0000
Date: 15 Jan 98 23:22:42 +0100
From: "Rask Ingemann Lambertsen" <rask@kampsax.k-net.dk>
Subject: Re: SAS/PPC Taglist Function Calls
To: "Amiga PowerPC developer mailing list" <amigappc-dev@amiga.com.pl>
In-Reply-To: <34BEA0F2.MD-0.198.mclaughd@kic.or.jp>
Message-ID: <1365.319T2141T14024905@kampsax.k-net.dk>
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 8bit
Organization: Me? Organised? Dream on...
X-Files: The truth is out there.
X-INUFS: This message was sent from an INetUtils Free System.
X-Mailer: THOR 2.5a (Amiga;TCP/IP)

Den 15-Jan-98 15:51:14 skrev Douglas McLaughlin fĝlgende om "SAS/PPC Taglist Function Calls":
> Hi all!

> I have a program that I want to convert to a PPC version but it relies
> heavily on ....Tags() function calls.  Anyway, I was wondering how
> long it would be before a Tags version would be available?  Will it be
> worthwhile to convert them all to arrays or should I wait?  I don't
> mind waiting about a month, but if it is longer I'll just go ahead and
> make the array conversion.

Phase5 choose exactly the one PowerPC ABI where varargs are not passed as an
array. It is possible to convert between the two types of varargs if you know
the size and number of arguments, which you do (or can find out easily) in
the case of Tag lists. I have some code (for GCC) that does this for
RawDoFmt() style varargs. Mail me if you want it.

Regards,

/ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻTŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ\
| Rask Ingemann Lambertsen       | E-mail: mailto:rask@kampsax.dtu.dk    |
| Registered Phase5 developer    | WWW: http://www.gbar.dtu.dk/~c948374/ |
| A4k/604e, 44 MB, 3 GB, Ariadne | "ThrustMe" on XPilot, ARCnet and IRC  |
| Diplomacy is the art of saying "Nice doggie" till you can find a rock  |

From owner-amigappc-dev  Thu Jan 15 23:50:28 1998
Received: from k4315.kampsax.dtu.dk ([130.225.71.227]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id XAA27067 for <amigappc-dev@amiga.com.pl>; Thu, 15 Jan 1998 23:50:25 +0100 (MET)
Received: from k4315.kampsax.dtu.dk (rask@192.38.215.253)
  by k4315.kampsax.dtu.dk with SMTP; 15 Jan 1998 22:43:47 -0000
Date: 15 Jan 98 23:29:52 +0100
From: "Rask Ingemann Lambertsen" <rask@kampsax.k-net.dk>
Subject: Re: Configuring GCC
To: "Amiga PowerPC developer mailing list" <amigappc-dev@amiga.com.pl>
In-Reply-To: <649.319T2100T11032648@easynet.co.uk>
Message-ID: <1310.319T2649T14095193@kampsax.k-net.dk>
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 8bit
Organization: Me? Organised? Dream on...
X-Files: The truth is out there.
X-INUFS: This message was sent from an INetUtils Free System.
X-Mailer: THOR 2.5a (Amiga;TCP/IP)

Den 15-Jan-98 19:23:42 skrev Trenton Oliver fĝlgende om "Configuring GCC":

> I have copied the ADE directory from my PowerUp cd to my hard drive,
> assigned ADE: to that directory and executed ADE-startup.  My problem comes
> when I try to compile.  I run a Makefile with 'make' and a message come up
> saying cant find 'cc1'.

Please post the exact error message, and perhaps also the part of your
Makefile that gives you problems.

> so I ran Snoop Dos to find out where it is looking
> for cc1 only to find that GNU C an SnoopDos are not compatible.

Haven't you just forgotten to enable the packet monitor?

> Can someone please let me know where cc1 is and if I need to make any more
> assigns or edit any config files to make GNU c work.

ADE:lib/gcc-lib/m68k-amigaos/2.7.2.1/cc1

Regards,

/ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻTŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ\
| Rask Ingemann Lambertsen       | E-mail: mailto:rask@kampsax.dtu.dk    |
| Registered Phase5 developer    | WWW: http://www.gbar.dtu.dk/~c948374/ |
| A4k/604e, 44 MB, 3 GB, Ariadne | "ThrustMe" on XPilot, ARCnet and IRC  |
|        I hate when a key gets stuckkkkkkkkkkkkkkkkkkkkkkkkkk...        |

From owner-amigappc-dev  Fri Jan 16 00:46:16 1998
Received: from spode (user-38lc5fu.dialup.mindspring.com [209.86.21.254]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id AAA27188 for <amigappc-dev@amiga.com.pl>; Fri, 16 Jan 1998 00:46:13 +0100 (MET)
Received: by spode.mindspring.net (Amiga SMTPpost 1.04 December 9, 1994)
        id AA01; Thu, 15 Jan 98 18:39:17 
Subject: Re: SAS/PPC Taglist Function Calls
In-Reply-To: <34BEA0F2.MD-0.198.mclaughd@kic.or.jp> from "Douglas McLaughlin" <mclaughd@kic.or.jp> at 15 Jan 98 23:51:14 +0900
From: sekruege@mindspring.com (Steve Krueger)
X-Mailer: GMail 0.55 (11.5.95)
To: amigappc-dev@amiga.com.pl
Date: Thu, 15 Jan 98 18:39:17 
Message-ID: <19980115.8356D70.109A2@spode.mindspring.net>


: Hi all!
: 
: I have a program that I want to convert to a PPC version but it relies
: heavily on ....Tags() function calls.  Anyway, I was wondering how
: long it would be before a Tags version would be available?  Will it be
: worthwhile to convert them all to arrays or should I wait?  I don't
: mind waiting about a month, but if it is longer I'll just go ahead and
: make the array conversion.

I suggest that you go ahead and pass a structure to the 'taglist' version.

The stubs will not be very efficient, due to the way that the varargs stuff
is done on the PPC. The stub will basically have to count how many parms
there are by using the va_arg() macro, then allocate an array big enough,
fill the array, call the Tags version of the function, and then free the
array. For functions like Printf(), stubs are not even possible, because
the PPC doesn't know how many parms there are without parsing the string,
ie there is no TAG_DONE.


sk


From owner-amigappc-dev  Fri Jan 16 00:51:50 1998
Received: from server.fiber.net.pl (server.fiber.net.pl [195.117.208.101]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id AAA27206 for <amigappc-dev@amiga.com.pl>; Fri, 16 Jan 1998 00:51:49 +0100 (MET)
Received: from spode (user-38lc5fu.dialup.mindspring.com [209.86.21.254])
          by server.fiber.net.pl (Netscape Mail Server v2.02) with SMTP
          id AAA24910 for <amigappc-dev@amiga.com.pl>;
          Fri, 16 Jan 1998 00:46:25 +0100
Received: by spode.mindspring.net (Amiga SMTPpost 1.04 December 9, 1994)
        id AA01; Thu, 15 Jan 98 18:44:52 
Subject: Re: SAS/PPC Taglist Function Calls
In-Reply-To: <yam7319.1384.140923456@wfmh.org.pl> from Miloslaw Smyk <thorgal@amiga.com.pl> at Thu, 15 Jan 1998 22:19:27 MET
From: sekruege@mindspring.com (Steve Krueger)
X-Mailer: GMail 0.55 (11.5.95)
To: amigappc-dev@amiga.com.pl
Date: Thu, 15 Jan 98 18:44:52 
Message-ID: <19980115.8356D70.111BA@spode.mindspring.net>


: Remember to make your taglist table large enough. :)
: 
: --8<------------------------------------------------
: struct Window * MyOpenWindowTags(struct NewWindow *newWindow,unsigned long
: tag1Type, ... )
: {
:    va_list tags;
:    int tag;
:    ULONG taglist[40], *p = taglist;
: 
:    va_start(tags, tag1Type);
: 
:    if(tag1Type)
:    {
:       tag = tag1Type;
: 
:       do {
:          *p++ = tag;
:       } while(tag = va_arg(tags, int));
:    }
: 
:    va_end(tags);
: 
:    return(OpenWindowTagList(newWindow, (struct TagItem *)taglist));
: }
: --8<------------------------------------------

A couple of limitations here:

1) You don't know how big to make the taglist array, in general, like you
   noted above.
   
2) I think this will stop copying the array if the DATA field is
  0. You should test every other parm for TAG_DONE.


: 
: I also tried pointing directly to arguments on the stack, but it failed,
: apparently due to different argument passing scheme in PPC.

Right, you must use the va_arg() macro.

sk


From owner-amigappc-dev  Fri Jan 16 05:21:49 1998
Received: from server.kic.or.jp (server.kic.or.jp [202.239.136.13]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id FAA29227 for <amigappc-dev@amiga.com.pl>; Fri, 16 Jan 1998 05:21:47 +0100 (MET)
Received: from kic-136-ppp71.kic.or.jp (mclaughd@kic-136-ppp71.kic.or.jp [202.239.136.91])
          by server.kic.or.jp  with ESMTP
	  id EAA08063 for <amigappc-dev@amiga.com.pl>; Fri, 16 Jan 1998 04:06:53 GMT
From: "Douglas McLaughlin" <mclaughd@kic.or.jp>
Organization: STR Programming Services
Date: 16 Jan 98 13:28:01 +0900
Subject: Re: SAS/PPC Taglist Function Calls
Message-Id: <34BF6060.MD-0.198.mclaughd@kic.or.jp>
In-Reply-To: <19980115.8356D70.109A2@spode.mindspring.net>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: MicroDot-II/AmigaOS 0.198

On Thu, 15 Jan 98 18:39:17 , Steve Krueger had this to say about Re: SAS/PPC Taglist Function Calls...

> I suggest that you go ahead and pass a structure to the 'taglist' version.
> 
> The stubs will not be very efficient, due to the way that the varargs stuff
> is done on the PPC. The stub will basically have to count how many parms
> there are by using the va_arg() macro, then allocate an array big enough,
> fill the array, call the Tags version of the function, and then free the
> array. For functions like Printf(), stubs are not even possible, because
> the PPC doesn't know how many parms there are without parsing the string,
> ie there is no TAG_DONE.

Ok, will do.  I just consider it part of the conversion process.  This
will be a learning process for me.  At this point I don't care about
the nasty slowness of doing PPC to ROM calls.  Once I get it working
on PPC, then I'll work on the optimization.

At this point I'm planning on using the PPC function in cybergraphics
and the new PPC API that Holger added to Miami.  I'm just looking to
see what can be done....!

Thanks everyone for the replies, especially Steve!

Doug
From owner-amigappc-dev  Fri Jan 16 06:21:29 1998
Received: from hakea.cs.ntu.edu.au (jamesm@hakea.cs.ntu.edu.au [138.80.116.6]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id GAA29273 for <amigappc-dev@amiga.com.pl>; Fri, 16 Jan 1998 06:21:26 +0100 (MET)
Received: (from jamesm@localhost)
	by hakea.cs.ntu.edu.au (8.8.7/8.8.7) id OAA09194
	for amigappc-dev@amiga.com.pl; Fri, 16 Jan 1998 14:45:17 +0930 (CST)
From: James McArthur <jamesm@it.ntu.edu.au>
Message-Id: <199801160515.OAA09194@hakea.cs.ntu.edu.au>
Subject: Re: Configuring GCC
To: amigappc-dev@amiga.com.pl
Date: Fri, 16 Jan 1998 14:45:17 +0930 (CST)
In-Reply-To: <649.319T2100T11032648@easynet.co.uk> from "Trenton Oliver" at Jan 15, 98 06:23:42 pm
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit


Hi,

> 
> Please help.  I've been using VBCC to develope for CS PPC but have been
> experiencing one or two problems with it so have decided to try GNU C.
> 
> I have copied the ADE directory from my PowerUp cd to my hard drive, assigned
> ADE: to that directory and executed ADE-startup.  My problem comes when I try
> to compile.  I run a Makefile with 'make' and a message come up saying cant
> find 'cc1'.  so I ran Snoop Dos to find out where it is looking for cc1 only
> to find that GNU C an SnoopDos are not compatible.

Assign GG: to ADE: then it should work fine.

Happens to me all the time :)
From owner-amigappc-dev  Fri Jan 16 16:44:59 1998
Received: from amiga.com.pl (milek@async50.fiber.net.pl [195.117.208.50]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id QAA00948 for <amigappc-dev@amiga.com.pl>; Fri, 16 Jan 1998 16:44:56 +0100 (MET)
From: Miloslaw Smyk <thorgal@amiga.com.pl>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Date: Fri, 16 Jan 1998 15:04:54 MET
Message-ID: <yam7320.2709.142666200@wfmh.org.pl>
In-Reply-To: <19980115.8356D70.109A2@spode.mindspring.net>
X-Mailer: YAM 1.3.5 [040] - Amiga Mailer by Marcel Beck
Organization: W.F.M.H.
Subject: Re: SAS/PPC Taglist Function Calls
MIME-Version: 1.0
Content-Type: text/plain

On 15-Jan-98, Steve Krueger wrote:

>The stubs will not be very efficient, due to the way that the varargs stuff
>is done on the PPC. The stub will basically have to count how many parms
>there are by using the va_arg() macro, then allocate an array big enough,
>fill the array, call the Tags version of the function, and then free the
>array.

Instead of counting the args you could allocate memory in small chunks as
you walk through the tags and link the chunks with TAG_MORE. 256 bytes (32
tags) seem to be a good size for a chunk.

Milek
-- 
mailto:thorgal@amiga.com.pl   |  "Man in the Moon and other weird things" -
http://wfmh.org.pl/~thorgal/  |  see it at http://wfmh.org.pl/~thorgal/Moon/

From owner-amigappc-dev  Sat Jan 17 01:37:18 1998
Received: from satsuma.mail.easynet.net (satsuma.mail.easynet.net [193.131.248.57]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id BAA00618 for <amigappc-dev@amiga.com.pl>; Sat, 17 Jan 1998 01:37:15 +0100 (MET)
Received: (qmail 15562 invoked from network); 17 Jan 1998 00:30:43 -0000
Received: from kiwi.easynet.co.uk (193.131.248.4)
  by satsuma.mail.easynet.net with SMTP; 17 Jan 1998 00:30:43 -0000
Received: (qmail 12093 invoked from network); 17 Jan 1998 00:32:40 -0000
Received: from toliver.easynet.co.uk (194.154.102.42)
  by kiwi.easynet.co.uk with SMTP; 17 Jan 1998 00:32:40 -0000
Date: 17 Jan 98 01:29:52 +0000
From: "Trenton Oliver" <toliver@easynet.co.uk>
Subject: Re: Configuring GCC
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
In-Reply-To: <199801160515.OAA09194@hakea.cs.ntu.edu.au>
Message-ID: <796.321T2646T892758@easynet.co.uk>
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
X-Mailer: THOR 2.5 (Amiga;TCP/IP) *UNREGISTERED*

Hello James McArthur, on 16-Jan-98 05:45:17, you said,
>> I have copied the ADE directory from my PowerUp cd to my hard drive,
>> assigned ADE: to that directory and executed ADE-startup.  My problem comes
>> when I try to compile.  I run a Makefile with 'make' and a message come up
>> saying cant find 'cc1'.  so I ran Snoop Dos to find out where it is looking
>> for cc1 only to find that GNU C an SnoopDos are not compatible.

>Assign GG: to ADE: then it should work fine.

Thanks James.

But I now have another problem.  When I compile for m68k-amigaos-gcc
everything works well, but when I compile for ppc-amigaos-gcc the linker can't
link a file called crt0.o. It says Unable to open file: file type not
recognised or something to that effect.  Can anyone help whith this?

Trenton Oliver

From owner-amigappc-dev  Sat Jan 17 01:49:15 1998
Received: from camel8.mindspring.com (camel8.mindspring.com [207.69.200.58]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id BAA00637 for <amigappc-dev@amiga.com.pl>; Sat, 17 Jan 1998 01:49:13 +0100 (MET)
Received: from spode (user-37kbo5m.dialup.mindspring.com [207.69.224.182])
	by camel8.mindspring.com (8.8.5/8.8.5) with SMTP id TAA14719
	for <amigappc-dev@amiga.com.pl>; Fri, 16 Jan 1998 19:43:12 -0500 (EST)
Received: by spode.mindspring.net (Amiga SMTPpost 1.04 December 9, 1994)
        id AA01; Fri, 16 Jan 98 19:39:14 
Subject: Re: SAS/PPC Taglist Function Calls
In-Reply-To: <yam7320.2709.142666200@wfmh.org.pl> from Miloslaw Smyk <thorgal@amiga.com.pl> at Fri, 16 Jan 1998 15:04:54 MET
From: sekruege@mindspring.com (Steve Krueger)
X-Mailer: GMail 0.55 (11.5.95)
To: amigappc-dev@amiga.com.pl
Date: Fri, 16 Jan 98 19:39:14 
Message-ID: <19980116.87B2FC0.11730@spode.mindspring.net>


: On 15-Jan-98, Steve Krueger wrote:
: 
: >The stubs will not be very efficient, due to the way that the varargs stuff
: >is done on the PPC. The stub will basically have to count how many parms
: >there are by using the va_arg() macro, then allocate an array big enough,
: >fill the array, call the Tags version of the function, and then free the
: >array.
: 
: Instead of counting the args you could allocate memory in small chunks as
: you walk through the tags and link the chunks with TAG_MORE. 256 bytes (32
: tags) seem to be a good size for a chunk.
: 

Hmm, I didn't even know about this tag. With the use of TAG_MORE, it would
be possible to create stubs that do not need the va_arg() macros, since the
parameter are actually in two places on the stack (assuming no FP parms).

I'll have to see if I can put some of these together, thanks for the idea.

sk


From owner-amigappc-dev  Sat Jan 17 11:03:24 1998
Received: from hakea.cs.ntu.edu.au (jamesm@hakea.cs.ntu.edu.au [138.80.116.6]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id LAA03078 for <amigappc-dev@amiga.com.pl>; Sat, 17 Jan 1998 11:03:20 +0100 (MET)
Received: (from jamesm@localhost)
	by hakea.cs.ntu.edu.au (8.8.7/8.8.7) id TAA05335
	for amigappc-dev@amiga.com.pl; Sat, 17 Jan 1998 19:27:02 +0930 (CST)
From: James McArthur <jamesm@it.ntu.edu.au>
Message-Id: <199801170957.TAA05335@hakea.cs.ntu.edu.au>
Subject: Re: Configuring GCC
To: amigappc-dev@amiga.com.pl
Date: Sat, 17 Jan 1998 19:27:02 +0930 (CST)
In-Reply-To: <796.321T2646T892758@easynet.co.uk> from "Trenton Oliver" at Jan 17, 98 01:29:52 am
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit


Hi,

> But I now have another problem.  When I compile for m68k-amigaos-gcc
> everything works well, but when I compile for ppc-amigaos-gcc the linker 
> can't link a file called crt0.o. It says Unable to open file: file type not
> recognised or something to that effect.  Can anyone help whith this?

Are you calling the powerpc compiler as,

ppc-amigaos-gcc -S -O3 file.c -o file.s
ppc-amigaos-gas file.s -o file.o
ppc-amigaos-ld -r file.o -o file.elf

This could be the prob.

James
From owner-amigappc-dev  Sat Jan 17 16:23:29 1998
Received: from k4315.kampsax.dtu.dk ([130.225.71.227]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id QAA03609 for <amigappc-dev@amiga.com.pl>; Sat, 17 Jan 1998 16:23:25 +0100 (MET)
Received: from k4315.kampsax.dtu.dk (rask@192.38.215.253)
  by k4315.kampsax.dtu.dk with SMTP; 17 Jan 1998 15:16:34 -0000
Date: 17 Jan 98 11:47:15 +0100
From: "Rask Ingemann Lambertsen" <rask@kampsax.k-net.dk>
Subject: Re: Configuring GCC
To: "Amiga PowerPC developer mailing list" <amigappc-dev@amiga.com.pl>
In-Reply-To: <796.321T2646T892758@easynet.co.uk>
Message-ID: <1099.321T757T7073481@kampsax.k-net.dk>
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 8bit
Organization: Me? Organised? Dream on...
X-Files: The truth is out there.
X-INUFS: This message was sent from an INetUtils Free System.
X-Mailer: THOR 2.5a (Amiga;TCP/IP)

Den 17-Jan-98 02:29:52 skrev Trenton Oliver fĝlgende om "Re: Configuring GCC":

> But I now have another problem.  When I compile for m68k-amigaos-gcc
> everything works well, but when I compile for ppc-amigaos-gcc the linker
> can't link a file called crt0.o. It says Unable to open file: file type not
> recognised or something to that effect.  Can anyone help whith this?

It can't find the startup code. There isn't any standard startup code yet for
ppc-amigaos-gcc. So either supply your own crt0.o or use -nostartfiles and
link in your startup code as the first module.

Regards,

/ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻTŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ\
| Rask Ingemann Lambertsen       | E-mail: mailto:rask@kampsax.dtu.dk    |
| Registered Phase5 developer    | WWW: http://www.gbar.dtu.dk/~c948374/ |
| A4k/604e, 44 MB, 3 GB, Ariadne | "ThrustMe" on XPilot, ARCnet and IRC  |
|        Windows NT is the OS of the future and always will be...        |

From owner-amigappc-dev  Sat Jan 17 16:23:29 1998
Received: from k4315.kampsax.dtu.dk ([130.225.71.227]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id QAA03610 for <amigappc-dev@amiga.com.pl>; Sat, 17 Jan 1998 16:23:26 +0100 (MET)
Received: from k4315.kampsax.dtu.dk (rask@192.38.215.253)
  by k4315.kampsax.dtu.dk with SMTP; 17 Jan 1998 15:16:35 -0000
Date: 17 Jan 98 11:48:45 +0100
From: "Rask Ingemann Lambertsen" <rask@kampsax.k-net.dk>
Subject: Re: SAS/PPC Taglist Function Calls
To: "Amiga PowerPC developer mailing list" <amigappc-dev@amiga.com.pl>
In-Reply-To: <19980115.8356D70.109A2@spode.mindspring.net>
Message-ID: <825.321T2257T7084909@kampsax.k-net.dk>
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 8bit
Organization: Me? Organised? Dream on...
X-Files: The truth is out there.
X-INUFS: This message was sent from an INetUtils Free System.
X-Mailer: THOR 2.5a (Amiga;TCP/IP)

Den 15-Jan-98 19:39:17 skrev Steve Krueger fĝlgende om "Re: SAS/PPC Taglist Function Calls":

> For functions like Printf(), stubs are not even possible, because
> the PPC doesn't know how many parms there are without parsing the string,
> ie there is no TAG_DONE.

Of course it is possible. I did it.

Regards,

/ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻTŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ\
| Rask Ingemann Lambertsen       | E-mail: mailto:rask@kampsax.dtu.dk    |
| Registered Phase5 developer    | WWW: http://www.gbar.dtu.dk/~c948374/ |
| A4k/604e, 44 MB, 3 GB, Ariadne | "ThrustMe" on XPilot, ARCnet and IRC  |
|       That was a pointing device? My cat thought it was dinner.        |

From owner-amigappc-dev  Sat Jan 17 16:23:32 1998
Received: from k4315.kampsax.dtu.dk ([130.225.71.227]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id QAA03613 for <amigappc-dev@amiga.com.pl>; Sat, 17 Jan 1998 16:23:28 +0100 (MET)
Received: from k4315.kampsax.dtu.dk (rask@192.38.215.253)
  by k4315.kampsax.dtu.dk with SMTP; 17 Jan 1998 15:16:36 -0000
Date: 17 Jan 98 12:12:10 +0100
From: "Rask Ingemann Lambertsen" <rask@kampsax.k-net.dk>
Subject: Re: SAS/PPC Taglist Function Calls
To: "Amiga PowerPC developer mailing list" <amigappc-dev@amiga.com.pl>
In-Reply-To: <19980116.87B2FC0.11730@spode.mindspring.net>
Message-ID: <1152.321T543T7323479@kampsax.k-net.dk>
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 8bit
Organization: Me? Organised? Dream on...
X-Files: The truth is out there.
X-INUFS: This message was sent from an INetUtils Free System.
X-Mailer: THOR 2.5a (Amiga;TCP/IP)

Den 16-Jan-98 20:39:14 skrev Steve Krueger fĝlgende om "Re: SAS/PPC Taglist Function Calls":
> Hmm, I didn't even know about this tag. With the use of TAG_MORE, it would
> be possible to create stubs that do not need the va_arg() macros, since the
> parameter are actually in two places on the stack (assuming no FP parms).

Wouldn't it be easier to just let the compiler use a different ABI for such
calls? For example, GCC has a command line option to specify the ABI to use.
It might be easier to use stubs/inlines to call the powerup library
functions in SYSV4 style and keep the rest in an ABI that uses arrays for
varargs.

Regards,

/ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻTŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ\
| Rask Ingemann Lambertsen       | E-mail: mailto:rask@kampsax.dtu.dk    |
| Registered Phase5 developer    | WWW: http://www.gbar.dtu.dk/~c948374/ |
| A4k/604e, 44 MB, 3 GB, Ariadne | "ThrustMe" on XPilot, ARCnet and IRC  |
|              Do artificial plants need artificial water?               |

From owner-amigappc-dev  Sat Jan 17 16:23:33 1998
Received: from k4315.kampsax.dtu.dk ([130.225.71.227]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id QAA03614 for <amigappc-dev@amiga.com.pl>; Sat, 17 Jan 1998 16:23:29 +0100 (MET)
Received: from k4315.kampsax.dtu.dk (rask@192.38.215.253)
  by k4315.kampsax.dtu.dk with SMTP; 17 Jan 1998 15:16:36 -0000
Date: 17 Jan 98 12:27:54 +0100
From: "Rask Ingemann Lambertsen" <rask@kampsax.k-net.dk>
Subject: Re: ADMIN SAYS: Re: PPCRawDoFmt() broken? (long) - TOO LONG!
To: "Amiga PowerPC developer mailing list" <amigappc-dev@amiga.com.pl>
In-Reply-To: <yam7315.1841.144175160@amiga.com.pl>
Message-ID: <1007.321T2714T7476094@kampsax.k-net.dk>
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 8bit
Organization: Me? Organised? Dream on...
X-Files: The truth is out there.
X-INUFS: This message was sent from an INetUtils Free System.
X-Mailer: THOR 2.5a (Amiga;TCP/IP)

Den 11-Jan-98 22:22:36 skrev Marcin Orlowski fĝlgende om "ADMIN SAYS: Re: PPCRawDoFmt() broken? (long) - TOO LONG!":

> Posting *any* binaries and *big sources (or other simmilar things)* is
> strictly
> _forbiden_ here. Next time
> you will be removed and banned from that list! Try to use words next time
> and send binaries/sources *_in private_* only on written request.

Please include a message to that effect in the the email that the list server
sends you when you subscribe.

Regards,

/ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻTŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ\
| Rask Ingemann Lambertsen       | E-mail: mailto:rask@kampsax.dtu.dk    |
| Registered Phase5 developer    | WWW: http://www.gbar.dtu.dk/~c948374/ |
| A4k/604e, 44 MB, 3 GB, Ariadne | "ThrustMe" on XPilot, ARCnet and IRC  |
|        If it jams, force it. If it breaks, it needed replacing.        |

From owner-amigappc-dev  Sat Jan 17 16:41:47 1998
Received: from spode (user-38lc58f.dialup.mindspring.com [209.86.21.15]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id QAA03707 for <amigappc-dev@amiga.com.pl>; Sat, 17 Jan 1998 16:41:39 +0100 (MET)
Received: by spode.mindspring.net (Amiga SMTPpost 1.04 December 9, 1994)
        id AA01; Sat, 17 Jan 98 10:34:30 
Subject: Re: SAS/PPC Taglist Function Calls
In-Reply-To: <825.321T2257T7084909@kampsax.k-net.dk> from "Rask Ingemann Lambertsen" <rask@kampsax.k-net.dk> at 17 Jan 98 11:48:45 +0100
From: sekruege@mindspring.com (Steve Krueger)
X-Mailer: GMail 0.55 (11.5.95)
To: amigappc-dev@amiga.com.pl
Date: Sat, 17 Jan 98 10:34:30 
Message-ID: <19980117.8550890.9A99@spode.mindspring.net>


: Den 15-Jan-98 19:39:17 skrev Steve Krueger fĝlgende om "Re: SAS/PPC Taglist Function Calls":
: 
: > For functions like Printf(), stubs are not even possible, because
: > the PPC doesn't know how many parms there are without parsing the string,
: > ie there is no TAG_DONE.
: 
: Of course it is possible. I did it.
: 

How?

sk


From owner-amigappc-dev  Sat Jan 17 16:43:30 1998
Received: from server.fiber.net.pl (server.fiber.net.pl [195.117.208.101]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id QAA03721 for <amigappc-dev@amiga.com.pl>; Sat, 17 Jan 1998 16:43:29 +0100 (MET)
Received: from spode (user-38lc58f.dialup.mindspring.com [209.86.21.15])
          by server.fiber.net.pl (Netscape Mail Server v2.02) with SMTP
          id AAA2041 for <amigappc-dev@amiga.com.pl>;
          Sat, 17 Jan 1998 16:37:50 +0100
Received: by spode.mindspring.net (Amiga SMTPpost 1.04 December 9, 1994)
        id AA01; Sat, 17 Jan 98 10:36:20 
Subject: Re: SAS/PPC Taglist Function Calls
In-Reply-To: <1152.321T543T7323479@kampsax.k-net.dk> from "Rask Ingemann Lambertsen" <rask@kampsax.k-net.dk> at 17 Jan 98 12:12:10 +0100
From: sekruege@mindspring.com (Steve Krueger)
X-Mailer: GMail 0.55 (11.5.95)
To: amigappc-dev@amiga.com.pl
Date: Sat, 17 Jan 98 10:36:20 
Message-ID: <19980117.8550890.98FC@spode.mindspring.net>


: Den 16-Jan-98 20:39:14 skrev Steve Krueger fĝlgende om "Re: SAS/PPC Taglist Function Calls":
: > Hmm, I didn't even know about this tag. With the use of TAG_MORE, it would
: > be possible to create stubs that do not need the va_arg() macros, since the
: > parameter are actually in two places on the stack (assuming no FP parms).
: 
: Wouldn't it be easier to just let the compiler use a different ABI for such
: calls? For example, GCC has a command line option to specify the ABI to use.
: It might be easier to use stubs/inlines to call the powerup library
: functions in SYSV4 style and keep the rest in an ABI that uses arrays for
: varargs.
: 

This is not practical because there may not be a prototype at the call,
so the compiler may not know if it is calling a varargs function or
a normal function.

sk


From owner-amigappc-dev  Sat Jan 17 20:48:12 1998
Received: from mailout02.btx.dtag.de (mailout02.btx.dtag.de [194.25.2.150]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id UAA00217 for <amigappc-dev@amiga.com.pl>; Sat, 17 Jan 1998 20:48:04 +0100 (MET)
Received: from (fwd00.btx.dtag.de) [194.25.2.160] 
	by mailout02.btx.dtag.de with smtp 
	id 0xte7N-0000uW-00; Sat, 17 Jan 1998 20:41:21 +0100
Received: from funnel25.btx.dtag.de (0241520508-0001(btxid)@[194.25.2.26]) 
	by fwd00.btx.dtag.de with  smtp (S3.1.29.1) 
	id <m0xte7I-0007vTC>; Sat, 17 Jan 1998 20:41:16 +0100
Message-ID: <34C19519.6622@t-online.de>
Date: Sat, 17 Jan 1998 21:37:29 -0800
Reply-To: spoeth@t-online.de
X-Mailer: Mozilla 3.01 DT [de]C-DT  (Win95; I; 16bit)
MIME-Version: 1.0
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Subject: Re: SAS/PPC Taglist Function Calls
References: <34BF6060.MD-0.198.mclaughd@kic.or.jp>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Sender: 0241520508-0001@t-online.de
From: Spoeth@t-online.de (Philipp =?iso-8859-1?Q?Sp=F6th?=)

Hello everybody....

Douglas McLaughlin wrote:
> =

> On Thu, 15 Jan 98 18:39:17 , Steve Krueger had this to say about Re: SA=
S/PPC Taglist Function Calls...
> =

> > I suggest that you go ahead and pass a structure to the 'taglist' ver=
sion.
> >
> > The stubs will not be very efficient, due to the way that the varargs=
 stuff
> > is done on the PPC. The stub will basically have to count how many pa=
rms
> > there are by using the va_arg() macro, then allocate an array big eno=
ugh,
> > fill the array, call the Tags version of the function, and then free =
the
> > array. For functions like Printf(), stubs are not even possible, beca=
use
> > the PPC doesn't know how many parms there are without parsing the str=
ing,
> > ie there is no TAG_DONE.
> =

> Ok, will do.  I just consider it part of the conversion process.  This
> will be a learning process for me.  At this point I don't care about
> the nasty slowness of doing PPC to ROM calls.  Once I get it working
> on PPC, then I'll work on the optimization.
Did I understand right? It=B4s not allowed for PPC os(68k) calls to use
tag functions
because of cache problems when using the stack ?!?

> =

> At this point I'm planning on using the PPC function in cybergraphics
> and the new PPC API that Holger added to Miami.  I'm just looking to
> see what can be done....!
So that=B4s the point with the ppc version... Could you tell me where to
get the autodoc!?! (I could not find it at vgr.com) =



Maybe anyone can comment on this:

Currently I=B4m working on a programm for ppc. All the calculations shoul=
d
be done by ppc,
gui and os stuff by 68k....  of course.
My problem: I=B4m using the StormC++ 68k from Haage&Partner.
I don=B4t really want to use their ppc version... and now I just don=B4t
know what to do.
The programm is written in C++, and the gcc does not have a c++
compiler.
I know the sas has got an "experimental(!) c++ compiler", but is it
useable?
Is it somehow possible to use StormC for 68k side and i.e. sas for
creating ppc objects???
So please, anybody tell me what to do!!!

Another question:
It=B4s not allowed for both cpu=B4s to work with the same peace of memory=
=2E
Now I let my ppc process a picture and use the 68k to copy it to
gfx-mem.
Do I need to flush caches?   =


> =

> Thanks everyone for the replies, especially Steve!
Thanks in advance....
> =

> Doug
Philipp
From owner-amigappc-dev  Sat Jan 17 21:16:31 1998
Received: from spode (user-37kbofr.dialup.mindspring.com [207.69.225.251]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id VAA00267 for <amigappc-dev@amiga.com.pl>; Sat, 17 Jan 1998 21:16:25 +0100 (MET)
Received: by spode.mindspring.net (Amiga SMTPpost 1.04 December 9, 1994)
        id AA01; Sat, 17 Jan 98 15:09:16 
Subject: Re: SAS/PPC Taglist Function Calls
In-Reply-To: <34C19519.6622@t-online.de> from Spoeth@t-online.de (Philipp =?iso-8859-1?Q?Sp=F6th?=) at Sat, 17 Jan 1998 21:37:29 -0800
From: sekruege@mindspring.com (Steve Krueger)
X-Mailer: GMail 0.55 (11.5.95)
To: amigappc-dev@amiga.com.pl
Date: Sat, 17 Jan 98 15:09:16 
Message-ID: <19980117.827F7B0.D83A@spode.mindspring.net>


: 
: > Ok, will do.  I just consider it part of the conversion process.  This
: > will be a learning process for me.  At this point I don't care about
: > the nasty slowness of doing PPC to ROM calls.  Once I get it working
: > on PPC, then I'll work on the optimization.
: Did I understand right? It=B4s not allowed for PPC os(68k) calls to use
: tag functions
: because of cache problems when using the stack ?!?
: 

Thas has nothing to do with the cache. The problem is that the parameters
are not in order on the stack. Some are passed in registers. You can't just take
the addres of the last parameter, and treat that as a pointer to the remaining
parameters, like you can on the 68k.


: 
: Currently I=B4m working on a programm for ppc. All the calculations shoul=
: d
: be done by ppc,
: gui and os stuff by 68k....  of course.
: My problem: I=B4m using the StormC++ 68k from Haage&Partner.
: I don=B4t really want to use their ppc version... and now I just don=B4t
: know what to do.
: The programm is written in C++, and the gcc does not have a c++
: compiler.
: I know the sas has got an "experimental(!) c++ compiler", but is it
: useable?

Can't hurt to try it. I beleive that the C++ compiler is in resonable
shape.



sk


From owner-amigappc-dev  Sat Jan 17 23:55:04 1998
Received: from k4315.kampsax.dtu.dk ([130.225.71.227]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id XAA00504 for <amigappc-dev@amiga.com.pl>; Sat, 17 Jan 1998 23:54:56 +0100 (MET)
Received: from k4315.kampsax.dtu.dk (rask@192.38.215.253)
  by k4315.kampsax.dtu.dk with SMTP; 17 Jan 1998 22:47:40 -0000
Date: 17 Jan 98 21:38:49 +0100
From: "Rask Ingemann Lambertsen" <rask@kampsax.k-net.dk>
Subject: Re: SAS/PPC Taglist Function Calls
To: "Amiga PowerPC developer mailing list" <amigappc-dev@amiga.com.pl>
In-Reply-To: <19980117.8550890.9A99@spode.mindspring.net>
Message-ID: <2066.321T2480T12984976@kampsax.k-net.dk>
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 8bit
Organization: Me? Organised? Dream on...
X-Files: The truth is out there.
X-INUFS: This message was sent from an INetUtils Free System.
X-Mailer: THOR 2.5a (Amiga;TCP/IP)

Den 17-Jan-98 11:34:30 skrev Steve Krueger fĝlgende om "Re: SAS/PPC Taglist Function Calls":
>: Den 15-Jan-98 19:39:17 skrev Steve Krueger fĝlgende om "Re: SAS/PPC Taglist
>: Function Calls":
>: 
>: > For functions like Printf(), stubs are not even possible, because
>: > the PPC doesn't know how many parms there are without parsing the string,
>: > ie there is no TAG_DONE.
>: 
>: Of course it is possible. I did it.

> How?

   Look at the format string. For each '%' (except those followed by another
'%') you look at the next characters to see how many bytes the argument
takes. Add it all up, allocate the necessary amount of memory, look at the
format string again, this time copying the arguments to the memory you just
allocated, pass the address of this piece of memory to VPrintf(), free the
memory block, return(). I can send you the source if you want it.

   To avoid dublicate code (and to guarantee dublicate bugs :-), write a
function to perform the conversion, counting the number of bytes of arguments
as it goes, and let take a NULL pointer to just count arguments without
copying them. Works fine and _much_ faster than any other printf()
implementation I've attempted.

   Speaking of printf() speed, I've watched with a mixture of amusement and
dispair the speed of stdio in mpg123 (ixemul) and lha_ppc (SAS/C stdio). My
own latest attempt at using libnix' vprintf() code resulted in what can best
be described as a joke, speedwise, even with cacheflushing disabled for
FPutC(), CloseLocale() and IsAlpha() and friends.

Regards,

/ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻTŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ\
| Rask Ingemann Lambertsen       | E-mail: mailto:rask@kampsax.dtu.dk    |
| Registered Phase5 developer    | WWW: http://www.gbar.dtu.dk/~c948374/ |
| A4k/604e, 44 MB, 3 GB, Ariadne | "ThrustMe" on XPilot, ARCnet and IRC  |
|        If you wake up Sleepy & Grumpy, you must be Snow White.         |

From owner-amigappc-dev  Sun Jan 18 03:02:18 1998
Received: from vb.franken.de (vb.franken.de [193.174.2.34]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id DAA02492 for <amigappc-dev@amiga.com.pl>; Sun, 18 Jan 1998 03:02:12 +0100 (MET)
Received: from localhost (volker@localhost)
          by vb.franken.de (8.8.4/8.8.4) with SMTP
	  id CAA17017 for <amigappc-dev@amiga.com.pl>; Sun, 18 Jan 1998 02:55:47 +0100
Date: Sun, 18 Jan 1998 02:55:46 +0100 (CET)
From: Volker Barthelmann <volker@vb.franken.de>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Subject: Re: SAS/PPC Taglist Function Calls
In-Reply-To: <2066.321T2480T12984976@kampsax.k-net.dk>
Message-ID: <Pine.LNX.3.95.980118024124.16488A-100000@vb.franken.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: QUOTED-PRINTABLE



On 17 Jan 1998, Rask Ingemann Lambertsen wrote:

> Den 17-Jan-98 11:34:30 skrev Steve Krueger f=F8lgende om "Re: SAS/PPC Tag=
list Function Calls":
> >:=20
> >: > For functions like Printf(), stubs are not even possible, because
> >: > the PPC doesn't know how many parms there are without parsing the st=
ring,
> >: > ie there is no TAG_DONE.
> >:=20
> >: Of course it is possible. I did it.
>=20
> > How?
>=20
>    Look at the format string. For each '%' (except those followed by anot=
her
> '%') you look at the next characters to see how many bytes the argument
> takes. Add it all up, allocate the necessary amount of memory, look at th=
e
> format string again, this time copying the arguments to the memory you ju=
st
> allocated, pass the address of this piece of memory to VPrintf(), free th=
e
> memory block, return(). I can send you the source if you want it.

I must confess that I'm a bit confused by this discussion.

The varargs-stubs from vbcc's libamiga.a simply store the registers
containing the first variable arguments just below the stack-parameters in
the caller's stack-frame (after saving the stack-slot that gets
overwritten, of course). This is simple, fast and all the arguments end up
in one continuous array without having to know the number of arguments or
semantics of the function.

Volker


From owner-amigappc-dev  Sun Jan 18 03:08:06 1998
Received: from server.fiber.net.pl (server.fiber.net.pl [195.117.208.101]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id DAA02504 for <amigappc-dev@amiga.com.pl>; Sun, 18 Jan 1998 03:08:05 +0100 (MET)
Received: from spode (user-38lc5ar.dialup.mindspring.com [209.86.21.91])
          by server.fiber.net.pl (Netscape Mail Server v2.02) with SMTP
          id AAA6801 for <amigappc-dev@amiga.com.pl>;
          Sun, 18 Jan 1998 03:02:22 +0100
Received: by spode.mindspring.net (Amiga SMTPpost 1.04 December 9, 1994)
        id AA01; Sat, 17 Jan 98 21:00:43 
Subject: Re: SAS/PPC Taglist Function Calls
In-Reply-To: <2066.321T2480T12984976@kampsax.k-net.dk> from "Rask Ingemann Lambertsen" <rask@kampsax.k-net.dk> at 17 Jan 98 21:38:49 +0100
From: sekruege@mindspring.com (Steve Krueger)
X-Mailer: GMail 0.55 (11.5.95)
To: amigappc-dev@amiga.com.pl
Date: Sat, 17 Jan 98 21:00:43 
Message-ID: <19980117.832FA90.12FBD@spode.mindspring.net>


: Den 17-Jan-98 11:34:30 skrev Steve Krueger fĝlgende om "Re: SAS/PPC Taglist Function Calls":
: >: Den 15-Jan-98 19:39:17 skrev Steve Krueger fĝlgende om "Re: SAS/PPC Taglist
: >: Function Calls":
: >: 
: >: > For functions like Printf(), stubs are not even possible, because
: >: > the PPC doesn't know how many parms there are without parsing the string,
: >: > ie there is no TAG_DONE.
: >: 
: >: Of course it is possible. I did it.
: 
: > How?
: 
:    Look at the format string. For each '%' (except those followed by another

Well, I said it was not possible WITHOUT parsing the string.


: '%') you look at the next characters to see how many bytes the argument
: takes. Add it all up, allocate the necessary amount of memory, look at the
: format string again, this time copying the arguments to the memory you just
: allocated, pass the address of this piece of memory to VPrintf(), free the
: memory block, return(). I can send you the source if you want it.
: 
:    To avoid dublicate code (and to guarantee dublicate bugs :-), write a
: function to perform the conversion, counting the number of bytes of arguments
: as it goes, and let take a NULL pointer to just count arguments without
: copying them. Works fine and _much_ faster than any other printf()
: implementation I've attempted.

Since you've already coded this, perhaps you should put together a small
runtime library with these stubs. I'm sure other would be interested
in unsing them.



: 
:    Speaking of printf() speed, I've watched with a mixture of amusement and
: dispair the speed of stdio in mpg123 (ixemul) and lha_ppc (SAS/C stdio). My
: own latest attempt at using libnix' vprintf() code resulted in what can best
: be described as a joke, speedwise, even with cacheflushing disabled for
: FPutC(), CloseLocale() and IsAlpha() and friends.

With some proper buffering, the stdio time can be reduced. For the SAS/C
library, you can declare a global varia ble__buffsize to be the buffer size, ie

int __buffsize = 32768;

The default is declared in stdio.h, 4k. However, if you do alot of seeking,
or you need to write to the screen where the buffer needs to be flushed, then
there's just no way to reduce that overhead.

sk


From owner-amigappc-dev  Sun Jan 18 03:29:51 1998
Received: from spode (user-38lc5ar.dialup.mindspring.com [209.86.21.91]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id DAA02576 for <amigappc-dev@amiga.com.pl>; Sun, 18 Jan 1998 03:29:48 +0100 (MET)
Received: by spode.mindspring.net (Amiga SMTPpost 1.04 December 9, 1994)
        id AA01; Sat, 17 Jan 98 21:22:37 
Subject: Re: SAS/PPC Taglist Function Calls
In-Reply-To: <Pine.LNX.3.95.980118024124.16488A-100000@vb.franken.de> from Volker Barthelmann <volker@vb.franken.de> at Sun, 18 Jan 1998 02:55:46 +0100 (CET)
From: sekruege@mindspring.com (Steve Krueger)
X-Mailer: GMail 0.55 (11.5.95)
To: amigappc-dev@amiga.com.pl
Date: Sat, 17 Jan 98 21:22:37 
Message-ID: <19980117.841F720.133D4@spode.mindspring.net>


: The varargs-stubs from vbcc's libamiga.a simply store the registers
: containing the first variable arguments just below the stack-parameters in
: the caller's stack-frame (after saving the stack-slot that gets
: overwritten, of course). This is simple, fast and all the arguments end up
: in one continuous array without having to know the number of arguments or
: semantics of the function.

If I understand this properly, then I don't think this is legal. You are
storing over the top of the previous functions stack. That previous function
may have taken the address of one those stack locations and passed it in to
the varargs function. Consider a case like:


foo()
{
    char buff[100] = "something here";

    Printf("%s", buff);
}

If the Printf() stub puts the parm 'buff' back in the stack frame foo(),
even though it saved the value, you may trash the 'buff' that you
are trying to print.

If this is not what you're doing, and I'm misunderstanding this, then
please explain further so I can do it too. :)


sk


From owner-amigappc-dev  Sun Jan 18 04:34:26 1998
Received: from server.kic.or.jp (server.kic.or.jp [202.239.136.13]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id EAA02634 for <amigappc-dev@amiga.com.pl>; Sun, 18 Jan 1998 04:34:23 +0100 (MET)
Received: from kic-136-ppp181.kic.or.jp (mclaughd@kic-136-ppp181.kic.or.jp [202.239.136.201])
          by server.kic.or.jp  with ESMTP
	  id DAA28058 for <amigappc-dev@amiga.com.pl>; Sun, 18 Jan 1998 03:19:03 GMT
From: "Douglas McLaughlin" <mclaughd@kic.or.jp>
Organization: STR Programming Services
Date: 18 Jan 98 12:18:18 +0900
Subject: Re: SAS/PPC Taglist Function Calls
Message-Id: <34C1F30A.MD-0.198.mclaughd@kic.or.jp>
In-Reply-To: <34C19519.6622@t-online.de>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: MicroDot-II/AmigaOS 0.198

On Sat, 17 Jan 1998 21:37:29 -0800, Philipp Spöth had this to say about Re: SAS/PPC Taglist Function Calls...

> > At this point I'm planning on using the PPC function in cybergraphics
> > and the new PPC API that Holger added to Miami.  I'm just looking to
> > see what can be done....!

> So that´s the point with the ppc version... Could you tell me where to
> get the autodoc!?! (I could not find it at vgr.com) 

There is no autodoc for the cgx PPC stuff.  I'm trying to find out
when it will be available on the cgx mailing list right now...

Doug
From owner-amigappc-dev  Sun Jan 18 17:43:32 1998
Received: from fen.baynet.de (root@hugo.fen.baynet.de [194.95.193.10]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id RAA03823 for <amigappc-dev@amiga.com.pl>; Sun, 18 Jan 1998 17:43:26 +0100 (MET)
Received: from fen.baynet.de (popman@dialin-nbg-32.fen.baynet.de [195.37.210.162])
	by fen.baynet.de (8.8.5/8.8.5) with SMTP id RAA20684
	for <amigappc-dev@amiga.com.pl>; Sun, 18 Jan 1998 17:35:12 +0100 (MET)
From: Felix Schwarz <bs168@fen.baynet.de>
Reply-To: Felix Schwarz <bs168@fen.baynet.de>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Date: Sun, 18 Jan 1998 17:31:45 +0100
Message-ID: <yam7322.2266.117948472@mail.fen.baynet.de>
In-Reply-To: <Pine.LNX.3.95.980118024124.16488A-100000@vb.franken.de>
X-Mailer: YAM 1.3.4 [040] - Amiga Mailer by Marcel Beck
Subject: The UConv project
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Hi!
I`m new in this list. I want to port UConv to PowerUP and have already do=
ne this
at 25 % (big thanx are also going to Steve, who helped me out with some m=
akefiles!!).
A part of UConv is mpeg_encode. So I want to port it. I created an experi=
mental
makefile, but there are many errors.. if anybody is willing to port mpeg_=
encode to
PowerUP (from the original Unix sources) - please send me an Email or pos=
t it in the
list. The basis for porting shoulld be SAS/C with PowerUP-Patch.

-- =

Ciao,
   Felix

+--------->  NEW EMAIL ADDRESS: bs168@fen.baynet.de <--------------+
|   // A4000/060/50Mhz+604e/180Mhz/26MB/1.3GB/CV3D + A1200/030/6MB |
| \x/ Felix Schwarz, Am Gr=FCndla 3, D-91074 Herzogenaurach, GERMANY |
| Amiga          +-------------------------------------------------+
|       forever! | NEWS:UConv 2.1 NG released!!Check the homepage! |
+----------------+-------------------------------------------------+
| Homepages: http://uconv.home.pages.de/ - the cool Ultraconv-site |
| ------->>  http://agm.home.pages.de/   - the great AGM-site      |
+--------------------> Tagline of the mail: <----------------------+
Drinking kills brain cells, but only the weak ones!                      =
       =


From owner-amigappc-dev  Sun Jan 18 18:21:23 1998
Received: from k4315.kampsax.dtu.dk ([130.225.71.227]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id SAA03888 for <amigappc-dev@amiga.com.pl>; Sun, 18 Jan 1998 18:21:19 +0100 (MET)
Received: from k4315.kampsax.dtu.dk (rask@192.38.215.253)
  by k4315.kampsax.dtu.dk with SMTP; 18 Jan 1998 17:14:10 -0000
Date: 18 Jan 98 16:17:40 +0100
From: "Rask Ingemann Lambertsen" <rask@kampsax.k-net.dk>
Subject: Re: SAS/PPC Taglist Function Calls
To: "Amiga PowerPC developer mailing list" <amigappc-dev@amiga.com.pl>
In-Reply-To: <34C19519.6622@t-online.de>
Message-ID: <2202.322T2016T9775056@kampsax.k-net.dk>
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 8bit
Organization: Me? Organised? Dream on...
X-Files: The truth is out there.
X-INUFS: This message was sent from an INetUtils Free System.
X-Mailer: THOR 2.5a (Amiga;TCP/IP)

Den 18-Jan-98 06:37:29 skrev Philipp Spöth fĝlgende om "Re: SAS/PPC Taglist Function Calls":
> Hello everybody....
[snip]
> Did I understand right? It´s not allowed for PPC os(68k) calls to use
> tag functions
> because of cache problems when using the stack ?!?

No, you didn't understand it correctly. The problems is that the ABI used on
the powerup boards passes the first 8 arguments in registers, even for
varargs calls. On the m68k, all varargs arguments are passed on the stack, so
the OS calls are expected to pass a pointer to the first argument.

A quick summary of the three solutions that I've seen posted here:
1) Use you knowledge about the size and number of varargs (e.g. printf()
   format string og tag list) to copy the arguments to a temporary buffer
   and pass a pointer to that buffer to the m68k varargs function.
2) In the case of tag lists, copy only the first 8 args and link to the rest
   with TAG_MORE. A nice little trick, IMHO.
3) Copy the part of the stack frame in front of argument 9 to a temporary
   buffer, copy the first 8 arguments to the backed up part of the stack and
   pass a pointer to the first argument. Afterwards, restore the stack frame.

> The programm is written in C++, and the gcc does not have a c++
> compiler.

GCC has a C++ compiler. It is called g++.

> Another question:
> It´s not allowed for both cpu´s to work with the same peace of memory.
> Now I let my ppc process a picture and use the 68k to copy it to
> gfx-mem.
> Do I need to flush caches?   

Yes. Wouldn't the easiest way of handling it be to use messages (send the
whole picture as a message), so the powerup kernel handles cache
flushing/invalidation?

Regards,

/ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻTŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ\
| Rask Ingemann Lambertsen       | E-mail: mailto:rask@kampsax.dtu.dk    |
| Registered Phase5 developer    | WWW: http://www.gbar.dtu.dk/~c948374/ |
| A4k/604e, 44 MB, 3 GB, Ariadne | "ThrustMe" on XPilot, ARCnet and IRC  |
| Diplomacy is the art of saying "Nice doggie" till you can find a rock  |

From owner-amigappc-dev  Sun Jan 18 18:21:27 1998
Received: from k4315.kampsax.dtu.dk ([130.225.71.227]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id SAA03893 for <amigappc-dev@amiga.com.pl>; Sun, 18 Jan 1998 18:21:25 +0100 (MET)
Received: from k4315.kampsax.dtu.dk (rask@192.38.215.253)
  by k4315.kampsax.dtu.dk with SMTP; 18 Jan 1998 17:14:15 -0000
Date: 18 Jan 98 18:02:25 +0100
From: "Rask Ingemann Lambertsen" <rask@kampsax.k-net.dk>
Subject: ppc.library v45.5 proto file bugs
To: ""amigappc-dev@amiga.com.pl, powerup@lists.best.com
Message-ID: <928.322T1251T10824315@kampsax.k-net.dk>
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 8bit
Organization: Me? Organised? Dream on...
X-Files: The truth is out there.
X-INUFS: This message was sent from an INetUtils Free System.
X-Mailer: THOR 2.5a (Amiga;TCP/IP)

   In the proto files for ppc.library, SysBase and DOSBase are declared as
struct Library * instead of struct ExecBase * and struct DosLibrary *
respectively. A workaround, at least if you use global library bases, is

/* Work around proto file bugs. */
#define __NOLIBBASE__
struct ExecBase *SysBase;
struct DosLibrary *DOSBase;

#include <ppcproto/exec.h>
#include <ppcproto/dos.h>
#undef __NOLIBBASE__

Regards,

/ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻTŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ\
| Rask Ingemann Lambertsen       | E-mail: mailto:rask@kampsax.dtu.dk    |
| Registered Phase5 developer    | WWW: http://www.gbar.dtu.dk/~c948374/ |
| A4k/604e, 44 MB, 3 GB, Ariadne | "ThrustMe" on XPilot, ARCnet and IRC  |
|                   It's bad luck to be superstitious.                   |

From owner-amigappc-dev  Sun Jan 18 22:27:49 1998
Received: from spode (user-37kb9a9.dialup.mindspring.com [207.69.165.73]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id WAA04499 for <amigappc-dev@amiga.com.pl>; Sun, 18 Jan 1998 22:27:43 +0100 (MET)
Received: by spode.mindspring.net (Amiga SMTPpost 1.04 December 9, 1994)
        id AA01; Sun, 18 Jan 98 16:20:25 
Subject: Re: SAS/PPC Taglist Function Calls
From: sekruege@mindspring.com (Steve Krueger)
X-Mailer: GMail 0.55 (11.5.95)
To: amigappc-dev@amiga.com.pl
Date: Sun, 18 Jan 98 16:20:25 
Message-ID: <19980118.823B2F8.EAA9@spode.mindspring.net>


Here's my first attempt at creating a stub, without counting
how many parameters there are. It seems to work, and I will create
stubs that follow this model for all of the other Tags calls, if no
one has any trouble with this one.

Note: This only works with SAS/C (ie it is dependant on the SAS/C
implementation of va_list).

sk




#include <stdarg.h>
#include <string.h>
#include <dos/dostags.h>
#include <proto/intuition.h>

struct Screen *OpenScreenTags( struct NewScreen *newScreen, 
                               unsigned long tag1type, ...)
{
    long regtags[10]; /* the max that will be copied here is */
                      /* r3-r10 + TAG_MORE + pointer == 10 */
    int i, j;
    va_list args;
    
    va_start(args, tag1type);
    
    regtags[0] = tag1type;
    for (j = 1, i = args.__va_r29; i < (11-3)*4; i += 4, j++)
        regtags[j] = *(long *) (i + args.__va_r30);
    
    if (j & 1)
    {
         /* the taglist is split with type in a reg, and the
            data on the stack. Copy the stack value */
        regtags[j++] = *(long *) (args.__va_r31);
        args.__va_r31 += 4;
    }
    
    regtags[j++] = TAG_MORE;
    regtags[j++] = args.__va_r31;
    
    return OpenScreenTagList(newScreen, (struct TagItem *)regtags);
    
}



From owner-amigappc-dev  Sun Jan 18 22:35:10 1998
Received: from vb.franken.de (vb.franken.de [193.174.2.34]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id WAA04516 for <amigappc-dev@amiga.com.pl>; Sun, 18 Jan 1998 22:35:00 +0100 (MET)
Received: from localhost (volker@localhost)
          by vb.franken.de (8.8.4/8.8.4) with SMTP
	  id IAA24832 for <amigappc-dev@amiga.com.pl>; Sun, 18 Jan 1998 08:09:01 +0100
Date: Sun, 18 Jan 1998 08:09:00 +0100 (CET)
From: Volker Barthelmann <volker@vb.franken.de>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Subject: Re: SAS/PPC Taglist Function Calls
In-Reply-To: <19980117.841F720.133D4@spode.mindspring.net>
Message-ID: <Pine.LNX.3.95.980118070630.21066A-100000@vb.franken.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII



On Sat, 17 Jan 1998, Steve Krueger wrote:

> If I understand this properly, then I don't think this is legal. You are
> storing over the top of the previous functions stack. That previous function
> may have taken the address of one those stack locations and passed it in to
> the varargs function.

Not really. The parameter area starts at offset 8, so I only have to
overwrite the words at offset 0 and 4. At offset 0 there is the old
stackpointer and offset 4 may be overwritten by the callee anyway.

There's no way to get these addresses in C.

> Consider a case like:
> 
> foo()
> {
>     char buff[100] = "something here";
> 
>     Printf("%s", buff);
> }
> 
> If the Printf() stub puts the parm 'buff' back in the stack frame foo(),
> even though it saved the value, you may trash the 'buff' that you
> are trying to print.

buff can't get overwritten, because local variables have to be stored
above the parameter area.

> If this is not what you're doing, and I'm misunderstanding this, then
> please explain further so I can do it too. :)

This is the code that was generated for Printf by fd2libPPC from the
vbcc-archive on aminet:

	.text
	.global	DOSBase
	.global	PPCCallOS
	.global	Printf
	.align	3
Printf:
	stwu	1,-128(1)
	mflr	11
	stw	11,100(1)  ; store lr in our own stack-frame
	lwz	11,128(1)  ; save the caller's saved sp
	stw	11,96(1)
	stw	4,108(1)   ; store the registers which may
	stw	5,112(1)   ; contain variable arguments
	stw	6,116(1)
	stw	7,120(1)
	stw	8,124(1)
	stw	9,128(1)   ; the last two into the caller's frame
	stw	10,132(1)
	stw	3,40(1)    ; save fixed arg in CallOS-struct
	addi	11,1,108   ; address of the array/taglist
	stw	11,44(1)   ; ->CallOS-struct
	li	11,-954
	stw	11,8(1)
	li	11,1
	stw	11,12(1)
	stw	11,24(1)
	lis	11,DOSBase@ha
	lwz	11,DOSBase@l(11)
	stw	11,92(1)
	addi	3,1,8
	bl	PPCCallOS
	lwz	11,96(1)   ; now we restore the saved sp
	stw	11,128(1)
	lwz	11,100(1)  ; restore lr
	mtlr	11
	addi	1,1,128
	blr

Please let me know if you see problems with that. Otherwise you may use
fd2libPPC. It's public domain.

Volker

From owner-amigappc-dev  Mon Jan 19 01:57:13 1998
Received: from camel14.mindspring.com (camel14.mindspring.com [207.69.200.64]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id BAA04977 for <amigappc-dev@amiga.com.pl>; Mon, 19 Jan 1998 01:57:11 +0100 (MET)
Received: from spode (user-37kbo0k.dialup.mindspring.com [207.69.224.20])
	by camel14.mindspring.com (8.8.5/8.8.5) with SMTP id TAA18102
	for <amigappc-dev@amiga.com.pl>; Sun, 18 Jan 1998 19:50:50 -0500 (EST)
Received: by spode.mindspring.net (Amiga SMTPpost 1.04 December 9, 1994)
        id AA01; Sun, 18 Jan 98 19:46:55 
Subject: Re: SAS/PPC Taglist Function Calls
In-Reply-To: <Pine.LNX.3.95.980118070630.21066A-100000@vb.franken.de> from Volker Barthelmann <volker@vb.franken.de> at Sun, 18 Jan 1998 08:09:00 +0100 (CET)
From: sekruege@mindspring.com (Steve Krueger)
X-Mailer: GMail 0.55 (11.5.95)
To: amigappc-dev@amiga.com.pl
Date: Sun, 18 Jan 98 19:46:55 
Message-ID: <19980118.8285378.120C0@spode.mindspring.net>


: buff can't get overwritten, because local variables have to be stored
: above the parameter area.
: 
: > If this is not what you're doing, and I'm misunderstanding this, then
: > please explain further so I can do it too. :)
: 
: This is the code that was generated for Printf by fd2libPPC from the
: vbcc-archive on aminet:
: 
: 	.text
: 	.global	DOSBase
: 	.global	PPCCallOS
: 	.global	Printf
: 	.align	3
: Printf:
: 	stwu	1,-128(1)
: 	mflr	11
: 	stw	11,100(1)  ; store lr in our own stack-frame
: 	lwz	11,128(1)  ; save the caller's saved sp
: 	stw	11,96(1)
: 	stw	4,108(1)   ; store the registers which may
: 	stw	5,112(1)   ; contain variable arguments
: 	stw	6,116(1)
: 	stw	7,120(1)
: 	stw	8,124(1)
: 	stw	9,128(1)   ; the last two into the caller's frame
: 	stw	10,132(1)
: 	stw	3,40(1)    ; save fixed arg in CallOS-struct
: 	addi	11,1,108   ; address of the array/taglist
: 	stw	11,44(1)   ; ->CallOS-struct
: 	li	11,-954
: 	stw	11,8(1)
: 	li	11,1
: 	stw	11,12(1)
: 	stw	11,24(1)
: 	lis	11,DOSBase@ha
: 	lwz	11,DOSBase@l(11)
: 	stw	11,92(1)
: 	addi	3,1,8
: 	bl	PPCCallOS
: 	lwz	11,96(1)   ; now we restore the saved sp
: 	stw	11,128(1)
: 	lwz	11,100(1)  ; restore lr
: 	mtlr	11
: 	addi	1,1,128
: 	blr
: 
: Please let me know if you see problems with that. Otherwise you may use
: fd2libPPC. It's public domain.


Nice trick! I can't think of any case where this would fail.

sk


From owner-amigappc-dev  Mon Jan 19 14:32:23 1998
Received: from feandil (feandil.lnet.lut.fi [157.24.104.151]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id OAA08266 for <amigappc-dev@amiga.com.pl>; Mon, 19 Jan 1998 14:32:05 +0100 (MET)
Received: by feandil.lnet.lut.fi (Amiga SMTPpost 1.04 December 9, 1994)
        id AA01; Mon, 19 Jan 98 15:25:35 +0200
Received: by feandil.lnet.lut.fi (Amiga SMTPpost 1.04 December 9, 1994)
        id AA01; Mon, 19 Jan 98 15:24:55 +0200
Reply-To: tsuikki@lut.fi
Subject: Re: Configuring GCC
In-Reply-To: <199801170957.TAA05335@hakea.cs.ntu.edu.au>
             (from "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>)
             (on Sat, 17 Jan 98 19:27:02)
Lines: 16
X-Mailer: ADMail 1.7 Copyright 1995 S.T.Brown
From: tsuikki@feandil.lnet.lut.fi (Teemu Suikki)
Date: Mon, 19 Jan 98 15:24:55 +0200
Organization: Petsoff Limited Partnership
Message-ID: <19980119.8B12EA8.E375@feandil.lnet.lut.fi>
To: amigappc-dev@amiga.com.pl

Greetings, James.

> Are you calling the powerpc compiler as,
> 
> ppc-amigaos-gcc -S -O3 file.c -o file.s
> ppc-amigaos-gas file.s -o file.o
> ppc-amigaos-ld -r file.o -o file.elf

Actually you can skip the gas stage; this works too:

ppc-amigaos-gcc -c -O3 file.c -o file.o
ppc-amigaos-ld -r file.o -o file.elf

-- 
 / Teemu Suikki / email:          /
/  Petsoff LP  /  tsuikki@lut.fi /


From owner-amigappc-dev  Mon Jan 19 17:13:26 1998
Received: from hakea.cs.ntu.edu.au (jamesm@hakea.cs.ntu.edu.au [138.80.116.6]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id RAA08689 for <amigappc-dev@amiga.com.pl>; Mon, 19 Jan 1998 17:13:22 +0100 (MET)
Received: (from jamesm@localhost)
	by hakea.cs.ntu.edu.au (8.8.7/8.8.7) id BAA08894
	for amigappc-dev@amiga.com.pl; Tue, 20 Jan 1998 01:36:44 +0930 (CST)
From: James McArthur <jamesm@it.ntu.edu.au>
Message-Id: <199801191606.BAA08894@hakea.cs.ntu.edu.au>
Subject: Re: Configuring GCC
To: amigappc-dev@amiga.com.pl
Date: Tue, 20 Jan 1998 01:36:44 +0930 (CST)
In-Reply-To: <19980119.8B12EA8.E375@feandil.lnet.lut.fi> from "Teemu Suikki" at Jan 19, 98 03:24:55 pm
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit


Hi,

> Actually you can skip the gas stage; this works too:
> 
> ppc-amigaos-gcc -c -O3 file.c -o file.o
> ppc-amigaos-ld -r file.o -o file.elf

Well, I copied it straight out of the p5 docs, but how often are they
100% correct ;)

James
From owner-amigappc-dev  Mon Jan 19 18:04:01 1998
Received: from amiga.com.pl (carlos@async53.fiber.net.pl [195.117.208.53]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id SAA08857 for <amigappc-dev@amiga.com.pl>; Mon, 19 Jan 1998 18:03:58 +0100 (MET)
From: Marcin Orlowski <carlos@amiga.com.pl>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Date: Sun, 18 Jan 1998 10:27:36 +0100
Message-ID: <yam7322.1826.140475632@amiga.com.pl>
In-Reply-To: <19980117.832FA90.12FBD@spode.mindspring.net>
X-Mailer: YAM 2.0beta6 - Amiga Mailer by Marcel Beck - http://www.yam.ch
Organization: W.F.M.H.   (http://wfmh.org.pl)
Subject: Re: SAS/PPC Taglist Function Calls
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: quoted-printable

Dnia 17-Sty-98, Steve Krueger napisa=B3:

> Since you've already coded this, perhaps you should put together a smal=
l
> runtime library with these stubs. I'm sure other would be interested
> in unsing them.

If there will be bigger interest, we can create amigappc-dev drawer on
ftp.amiga.com.pl where all such things could be stored.

-- =

 Press any key to continue or any other key to quit...

 Marcin                              http://wfmh.org.pl/~carlos/
                                       mailto:carlos@wfmh.org.pl


From owner-amigappc-dev  Tue Jan 20 00:56:44 1998
Received: from k4315.kampsax.dtu.dk ([130.225.71.227]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id AAA10121 for <amigappc-dev@amiga.com.pl>; Tue, 20 Jan 1998 00:56:36 +0100 (MET)
Received: from k4315.kampsax.dtu.dk (rask@192.38.215.253)
  by k4315.kampsax.dtu.dk with SMTP; 19 Jan 1998 23:49:09 -0000
Date: 20 Jan 98 00:06:17 +0100
From: "Rask Ingemann Lambertsen" <rask@kampsax.k-net.dk>
Subject: Re: Configuring GCC
To: "Amiga PowerPC developer mailing list" <amigappc-dev@amiga.com.pl>
In-Reply-To: <199801191606.BAA08894@hakea.cs.ntu.edu.au>
Message-ID: <996.324T851T64187@kampsax.k-net.dk>
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 8bit
Organization: Me? Organised? Dream on...
X-Files: The truth is out there.
X-INUFS: This message was sent from an INetUtils Free System.
X-Mailer: THOR 2.5a (Amiga;TCP/IP)
From owner-amigappc-dev  Tue Jan 20 00:56:45 1998
Received: from k4315.kampsax.dtu.dk ([130.225.71.227]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id AAA10123 for <amigappc-dev@amiga.com.pl>; Tue, 20 Jan 1998 00:56:39 +0100 (MET)
Received: from k4315.kampsax.dtu.dk (rask@192.38.215.253)
  by k4315.kampsax.dtu.dk with SMTP; 19 Jan 1998 23:49:13 -0000
Date: 20 Jan 98 00:12:09 +0100
From: "Rask Ingemann Lambertsen" <rask@kampsax.k-net.dk>
Subject: Re: SAS/PPC Taglist Function Calls
To: "Amiga PowerPC developer mailing list" <amigappc-dev@amiga.com.pl>
In-Reply-To: <19980117.832FA90.12FBD@spode.mindspring.net>
Message-ID: <1294.324T463T122943@kampsax.k-net.dk>
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 8bit
Organization: Me? Organised? Dream on...
X-Files: The truth is out there.
X-INUFS: This message was sent from an INetUtils Free System.
X-Mailer: THOR 2.5a (Amiga;TCP/IP)

Den 19-Jan-98 17:36:44 skrev James McArthur fĝlgende om "Re: Configuring GCC":
> Hi,

>> Actually you can skip the gas stage; this works too:
>> 
>> ppc-amigaos-gcc -c -O3 file.c -o file.o
>> ppc-amigaos-ld -r file.o -o file.elf

> Well, I copied it straight out of the p5 docs, but how often are they
> 100% correct ;)

Although, being familiar with GCC already, I haven't tried phase5's
suggestion, I'm sure it works. It's just more convenient to use GCC the
normal way.

Regards,

/ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻTŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ\
| Rask Ingemann Lambertsen       | E-mail: mailto:rask@kampsax.dtu.dk    |
| Registered Phase5 developer    | WWW: http://www.gbar.dtu.dk/~c948374/ |
| A4k/604e, 44 MB, 3 GB, Ariadne | "ThrustMe" on XPilot, ARCnet and IRC  |
|      If there is something I can't stand, it's intolerant people       |


Den 17-Jan-98 22:00:43 skrev Steve Krueger fĝlgende om "Re: SAS/PPC Taglist Function Calls":

[varargs for Printf() and friends]
> Since you've already coded this, perhaps you should put together a small
> runtime library with these stubs. I'm sure other would be interested
> in unsing them.

I was actually thinking of releasing my small C library under GNU GLPL or
something like that. It just needs a bit of cleanup.

> The default is declared in stdio.h, 4k. However, if you do alot of seeking,
> or you need to write to the screen where the buffer needs to be flushed,
> then there's just no way to reduce that overhead.

Has anybody looked into finding the OS calls that need no or only partial
cache flushing? There could be an easy performance gain in doing so.

Regards,

/ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻTŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ\
| Rask Ingemann Lambertsen       | E-mail: mailto:rask@kampsax.dtu.dk    |
| Registered Phase5 developer    | WWW: http://www.gbar.dtu.dk/~c948374/ |
| A4k/604e, 44 MB, 3 GB, Ariadne | "ThrustMe" on XPilot, ARCnet and IRC  |
|              Please Tell Me if you Don't Get This Message              |

From owner-amigappc-dev  Thu Jan 22 13:14:35 1998
Received: from butler.medianet.pl (root@butler.medianet.com.pl [195.116.184.2]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id NAA17896 for <amigappc-dev@amiga.com.pl>; Thu, 22 Jan 1998 13:14:34 +0100 (MET)
Received: from mail.union.org.pl (virtual.medianet.pl [195.116.184.254])
	by butler.medianet.pl (8.8.8/8.8.8) with ESMTP id AAA01717
	for <amigappc-dev@amiga.com.pl>; Wed, 21 Jan 1998 00:38:28 +0100 (MET)
Received: from union.medianet.pl (Docent@dial-7.medianet.pl [195.116.185.7])
	by mail.union.org.pl (8.8.6/8.8.8) with SMTP id AAA05094
	for <amigappc-dev@amiga.com.pl>; Wed, 21 Jan 1998 00:43:57 GMT
From: Peter Drapich <docent@union.org.pl>
Reply-To: Peter Drapich <docent@union.org.pl>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Date: Tue, 20 Jan 1998 19:53:19 +0100
Message-ID: <yam7324.979.142196736@mail.union.medianet.pl>
In-Reply-To: <yam7314.1635.1737120064@eure.de>
X-Mailer: YAM 1.3.4 [020] - Amiga Mailer by Marcel Beck
Organization: Union Systems
Subject: Re: PPC: Developments ?
MIME-Version: 1.0
Content-Type: text/plain

On 10-Jan-98, Andreas Kuessner wrote:
>Hi there,
Hi,
>>Ok, there IS one..:))) I'm working on POVRay PPC version, which is almost
>>ready and will reach beta stage next week. I think it will be the biggest
ppc
>>program so far. At least from the executable's size point of view.:))) - its
>>around 1 MB now...
>Definitly not the biggest ...
>wf    1.276.684 Bytes :-) (Wildfire PPC sales version)
>+ 4 MB of external Plugins  (1 MB of it real elf-files...)

Damn, yours is bigger :))))
Mine has currently 1184054 bytes plus 60kb of 68k code... 
heh, I think I'll turn debug on :)

>btw., are you supporting the P5 Solution with POVRay?

Yes, its an .elf file, generated with SASC

>Some users of Wildfire asked for a direct support of POVRay through WF...

If you are interested how to exchange messages with POVray, email me and I'll
send you some examples and information.

>Bye, Andreas.

regards,
Peter

--
It is easier to change the specification to fit the program than vice versa.

From owner-amigappc-dev  Thu Jan 22 14:21:01 1998
Received: from amiga.com.pl (wfmh.org.pl [195.117.208.3]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id OAA19642 for <amigappc-dev@amiga.com.pl>; Thu, 22 Jan 1998 14:21:00 +0100 (MET)
Date: Thu, 22 Jan 1998 14:20:59 +0100 (MET)
From: Marcin Orlowski <carlos@amiga.com.pl>
To: amigappc-dev@amiga.com.pl
Subject: PROBLEMS WITH MAILSERVER
Message-ID: <Pine.NEB.3.96.980122141404.19254B-100000@amiga.com.pl>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


Hi,

Our provider is having difficulties with their internet connection,
so you may have noticed some listserver related problems. Please
bear with us while we work on fixing this.


Sorry for the inconvenience,

--
Admin

From owner-amigappc-dev  Thu Jan 22 15:06:58 1998
Received: from k4315.kampsax.dtu.dk ([130.225.71.227]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id PAA20229 for <amigappc-dev@amiga.com.pl>; Thu, 22 Jan 1998 15:06:51 +0100 (MET)
Received: from k4315.kampsax.dtu.dk (rask@192.38.215.253)
  by k4315.kampsax.dtu.dk with SMTP; 21 Jan 1998 23:55:15 -0000
Date: 22 Jan 98 00:41:18 +0100
From: "Rask Ingemann Lambertsen" <rask@kampsax.k-net.dk>
Subject: setjmp()/longjmp()
To: "Amiga PowerPC developer mailing list" <amigappc-dev@amiga.com.pl>
Message-ID: <1802.326T923T413387@kampsax.k-net.dk>
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 8bit
Organization: Me? Organised? Dream on...
X-Files: The truth is out there.
X-INUFS: This message was sent from an INetUtils Free System.
X-Mailer: THOR 2.5a (Amiga;TCP/IP)

Hi.

   I'm currently trying to implement setjmp()/longjmp() for ppc-amigaos-gcc.
I'm running into a few problems, though:

1) I didn't know how these two function work until yesterday.
2) I'm not familiar with the PPC stackframe.
3) I'm not familiar with PPC asm.
4) I wouldn't be able to implement them on the m68k either.

I had a look at the way setjmp() is implemented on the m68k
(ixemul/libnix/vbcc). The basic idea seems to be to save the calling address
and all non-scratch registers (including the stack pointer, A7). Looking at
vbcc's PPC version, it appears to save

 R9 : an unknown (to me) value from R2
 R10: loaded with the stack pointer (R1)
 R11: loaded with the link register (LR)
 R12: loaded with the condition code register (CR)
 R13: small data area pointer
 R14: non-scratch register
 ...
 R31: non-scratch register
 ???: R9-R31 take up 23 longs, but the jump_buf is 24 longs.

This is mostly clear enough to me, but the contents of R2 on entry to
setjmp() and the contents of R9 on entry to longjmp() puzzle me. Of course,
if I had descriptions (that I can understandı) of lmw/stmw, it would probably
help a lot. Any pointers?

Oh, and why are the non-volatile floating point register not saved?

ı I.e. not the ones from <URL:http://powerup.base.org/>.

Regards,

/ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻTŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ\
| Rask Ingemann Lambertsen       | E-mail: mailto:rask@kampsax.dtu.dk    |
| Registered Phase5 developer    | WWW: http://www.gbar.dtu.dk/~c948374/ |
| A4k/604e, 44 MB, 3 GB, Ariadne | "ThrustMe" on XPilot, ARCnet and IRC  |
|      Who is General Failure, and why is he reading my hard drive?      |

From owner-amigappc-dev  Thu Jan 22 15:26:14 1998
Received: from era.radiator.dk ([195.97.136.33]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id PAA20351 for <amigappc-dev@amiga.com.pl>; Thu, 22 Jan 1998 15:26:12 +0100 (MET)
Received: from - ([194.239.114.231])
	by era.radiator.dk (8.8.7/8.8.7) with ESMTP id OAA23469
	for <amigappc-dev@amiga.com.pl>; Thu, 22 Jan 1998 14:24:38 +0100
Message-Id: <199801221324.OAA23469@era.radiator.dk>
From: "303" <303@radiator.dk>
To: <amigappc-dev@amiga.com.pl>
Subject: Phase5 vs everyone else ..;)
Date: Thu, 22 Jan 1998 14:15:10 +0100
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

I was just wondering if someone would care to explain the benefits of Elf
as opposed to hunk ?
Admittedly I am no programmer but still i was wondering about it and what
developers were thinking about the different approach . Which is better,
performance wise .. and developer wise i.e. ease of implementation.
anyway .. thanks for being the soul of the amiga ..;)

-

303@radiator.dk
rf2053@hotmail.com
From owner-amigappc-dev  Thu Jan 22 17:18:58 1998
Received: from amiga.com.pl (ppp@ppp-srd183.szczecin.tpnet.pl [194.204.141.183]) by amiga.com.pl (8.7.5/8.7.3) with SMTP id RAA21180 for <amigappc-dev@amiga.com.pl>; Thu, 22 Jan 1998 17:18:56 +0100 (MET)
From: Admin <owner-amigappc-dev@amiga.com.pl>
To: "[WFMH] AmigaPPC-Dev ML" <amigappc-dev@amiga.com.pl>
Date: Tue, 20 Jan 1998 13:08:30 +0100
Message-ID: <yam7324.1513.140863096@amiga.com.pl>
Subject: ML Rules
MIME-Version: 1.0
Content-Type: text/plain


 Here you find the recent edition of Amiga-PPC-Dev ML's regulations.
 Please read and keep in mind (especially RULES chapter). All newbies
 will receive this while subsribing the list.

 Please send comments or notes (if any) directly to the list owner
 owner-amigappc-dev@amiga.com.pl. Do not reply publicly until
 *REALLY* necessary.

 Admin

 ---------------------------------------------------------------

 BRIEFLY
 ----------

 This list is intended for all Amiga PPC developers wishing to share
 their experience, opinions and problems with other people interested
 in writing PowerPC software for Amiga.


 TO UNSUBSCRIBE
 -----------------

 send an email to amigappc-dev-request@amiga.com.pl with BODY text:

 DELETE your@email.address.com


 TO POST AN ARTICLE
 ----------------------

 If you are already subscribed, send your emails to amigappc-dev@amiga.com.pl


 RULES
 ---------------

 1. This list is not for discussions about the wide range of PPC related
    problems! This list is for Amiga PowerPC developers and people
    wishing to share their experience etc related to PPC development.

     DISCUSSIONS REGARDING TOPICS OTHER THAN PPC-DEV ARE NOT ALLOWED!

    If you don't know how to install your PPC card or what
    ppc.library is for, this list is DEFINITELY NOT the place to ask!

 2. Do NOT attach ANY binaries nor big sources! You will be removed
    from the list if you violate this rule. If anyone wants you to
    send him any bigger data files, do this in private!

 3. Please remove all unnecessary parts of emails you want to reply to.

 4. Shorten your signature to 4-5 lines.

 5. Any HELP, UNSUBSCRIBE and other listserv's commands should be
    sent to amigappc-dev-request@amiga.com.pl NOT to the list!

    Think twice before you press "Send".


 LIST OWNER
 ---------------

 In case of problems you REALLY cannot solve (even with help from the
 guides at http://amiga.com.pl/lists/), send an email to human listowner:
 owner-amigappc-dev@amiga.com.pl


 SUPPORT SITE
 ---------------

 http://amiga.com.pl/lists/

 

 AVAILABLE PPC COMPILERS
 ------------------------------

 We STRONGLY advise you to stay PowerUp compatible! 

 Supporting Phase5's PowerUp:

 SAS/C PPC   - http://www.warped.com/~stevek/
 VBCC        - http://ftp.aminet.org/aminetbin/find?vbcc
 GCC         - ftp://ftp.ninemoons.com/pub/geekgadgets/970728/amiga-bin/


 Supporting Haage-Partner's WarpUp:

 STORM C     - http://www.haage-partner.com/sc_e.htm


 amiga.com.pl team
 ---------------------------
 Sun Jan 18 10:21:33 1998


From owner-amigappc-dev  Thu Jan 22 18:33:11 1998
Received: from fen.baynet.de (root@hugo.fen.baynet.de [194.95.193.10]) by amiga.com.pl (8.7.5/8.7.3) with ESMTP id SAA21452 for <amigappc-dev@amiga.com.pl>; Thu, 22 Jan 1998 18:32:56 +0100 (MET)
Received: from fen.baynet.de (popman@dialin-nbg-85.fen.baynet.de [195.37.210.219])
	by fen.baynet.de (8.8.5/8.8.5) with SMTP id SAA06263
	for <amigappc-dev@amiga.com.pl>; Thu, 22 Jan 1998 18:23:30 +0100 (MET)
From: Felix Schwarz <bs168@fen.baynet.de>
Reply-To: Felix Schwarz <bs168@fen.baynet.de>
To: "AmigaPPC developers' mailing list" <amigappc-dev@amiga.com.pl>
Date: Thu, 22 Jan 1998 17:34:46 +0100
Message-ID: <yam7326.2318.138040664@mail.fen.baynet.de>
In-Reply-To: <996.324T851T64187@kampsax.k-net.dk>
X-Mailer: YAM 1.3.4 [040] - Amiga Mailer by Marcel Beck
Subject: Problems with porting UNIX-sources ..
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Hi!
Hmm, I have some problems with porting mpeg_encode to PowerUP (it`s a MPE=
G-Video-
Stream I-encoder).. it doesn`t seem to accept any prototypes of function =
or structures, e.g.:

-- CUT --
typedef struct mpegFrame {
    int type;
    char    inputFileName[256];
    int id;           /* the frame number -- starts at 0 */
    boolean inUse;/* TRUE iff this frame is currently being used */
/* FALSE means any data here can be thrashed */

    uint8   **ppm_data;
    xel **rgb_data;         /* pnm format -- see pbmplus docs */
    xelval rgb_maxval;      /* largest value of any pixel index */
    int rgb_format;         /* more info from pnm */

    /*  =

     *  now, the YCrCb data.  All pixel information is stored in unsigned=

     *  8-bit pieces.  We separate y, cr, and cb because cr and cb are
     *  subsampled by a factor of 2.
     */
    uint8 **orig_y, **orig_cr, **orig_cb;

    /* now, the decoded data -- relevant only if
     *    referenceFrame =3D=3D DECODED_FRAME
     *
     */
    uint8 **decoded_y, **decoded_cr, **decoded_cb;

    /* reference data */
    uint8 **ref_y, **ref_cr, **ref_cb;

    /*  =

     *  these are the Blocks which will ultimately compose MacroBlocks.
     *  A Block is in a format that mp_fwddct() can crunch.
     */
    Block **y_blocks, **cr_blocks, **cb_blocks;

    /*
     *  this is the half-pixel luminance data (for reference frames)
     */
    uint8 **halfX, **halfY, **halfBoth;

    boolean   halfComputed;        /* TRUE iff half-pixels already comput=
ed */
} MpegFrame;
-- CUT --

this here can be compiled, but when using it as:

int32 PLogarithmicSearch (LumBlock currentBlock, MpegFrame *prev, int by,=
 int bx, int *motionY, int *motionX);

it reports that:

-- CUT --
extern void     ReadFrame (MpegFrame *frame, char *fileName, char *conver=
sion, boolean addPath);
readframe.h 59 Error 185: comma expected
-- CUT --

any hints ? (I use SAS/C)..

-- =

Ciao,
   Felix

+--------->  NEW EMAIL ADDRESS: bs168@fen.baynet.de <--------------+
|   // A4000/060/50Mhz+604e/180Mhz/26MB/1.3GB/CV3D + A1200/030/6MB |
| \x/ Felix Schwarz, Am Gr=FCndla 3, D-91074 Herzogenaurach, GERMANY |
| Amiga          +-------------------------------------------------+
|       forever! | NEWS:UConv 2.1 NG released!!Check the homepage! |
+------------------------------------------------------------------+

