Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
218 user(s) are online (152 user(s) are browsing Forums)

Members: 1
Guests: 217

flash, more...

Headlines

Forum Index


Board index » All Posts (afxgroup)




Re: ScummVM and AmigaOS4.1 F.E.
Amigans Defender
Amigans Defender


Try it:

https://www.amigasoft.net/temp/scummvm_clib4.lha

Before running it copy clib4.library to LIBS:

i'm really tired...
Go to top


Re: ScummVM and AmigaOS4.1 F.E.
Amigans Defender
Amigans Defender


Almost fixed 30fps on Sam460 and however never less than 27-28 only on location transition the fps are around 15

However i've noticed that there is an error on shutdown. failed assertion "bd != nullptr && "No renderer backend to shutdown, or already shutdown?""
on backends/imgui/backends/imgui_impl_opengl3_scummv.cpp:378

Edit2:
yes.. the version on os4depot is really slow.. also on Sam460. But are you sure it is working OpenGL? I've used OpenGL in graphics setup just to be sure but no difference.. it is really slow

i'm really tired...
Go to top


Re: ScummVM and AmigaOS4.1 F.E.
Amigans Defender
Amigans Defender


The problem is that I don't have these games..
I've tried Gemini Rue and with rain i get 20/40fps, in the other parts 40/40fps
Let me find the other games

i'm really tired...
Go to top


Re: ScummVM and AmigaOS4.1 F.E.
Amigans Defender
Amigans Defender


Everything is compiled except 3 engines since I have to compile some libraries first. I was trying to load strangeland to test the game but scummvm says it isn't compatible and to report the game. Now i'm trying to test some other games

Just tried:
Gabriel Knight the beast within and it plays smooth (also the video)
Riven 2 and plays smooth

If you tell me which games I could try it is better


Edited by afxgroup on 2024/3/21 11:09:05
Edited by afxgroup on 2024/3/21 11:22:24
i'm really tired...
Go to top


Re: ScummVM and AmigaOS4.1 F.E.
Amigans Defender
Amigans Defender


with -flto i can't link at all and I have to remove it
Now i'm compiling all plugins and there are something to change (just few things) but they doesn't seems related to CLIB, just some problems in plugins

i'm really tired...
Go to top


Re: ScummVM and AmigaOS4.1 F.E.
Amigans Defender
Amigans Defender


Just compiled ScummVM with clib4 and SDL2_GL4ES

Resized Image

i'm really tired...
Go to top


Re: Raylib v4.5.0
Amigans Defender
Amigans Defender


