Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
45 user(s) are online (26 user(s) are browsing Forums)

Members: 0
Guests: 45

more...

Headlines

Forum Index


Board index » All Posts (flash)




Re: LiteXL v2.1.0 is released
Just popping in
Just popping in


I’ll try to swap from annotate to litexl to code next time, thanks for update!

Memento audere semper!
Go to top


Re: Pegasos2 with RadeonHD/RX via bridge
Just popping in
Just popping in


@kas1e

It could be really useful to improve QEMU PegII board, there's really everything on this PDF.

Go to top


Re: New staff member
Just popping in
Just popping in


Nice!

Memento audere semper!
Go to top


Re: Amiga X5000 and Sound Blaster Audigy FX problem
Just popping in
Just popping in


Every time I read that some company is making money by developing Amiga hardware I can't help but laugh out loud. Every time I read that a developer believes he can make money with Amiga software development I can't help but laugh out loud. Some things are done out of passion and that's it, if you have other expectations it means that more than 30 years of Amiga history have taught us nothing in this regard. I am Italian like the people responsible for Acube but this is not what makes me take a stand in their favor, in fact we don't know each other. I am absolutely certain that Acube inserted the driver not to make money but only to support users. Anyone who doesn't understand this is probably because they don't want to understand it, so the question is closed.

Memento audere semper!
Go to top


Re: Pegasos2 with RadeonHD/RX via bridge
Just popping in
Just popping in


I have triboot peg2 os4/mos/debian 8
I remember linux and mos kernel for bootstrap are suited on os4 partition.
Every time a new mos version came out I have to coy new kernel on os4 boot partition. The same should be done for linux in case of kernel updates.

Memento audere semper!
Go to top


Re: A1222 support in the SDK and problems
Just popping in
Just popping in


@sailor

Use GCC -S switch to generate assembler source code and look inside it.

You'll see SPE code using these flags -mcpu=8540 -mabi=spe -mfloat-gprs=double

In soft-floats you'll see standard integer powerpc instructions where math operations are only emulated (much slower).

Go to top


Re: A1222 support in the SDK and problems
Just popping in
Just popping in


@sailor

The spe code ( -mcpu=8540 -mabi=spe ) is always hard-float.
Part of integer register file of P1222 cpu is used for vectors/scalar floats using hardware decoding engine.
It can act like a sort of an "altivec unit" or an "fpu unit".
Problem is that even if GCC 6 can manage it the result code is bugged in amigaland.

Also libc libraries (newlib/clib) needs to be recompiled for P1222 support, we need new sdk to produce the right binaries for A1222 without any workaround.

Go to top


Re: A1222 support in the SDK and problems
Just popping in
Just popping in


@sailor

As workaround you need to pass float parameters by reference and not by value.
Another solution is to pass them using heap space and not stack.
To do this you can use an array of floats and pass it's base address to function.
Another solution is to pass a struct with floats vars as members.

Anyway also printf function is bugged for A1222 and need to be fixed for floats.

I hope someone is working on it and new sdk will be released soon.

Go to top


Re: A1222 support in the SDK and problems
Just popping in
Just popping in


@walkero

Thanks for addressing the new topic

here there's my test case

#include <stdio.h>

#define SPE 1

#if SPE
#include <spe.h>
#endif /* SPE */

float sum (floatfloatfloat);

int main()
{
    
double x,y,z,result;

    
1.0f;
    
1.0f;
    
1.0f;

    
result sum (x,y,z);
    
    
printf ("should be 3: %f\n"result);

    return 
0;
}    

float sum (float afloat bfloat c)
{
    return 
c;
}


The following is the makefile

CC=gcc
CFLAGS_SPE
=-mcpu=8540 -mtune=8540 -mspe -mabi=spe -mfloat-gprs=double
OBJECTS
=A1222_SPE_floats.o

A1222_SPE_floats
: $(OBJECTS)

    $(
CC) $(OBJECTS) $(CFLAGS_SPE) -o A1222_SPE_floats

A1222_SPE_floats
.oA1222_SPE_floats.c

    
$(CC) $(INCLUDES) $(CFLAGS_SPE) -c A1222_SPE_floats.-o A1222_SPE_floats.o


Results on A1222 is 0, should be 3.
Obviously compiling the same code for FPU lead to correct result.

The compiler used is GCC 6 present in latest (your) OS4/SDK.
Maybe I made something wrong, so any feeback is well appreciated.

Go to top


Re: My Amiga Projects
Just popping in
Just popping in


@joerg

Agree but with GCC -msoft-float switch you don't use SPE unit but INTEGER unit with a huge slowdown. You kn ow for a game like H2 or Sin heavily based on floats it's not a good solution.

..Any chance to get a working SDK/GCC compiler for A1222 released in next days?

Go to top


Re: My Amiga Projects
Just popping in
Just popping in


@TheMagicSN

Sadly with latest SDK + GCC 6 (compiling with right switches for A1222 PowerPC "P1022" cpu) float/double variables are completely wrong.
Once it will be fixed (if ever), and other libs involved will be ported to new cpu P1022, you could just recompile your projects and build new binary.

If someone knows other solution to this issue please let me know.

Go to top


Re: Hi New Member Here
Just popping in
Just popping in


Welcome in our fantastic AmigaWorld and congrats tor your new toy.

Memento audere semper!
Go to top


Re: A1222+ memory interleaving
Just popping in
Just popping in


@smf
Maybe you can ask permission to put them on os4depot, included sources for further development.

Go to top


Re: Qemu Pegasos II interrupts issue
Just popping in
Just popping in


I have a Peg2 (latest rev with 2gb ram) and an Ati 9250 (maybe also a sb live for audio)
It’s in multi boot with os4, mos and debian.
Let me know if I can help.

Memento audere semper!
Go to top


Re: Who is getting the A1222 Plus?
Just popping in
Just popping in


@sailor

Congrats, enjoy and post a review..

Go to top


Re: About off topic news on Amigans
Just popping in
Just popping in


Please don’t let Amigans became a new AmigaWorld..

Memento audere semper!
Go to top


Re: AmiUpdate 2.50
Just popping in
Just popping in


Amiupdate 2.52 (current latest version)
If you go in preferences and than verify now, you got same errors than public 2.49 version.
Amiupdate now finds two updates, Dopus and another but once selected do not install any update for real.
Once you load a new scan same updates are found.

@Rigo
what about Codebench? Are you planning to release new version in a short time?

Memento audere semper!
Go to top


Pciutils - lspci and setpci
Just popping in
Just popping in


Just noticed on os4depot we have pciutils (lspci and setpci) to read and write pci bus, just line on linux systems. I wonder if setpci will allow use of latest gfx cards on Pegasos 2 and others first gen AmigaNG.

Go to top


Re: NetSurf 3.11 has been released!
Just popping in
Just popping in


All ok for me under latest OS4.1fe (no betatester version).
Netsurf seems to be quite fast and a good alternative to OdYssey.
Tnx!

Memento audere semper!
Go to top


Re: binutils 2.40 first native(!) beta tests !
Just popping in
Just popping in


Recompiled FlashMandelNG 4,9 (all flavours versions) without errors.
A really fast test shows all runs ok but executables are about 10% bigger against latest SDK release (based on Walkero work).

GCC versions tested - 11,2.0 and 6.4.0

Memento audere semper!
Go to top



TopTop
(1) 2 3 4 ... 9 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project