Who's Online |
137 user(s) are online ( 69 user(s) are browsing Forums)
Members: 0
Guests: 137
more...
|
|
Headlines |
-
amidisas.tar.bz2 - development/utility
Apr 16, 2024
-
wildmidi.lha - audio/play
Apr 15, 2024
-
liba52.lha - development/library/audio
Apr 14, 2024
-
libcurl.lha - development/library/misc
Apr 14, 2024
-
libopenssl.lha - development/library/misc
Apr 14, 2024
-
bermudasyndrome.lha - game/action
Apr 14, 2024
-
amigagpt.lha - network/chat
Apr 14, 2024
-
curl.lha - network/misc
Apr 14, 2024
-
dgen_sdl.lha - emulation/gamesystem
Apr 12, 2024
-
amiarcadia.lha - emulation/gamesystem
Apr 11, 2024
|
|
|
|
Re: BSzili port requests
|
Posted on: 2022/7/20 17:10
#41
|
Quite a regular
|
Thanks for testing it. Keep in mind that this source code was public from the start, so I wouldn't bet on someone suddenly becoming interested in it, but you never know.
|
This is just like television, only you can see much further.
|
|
|
Re: BSzili port requests
|
Posted on: 2022/7/20 6:19
#42
|
Quite a regular
|
@Raziel I'm still doing 68k ports, but with a significantly lower output.
@walkero To be honest I have no idea. This was developed on OS4.1u6 with the original Warp3D/MiniGL combo. It's probably no longer be compatible with newer configurations.
@noXLar I lost interest in NG in general, not just OS4. There are multiple reasons for this, some related to the OS, some personal.
|
This is just like television, only you can see much further.
|
|
|
Re: BSzili port requests
|
Posted on: 2022/7/19 20:10
#43
|
Quite a regular
|
I can't argue about the thread's title, but alas I have retired from NG many years ago. I just found this old binary from 2018 on my site and decided to publish it. Maybe it still works and it will be useful to someone.
|
This is just like television, only you can see much further.
|
|
|
Re: BSzili port requests
|
Posted on: 2022/7/19 17:39
#44
|
Quite a regular
|
I did some cleanup on my site, and I found an unpublished OS4 binary for Arx Libertatis which was shelved due to performance issues. There's no harm in making it public now, but keep in mind that it's provided as is, without warranty or support. http://bszili.morphos.me/ports/arx-os4.lhaIn case someone is looking for the sources, my fork is available here: https://github.com/BSzili/ArxLibertatis/tree/amiga
|
This is just like television, only you can see much further.
|
|
|
Re: Why call to or any "empty" functions can cause different results of the code in which you insert it?
|
Posted on: 2022/3/4 6:59
#45
|
Quite a regular
|
@kas1e For example something like:
static int linenum = 0;
static SDL_bool CompileShaderProgram(ShaderData *data)
{
(...)
if (!something)
{
linenum = __LINE__;
return SDL_FALSE;
}
(...)
linenum = __LINE__;
return stuff ? SDL_TRUE : SDL_FALSE;
}
static SDL_bool InitShaders()
{
(...)
if (!CompileShaderProgram(...))
{
printf("failed at line %d\n", linenum);
}
}
Basically you add a linenum = __LINE__; before return statements to track where it returned.
|
|
|
|
Re: Why call to or any "empty" functions can cause different results of the code in which you insert it?
|
Posted on: 2022/3/3 7:46
#46
|
Quite a regular
|
@kas1e Yeah, it's probably not a compiler issue, but likely related to something going in inside the opengl library. Did you try adding a global variable for CompileShaderProgram? Just set it to __LINE__ before every return, and print it in InitShaders. This way you'll have a better idea of which point it fails.
|
|
|
|
Re: Why call to or any "empty" functions can cause different results of the code in which you insert it?
|
Posted on: 2022/3/2 17:23
#47
|
Quite a regular
|
@kas1e I don't necessarily mean printfs, but for example commenting out returns or setting a variable to the line number that you print later.
|
|
|
|
Re: Why call to or any "empty" functions can cause different results of the code in which you insert it?
|
Posted on: 2022/3/2 16:42
#48
|
Quite a regular
|
@kas1e Aha, so you had to introduce a small delay before compiling the shaders, I was completely off the mark. Is this is the program in question? https://fossies.org/linux/SDL2/test/testshader.cIn this case it would be good to know at which point CompileShaderProgram returns FALSE.
|
|
|
|
Re: Why "prinfs" or any functiosn can cause different results of the code blocks ?
|
Posted on: 2022/3/2 10:53
#49
|
Quite a regular
|
This can be a sign of the optimizer doing something funny. Try to compile this file with -O0, or if the compiler supports it add __attribute__((optimize("O0"))) to the affected function. If that fixes the problem you can either leave that function unoptimized, or you can try to make problematic variables "volatile".
|
|
|
|
Re: Is anyone have readdir_r() implementation for aos4 ?
|
Posted on: 2021/12/5 16:02
#50
|
Quite a regular
|
@trgswe I stand corrected, it's from Chromium. It still works in most cases if you have readdir.
|
This is just like television, only you can see much further.
|
|
|
Re: EasyRPG Player
|
Posted on: 2021/12/4 12:08
#51
|
Quite a regular
|
Ah, I see. The player only uses the C library for file I/O, so it's hard to guess which function allocates some system object down the line. The leak could also affect other platforms, so hopefully it'll be fixed in 0.7.1.
|
This is just like television, only you can see much further.
|
|
|
Re: Is anyone have readdir_r() implementation for aos4 ?
|
Posted on: 2021/12/4 12:05
#52
|
Quite a regular
|
You can just do this:
int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result)
{
*result = readdir (dirp);
return *result != NULL ? 0 : -1;
}
This is taken from glibc: https://chromium.googlesource.com/chro ... 961001/dirent/readdir_r.c
|
This is just like television, only you can see much further.
|
|
|
Re: EasyRPG Player
|
Posted on: 2021/12/2 19:54
#53
|
Quite a regular
|
@broadblues That makes sense, but I'm still none the wiser why RunCommand appeared in the Player, which AFAIK doesn't start any other executables. All I did way replacing the pixman library with the static version, and backported a fix to the filesystem code.
|
This is just like television, only you can see much further.
|
|
|
Re: EasyRPG Player
|
Posted on: 2021/11/30 19:25
#54
|
Quite a regular
|
Same here, but I have no idea where it's coming from. The Player never used RunCommand, and I certainly didn't add it now either.
|
This is just like television, only you can see much further.
|
|
|
Re: EasyRPG Player
|
Posted on: 2021/11/29 17:49
#55
|
Quite a regular
|
I applied the ZIP fix from upstream, and replaced pixman with the static library and uploaded a new archive.
|
This is just like television, only you can see much further.
|
|
|
Re: EasyRPG Player
|
Posted on: 2021/11/16 20:38
#56
|
Quite a regular
|
I think BeWorld fixed some issue with ZIP files, I'll check it later.
|
This is just like television, only you can see much further.
|
|
|
Re: EasyRPG Player
|
Posted on: 2021/11/16 15:02
#57
|
Quite a regular
|
It didn't even occur to me that he could be missing the library, since the Player worked sometimes. I never though libraries can phase in an out of existence, but I guess only Amiga makes it possible *shrug*
edit: For the next version I'll check if I can link a static version of pixman to the executable to avoid confusion. It looks like shared libraries work in mysterious ways.
Edited by BSzili on 2021/11/16 15:33:59
|
This is just like television, only you can see much further.
|
|
|
Re: EasyRPG Player
|
Posted on: 2021/11/15 14:26
#58
|
Quite a regular
|
That's too bad indeed. If the library auto init stub is broken on your system, then it's not very likely a new version will fix anything, as it's not part of the Player but the library's SDK. We'll see.
|
This is just like television, only you can see much further.
|
|
|
Re: EasyRPG Player
|
Posted on: 2021/11/14 19:42
#59
|
Quite a regular
|
Probably, but as the comment says it's quick & dirty code. It does the job well enough to have the Player run at full speed even in WinUAE. If someone makes a measurably faster version I'm happy to merge it, I just didn't see the point of spending more time on it.
|
This is just like television, only you can see much further.
|
|
|
Re: EasyRPG Player
|
Posted on: 2021/11/14 14:18
#60
|
Quite a regular
|
I mean there's not a lot to it, for every pixel from the source surface you write two in the destination surface, and you write lines twice. This is how it looks in the EasyRPG Player: https://github.com/EasyRPG/Player/blob/master/src/sdl_ui.cpp#L396edit: Feel free to send me any programs.
Edited by BSzili on 2021/11/14 15:01:07
|
This is just like television, only you can see much further.
|
|
|