Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
89 user(s) are online (65 user(s) are browsing Forums)

Members: 0
Guests: 89

more...

Support us!

Headlines

Forum Index


Board index » All Posts (rjd324)




Re: SDL2
Quite a regular
Quite a regular


Understandably not. I just wonder if you could make a v2.30.5-amigaos4 release with that fix?

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top


Re: A1222 Development Thread
Quite a regular
Quite a regular


@all
As a start, I have built a version of a cross-compiler and native-compiler; a pure GCC 6. There are no additional libraries right now.

Can someone test these. From there, I can add additional libraries. See post #1 for the links.

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top


Re: SDL2
Quite a regular
Quite a regular


Makes sense.

You merged that directly into the latest release?

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top


Re: SDL2
Quite a regular
Quite a regular


@Capehill
Thanks for quickly implementing something. Are you just stubbing out that function or are you planning on filling it in later? I ask wrt. commit https://github.com/AmigaPorts/SDL/comm ... 1e7d14451140fba6c4409d8b6

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top


Re: A1222 Development Thread
Quite a regular
Quite a regular


See: https://www.amigans.net/modules/newbb/ ... id=149822#forumpost149822. In this case, this is a successful demo where CLIB4 and SDL2 were not compiled with SPE flags at all.

It would be nice to good agreement or decisions as to whether or not
- we should be building C-libraries with the SPE flags in full, and whether
- we should be building SDL2 with SPE flags in full.

It would be nice to able to just do something like:
CFLAGS+=-mspe -mcpu=8540 -mfloat-gprs=double -mabi=spe

But as https://keasigmadelta.com/blog/taboriz ... imizing-for-the-e500-spe/ *bullet point 2* says, only critical code actually _using_ floats should be compiled with such flags in order to avoid the trashing of the ABI float parameters.

Presumably, we all need to be careful.

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top


Re: A1222 Development Thread
Quite a regular
Quite a regular


@IamSONIC
Yeah, I had a feeling that was the hack.

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top


Re: A1222 Development Thread
Quite a regular
Quite a regular


Binutils is slowly progressing, but I do not think it will be ready in.. say.. 2 or 3 months. I think that it realistically means still using Binutils 2.23.2 - at least GCC 6 is closer to that Binutils version that GCC 11.

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top


Re: A1222 Development Thread
Quite a regular
Quite a regular


@IamSONIC
The current native SDK compiler will not have any support for the clib4 value for the mcrt option. I am curious as to how you are bypassing it at all.

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top


Re: SDL2
Quite a regular
Quite a regular


@capehill
Have you come across a situation where an SDL2 game with cause a freeze if either DEFAULT or COMPOSITING is selected as the renderer, but will work if anything else is selected?

I am seeing that I need to not choose DEFAULT or COMPOSITING for the latest version of the Wolf port otherwise something goes wrong in SDL_SetTextureScaleMode() causing an ISI error.

I am not particularly interested in drilling down and debugging for hours so I would rather just bypass it. What is the best way to bypass it so that the user does not manually have to set the RENDER DRIVER in the SDL prefs app? Just invoke SDL_SetHint(). The issue with that is that I would need to set it back to the original value, which is fine, but if the program ends early then setting it back may not happen. It is not the cleanest thing. I could also immediately set it back after initialisation, but I am not sure if it should stay as the hacked value throughout the duration of the game.

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top


Re: SDL2
Quite a regular
Quite a regular


@capehill
wrt. batching: Looking at SDL_render.c, there are times where it can be set to FALSE. I guess there is no downside to just using the SDL prefs tool and forcing batching always?

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top


Re: A1222 Development Thread
Quite a regular
Quite a regular


@Hans
Right now, we are limited to GCC6.

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top


A1222 Development Thread
Quite a regular
Quite a regular


Calling on those working on developing for the A1222:

Is there anything currently holding you back?

I know that @Stefen.H was lacking an SPE compiled version of some thing that he would like.

