Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
13 user(s) are online (7 user(s) are browsing Forums)

Members: 0
Guests: 13

more...

Support us!

Headlines

Forum Index


Board index » All Posts (MigthyMax)




Re: NGFS new version
Just popping in
Just popping in


@vagappc

I think if you PM him at the hyperion forum directly your chances will be higher, that he gets a direct notification email.

Go to top


Re: the best way to remote use of real os4 machine ?
Just popping in
Just popping in


@Hans

I think the big companies don't use VNC in their office environment. They use in production/facility environment, where machines/device/appliance have some a display, and with VNC they can connect and look what the display shows, and a big benefit is that the display of the machines/device/appliance still shows something for a person in the front of it. Compared to RDP.

Go to top


Re: the best way to remote use of real os4 machine ?
Just popping in
Just popping in


Coming back this thread to the part initial question.

Is there a SSH server for AmigaOs 4?

Go to top


Re: Creating an AmigaOS4 library
Just popping in
Just popping in


@msteed

If my memory doesn’t failed. The strange thing is that the Obtain an d Releaee function generated by the idltool for the main interface are pure c. Like your posted code.

@LiveForIt

Learning ppc Sam is not my priority number one. But as you stated the risk for a race condition is really pretty low. And if smb ever comes to life, my opinion is that the os should take care that obtain/etc is protected by mutex/senphare/… so that 5he implementation does need to care care, resp. Doesn’t need to be update to work on updated oses.

Go to top


Re: GDB
Just popping in
Just popping in


@samo79

If you wanted to know, the gdb version from the latest public SDK, I
I think it something 4.x.y. So having anderer gbd is major leap forward.

When public beta test have passed, I even want to upgrade the port to the latest gbd version.

Go to top


Re: Creating an AmigaOS4 library
Just popping in
Just popping in


@Hypex

Quote:
I think any kind of busy waiting is inappropriate for AmigaOS but it's common elsewhere and on PPC, being RISC, it needs a spinlock for atomics. However, it is unlikely to be stuck in a loop, even for a few iterations.


I hate busy waiting too. I learned programming on the Amiga, and thus to avoid busy waiting/loops. I kept that habit all the years and on all platform, for which developed software.
But in this case I think wouldn't think of it as a busy loop, but it seems that's the way to make an atomic update on a ppc platform (as you said).
Even that it could run endless (in theory), the practically circumstances doesn't trigger the endless run.

I have another question regarding the vector tables for the Obtain/Release/Expunge/Clone methods. They are only needed to be provided in the manager
interface? I'm correct? The function interfaces like "main" don't need them? And in the functional interface sometimes they are left NULL (Expunge/Clone),
sometimes a dummy method (for Obtain/Release) is set which just returns 0. Must this be? Or can I just replace the dummy methods with NULL?

Go to top


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


@MartinW

It doesn't matter if you are beta tester or public user.

The binutils are develop only with stuff public accessible, because I'm not a beta tester in anything regarding amiga os4.

And the binutils binaries can be used with just what you got (public, beta, or home grown private stuff, which none else has )

Go to top


Re: Creating an AmigaOS4 library
Just popping in
Just popping in


@all

I wanted to make a library and found this thread, so I'm resurrecting it regarding my question(s):

The idltool writes dummy Quote:
_manager_Obtain
and Quote:
_manager_Release
function which contains embedded assembler. Personal I'm no fan of having asm code embedded in c/c++ code. So i lookup what the meaning of the asm code is.
Basically it is an atomic inc/der of the RefCount field.

So a little bit of google I found that at least gcc offers the Quote:
atomic_fecth_...
family of functions. So wouldn't it be possible to write the Quote:
_manager_Obtain
like this in pure C:

STATIC uint32 _manager_Obtain(struct LibraryManagerInterface *Self)
{
  
uint32 res atomic_fetch_add_explicit( &Self->Data.RefCount,1,memory_order_acquire );
  return 
res;
}


which generates the following assembler code for the function:

000001fc <_manager_Obtain>:
 
1fc:    39 23 00 14     addi    r9,r3,20
 200
:    7c 60 48 28     lwarx   r3,0,r9
 204
:    39 43 00 01     addi    r10,r3,1
 208
:    7d 40 49 2d     stwcx.  r10,0,r9
 20c
:    40 a2 ff f4     bne     200 <_manager_Obtain+0x4>
 
210:    4c 00 01 2c     isync
 214
:    4e 80 00 20     blr


Which looks pretty close to the version with embedded asm code:

000001dc <_manager_Obtain>:
 
1dc:    39 23 00 14     addi    r9,r3,20
 1e0
:    7c 60 48 28     lwarx   r3,0,r9
 1e4
:    30 63 00 01     addic   r3,r3,1
 1e8
:    7c 60 49 2d     stwcx.  r3,0,r9
 1ec
:    40 a2 ff f4     bne     1e0 <_manager_Obtain+0x4>
 
1f0:    4e 80 00 20     blr



Or do I miss something?

Go to top


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


@Raziel

I think it is quit stable. I tried to document the needed changes to have a working binutils for ppc-amigaos. The most adaption are of minor kind.
Where you might run into trouble is if you use baserel addressing mode. So if your project use that, please test binutils with your project and report back.

Go to top


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


@Hypex

Here my test for the binutils 2.40 (inkl typo ) Seems to work!?

Resized Image

Go to top


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


@Hypex

Quote:
Thanks for the link. Would this fix the elf32ppc emulation bug in current bintils? I'll download and test.


Never heard about that, but If you give me a test case, I will take it into account for during further development.

I don't know if the GUI of the gdb will work, but a major goal will be that the "-mii"? options work for local integration into IDEs/Editors/Wahtever and later on even the gdbserver.

Go to top


Re: GDB
Just popping in
Just popping in


@all

Some progress about gdb port can be found even in the binutils 2.40 thread

Go to top


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


@kas1e

Really cool session! Except for "info breakpoint" command, all commands used by you, are unknown for me. I'm glad that the work "out of the box".

My favorite command is "info target", pretty useless for debugging, but really helpful for porting gdb.

Go to top


Re: Sound over USB speakers
Just popping in
Just popping in


@mr2

But not yet public available or?

Go to top


Re: AmigaOne as a daily driver
Just popping in
Just popping in


@rjd324

Very nice! Waiting for your second post.

Go to top


Re: Tracing
Just popping in
Just popping in


@kas1e

I think I know why your Tracing crashes
In your CallHookPt you are Freeing the message after PutMsg, before the receiver had time to process it.

Go to top


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


@Raziel

Quote:
I need to recompile *all* used dependancies???


No, I just was wondering if you did.

Go to top


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


@Raziel

Did you even re compile all the used libraries, like libvpx.so ?

And if you start the program, do you get a GR, and if yes, can you give me the generated stacktrace?

Go to top


Re: x5000 benchmarks / speed up
Just popping in
Just popping in


@geennaam

Quote:
DCBA is actually still supported by the e5500 ( see e5500 rm). But, depending on a bit in the l1 cache control register,
it works on half or full cache lines. The new opcode e5500 dcbal opcode works always on full cachelines.
But again not recognized by gcc.


If the current gas does not support it, try the binutils v2.40 (betas) , at least in the code there is something about 'DCBA', maybe they work for you.

https://kas1e.mikendezign.com/aos4/bin ... _binutils_2.40_beta01.zip

Go to top


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


@flash

As a first report that sounds great. For the bigger files, I'm not sure where the root case for that is. If it is the ppc-amigaos specific changes, or general changes in binutils in the last years.

Go to top



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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project