First of all it needs glfw (https://github.com/afxgroup/glfw) so you have to compile it first. Then you can comile glfw. Theoretically no particular clib is needed since most of the code is from OS4 SDK. However in my tests i've always used clib4

i'm really tired...
Go to top


Re: Raylib v4.5.0
Amigans Defender
Amigans Defender



i'm really tired...
Go to top


Re: Astromenace - AmigaOne X5K Game - Amiga OS 4.1
Amigans Defender
Amigans Defender


@sailor

My A1 (you know it..) has played that game years ago.. I compiled it but never released in the past because it was too slow..

i'm really tired...
Go to top


Re: What the fastest possible x64 emulation way of OS4 today ?
Amigans Defender
Amigans Defender


@balaton

I've installed Fedora 12 ppc under windows and I've tried gcc with -pg and gprof and everything is working correctly.
But as I told you, I don't know how it works under linux. If it is using a timer, an interrupt or something else. I can only say that on linux (using windows) it is working.

i'm really tired...
Go to top


Re: What the fastest possible x64 emulation way of OS4 today ?
Amigans Defender
Amigans Defender


@balaton

I've just tried Fedora 12 with qemu ppc and profiling is working correctly. I don't know how it works on linux the profiling but at least the CPU should be configured correctly.
So most probably is something related to interrupts

i'm really tired...
Go to top


Re: What the fastest possible x64 emulation way of OS4 today ?
Amigans Defender
Amigans Defender


@balaton

I don't know the internal details because I don't have access to the kernel source code. I can only try to explain to you how the code is working now:

https://github.com/afxgroup/clib2/blob ... /library/profile/profil.c

On line 110 you have:
IPM->SetInterruptVector(1, &CounterInt);

That is enabling that interrupt (CounterInt is an Interrupt) and that should call CounterIntFn function.
But while on a real pegasos2 that function is called, on qemu is never called. So I suppose that interrupt is never enabled

If you tell me how, I could try to "grep" something useful for you.

i'm really tired...
Go to top


Re: What the fastest possible x64 emulation way of OS4 today ?
Amigans Defender
Amigans Defender


On real peg2 everything is working correctly. It seems that an interrupt is never called and so profiling doesn't work correctly. Or better. Time is always zero. While function count is working correctly. I don't know if you need more informations. However I don't know how performance monitor works internally and which registers are used. But I'm almost sure that interrupt is never executed

i'm really tired...
Go to top


Re: What the fastest possible x64 emulation way of OS4 today ?
Amigans Defender
Amigans Defender


I've tried to use gprof with newlib under qemu and pegasos2. But while functions are shown the time is always 0.00. Of course i've used the -Ttext=0x00000000 to compile the exe file to avoid the problem we have on OS4.
Is it possible to use profiling under qemu? Do I have to use specific flag? I've also tried 7447 and apollo7 cpu but with same result

i'm really tired...
Go to top


Re: gcc 9 and 10
Amigans Defender
Amigans Defender



i'm really tired...
Go to top


Re: gcc 9 and 10
Amigans Defender
Amigans Defender


@joerg

newlib doesn't use the same clib2 mechanism for constructors. newlib doesn't have CONSTRUCTOR defines that clib2 (original too) has. If you try to change the clib2 crtbegin/end files trying to change .ctors/.dtors to ~0/1 nothing will work with current gcc (don't know the ancient version of 20 years ago). If you think that this can be fixed of course feel free to send a pull request
That's the beauty of open source

@LiveForIt

Libraries are always closed correctly inside clib2 function that call main because exit will jump into longjmp that will call the routine that will close the libraries, call the destructors and so on.
Why setup and use pr_ExitCode and pr_FinalCode?
I'll fix the closing routine that will set the pointers to NULL.

i'm really tired...
Go to top


Re: Raylib v4.5.0
Amigans Defender
Amigans Defender


Of course. But who is paying in Amiga Land? Should be better to release sources so any other developer can learn something? We are a small community. Closing the sources is the worst thing can happen

i'm really tired...
Go to top


Re: Raylib v4.5.0
Amigans Defender
Amigans Defender


Closed source software is less frequent nowadays. Except maybe for games. That however doesn't have this problem because almost all of them is created through external platforms. I know that on Amiga platform the people think that closed source is still the best solution. But fortunately 99.9% of the world doesn't. And if wasn't for newlib, owb and all other libraries most probably we where stuck on a closed source browser with iff support and nothing else... Same for morphos an all other minor platforms. Android included..

i'm really tired...
Go to top


Re: Raylib v4.5.0
Amigans Defender
Amigans Defender


I think that new clib2 has really few bugs compared the current newlib. The only part that is slower (not bugged) it is the I/O because the way was originally written. I've made hundreds of tests against Linux for old and new functions and at moment no bugs are popped out. Not speaking about the cleaning. Linux code (newlib one) is a mess. Clib2 code is way better than that.
Not only, but the most important thing, is that if a bug is found anyone can fix it. And of course this isn't valid for any OS4 version of newlib. Past, present and most probably future.

i'm really tired...
Go to top


Re: Is gprof ever works on os4 ? It is! And can be still!
Amigans Defender
Amigans Defender


Do hieronimous use performance.monitor? I remember it was using sampling in the past

i'm really tired...
Go to top



TopTop
« 1 (2) 3 4 5 ... 54 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project