Perhaps this thread can stick to A1222 development topics and requests for people. Over at our team (AmigaLabs: https://amigalabs.net/ || https://github.com/AmigaLabs) we can probably help if a specific build of a library or a specific cross compiler is required. Like anyone else - we have the ability to build a cross compiler and/or native compiler that is SPE ready. It would also be possible to bundle up a ready-to-go cross compiler/native compiler (gcc6 SPE) + compiled-with-SPE libraries.

Any issues right now?
Any requests?

=== FTP SDK ===
The following should contain a Linux cross compiler and compatible native compiler to be used on AmigaOne machines:
FTP: tellusregio.duckdns.org
PORT: 21
USER: ftp / ANONYMOUS login.
We also wait for the Docker image by @walkero.

See the file named "RJD_README.txt"

Right now, these are minimum compilers with no additional libraries.

=== Things that are not clear right now ===
- See https://www.amigans.net/modules/newbb/ ... id=149824#forumpost149824 (i.e. Whether or not building an entire project with SPE FLAGS is a good idea)

The following is a list of helpful links that I will keep up to date.
*** If you want to a link below, let me know in this thread or by private message. ***

=== Links ===
- https://keasigmadelta.com/blog/taboriz ... imizing-for-the-e500-spe/ (Hans de Ruiter)
- https://www.amigans.net/modules/newbb/ ... &order=ASC&status=&mode=0 (Eldee Stephens)


Edited by rjd324 on 2024/7/26 9:57:14
Edited by rjd324 on 2024/7/26 9:58:31
Edited by rjd324 on 2024/7/26 9:58:58
Edited by rjd324 on 2024/7/26 9:59:17
Edited by rjd324 on 2024/7/26 14:19:16
Edited by rjd324 on 2024/7/26 14:19:51
Edited by rjd324 on 2024/7/26 20:42:43
Edited by rjd324 on 2024/7/26 20:43:04
Edited by rjd324 on 2024/7/26 20:43:29
Edited by rjd324 on 2024/7/26 20:56:47
Edited by rjd324 on 2024/7/27 1:23:07
Edited by rjd324 on 2024/7/27 1:24:20
Edited by rjd324 on 2024/7/27 1:24:47
If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top


Re: SDL2
Quite a regular
Quite a regular


@all

Batch mode optimization... is this default or must it be programmed?

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top


Re: SDL2
Quite a regular
Quite a regular


@capehill

Do you expect any changes between this latest RC and the actual 2.30.4 release?

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top


Re: Moving Gaming on AmigaOS 4 to Old School Game Blog
Quite a regular
Quite a regular


@AmigaOldskooler

You busy with life? I didn't see a monthly update or am I too eager?

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top


Re: Sound issue with A1222?
Quite a regular
Quite a regular


@dfstudios
https://www.amigans.net/modules/newbb/ ... &order=ASC&status=&mode=0

I also found the Enhancer version to have problems. I appreciate what they do, but generally stick to the original tools if they are not broke.

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top


Re: Version 1/2 of application.library window
Quite a regular
Quite a regular


As well as the code above, I was linking with libauto.a which caused this issue. No longer linking with libauto.a.

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top


Version 1/2 of application.library window (SOLVED)
Quite a regular
Quite a regular


#ifdef __amigaos4__ /* disable the screenblanker! */
    
struct Library *ApplicationBase IExec->OpenLibrary((CONST_STRPTR)"application.library",52);
    
struct ApplicationIFace *IApplication NULL;
    if ( !
ApplicationBase )
      {
        
fprintf(stderr,"Failed to open application.library\n");
        
ret = -1;
        goto 
RJD_ENDER;
      }
    else
      {
        
IApplication = (struct ApplicationIFace*)IExec->GetInterface(ApplicationBase,(CONST_STRPTR)"application",2,NULL);
        if(!
IApplication)
          {
        
fprintf(stderr,"Expected to be able to open Application Interface!\n");
        
ret = -1;
        goto 
RJD_ENDER;
          }
      }

     
appId IApplication->RegisterApplication( (CONST_STRPTR)"Mednafen",
                              
REGAPP_URLIdentifier"none",
                              
REGAPP_Description"Mednafen",
                              
TAG_END);
    if( 
appId )
      {
        
IApplication->SetApplicationAttrs(appId,
                          
APPATTR_AllowsBlanker,FALSE,
                          
APPATTR_NeedsGameMode,TRUE,
                          
TAG_END);
      }
    else
      {
        
/* did not expect this! */
      
}
#endif /* __amigaos4__ */


When running a new build of Mednafen, I keep on getting the window popup with (paraphrasing): opened version 1 but used version 2 tags.

===

I created a small program that took only that code and built it and ran it with no issue.

===

Not sure why I get this message for Mednafen. Is IApplication _really_ somehow being given a version 1 interface!?


Edited by rjd324 on 2024/6/1 15:35:00
If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top


Re: AmiUpdate 2.50
Quite a regular
Quite a regular


When trying to update AmiSSL I see this in the log:

13:18:59 Starting update of 'AmiSSL-5.15-OS4.lha'

13:19:00     Error returned from downloading file 'AmiSSL-5.15-OS4.lha'Transfer failed


I have:
AmiUpdate 2.54 (18/02/2024)
Part of the AmiUpdate suite

update.library 53.20 (21/02/2024)

Servers selected:
www.amiupdate.net
update
.amigaos.net

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top


Re: SDL2
Quite a regular
Quite a regular


@capehill

Presumably SDL_DisableScreenSaver() has no effect on the AmigaOS4 system/port?

Looking at the source I cannot see anything that would be what I would expect; but then again, I may be expecting the wrong thing.

For some ports I am still using "application.library" to set AllowsBlanker/NeedsGameMode to FALSE/TRUE resp.

Thanks.

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top



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




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project