Who's Online |
133 user(s) are online ( 77 user(s) are browsing Forums)
Members: 0
Guests: 133
more...
|
|
Headlines |
-
snes9x.zip - emulation/gamesystem
Apr 29, 2024
-
hle-pokercard.lha - game/card
Apr 29, 2024
-
mce.lha - game/utility
Apr 29, 2024
-
amiarcadia.lha - emulation/gamesystem
Apr 28, 2024
-
ifarchive_dl.lha - utility/script
Apr 28, 2024
-
kt_scripts.lha - utility/script
Apr 28, 2024
-
stream.lha - utility/benchmark
Apr 27, 2024
-
thumbnailmaker.lha - video/misc
Apr 26, 2024
-
theme_list.lha - utility/misc
Apr 23, 2024
-
faac.lha - audio/convert
Apr 22, 2024
|
|
|
|
Re: What's the best/latest EUAE build for OS4?
|
Posted on: 2022/12/18 10:25
#61
|
Just popping in
|
Magnificent work! I did some smaller tests, and the AmiGFX version seems to be much faster than SDL. For example, opening the text editor in StormC4 takes several seconds on SDL, while it is instantaneous on AmiGFX. There are two smaller issues with hosting directories as drives that might be worth looking into: - Mounting the root directory of a host drive (e.g. RAM:) duplicates the entries when running "dir" on the guest. For example, I mount the host RAM: as Shared: in AmigaOS 3.2:
Workbench: > cd Shared:
Shared: > dir
T (dir)
Disk.info
Shared: > dir
T (dir)
T (dir)
Disk.info Disk.info
- Setting the "s", "p" or "h" permission on a file will create a _UAEFSDB.___ file with the permissions. But on AmigaOS4, you could just set the permissions directly.
|
|
|
|
Re: What's the best/latest EUAE build for OS4?
|
Posted on: 2022/12/11 14:02
#62
|
Just popping in
|
There are a couple of issues with the configure tests. To fix the issues with the wrong sizes, I use the following:
sed -i 's/SIZEOF_CHAR [0-9]/SIZEOF_CHAR 1/' src/sysconfig.h
sed -i 's/SIZEOF_CHAR [0-9]/SIZEOF_CHAR 1/' src/tools/sysconfig.h
sed -i 's/SIZEOF_CHAR [0-9]/SIZEOF_CHAR 1/' src/include/config.h
sed -i 's/SIZEOF_SHORT [0-9]/SIZEOF_SHORT 2/' src/sysconfig.h
sed -i 's/SIZEOF_SHORT [0-9]/SIZEOF_SHORT 2/' src/tools/sysconfig.h
sed -i 's/SIZEOF_SHORT [0-9]/SIZEOF_SHORT 2/' src/include/config.h
sed -i 's/SIZEOF_INT [0-9]/SIZEOF_INT 4/' src/sysconfig.h
sed -i 's/SIZEOF_INT [0-9]/SIZEOF_INT 4/' src/tools/sysconfig.h
sed -i 's/SIZEOF_INT [0-9]/SIZEOF_INT 4/' src/include/config.h
sed -i 's/SIZEOF_LONG [0-9]/SIZEOF_LONG 4/' src/sysconfig.h
sed -i 's/SIZEOF_LONG [0-9]/SIZEOF_LONG 4/' src/tools/sysconfig.h
sed -i 's/SIZEOF_LONG [0-9]/SIZEOF_LONG 4/' src/include/config.h
sed -i 's/SIZEOF_LONG_LONG [0-9]/SIZEOF_LONG_LONG 8/' src/sysconfig.h
sed -i 's/SIZEOF_LONG_LONG [0-9]/SIZEOF_LONG_LONG 8/' src/tools/sysconfig.h
sed -i 's/SIZEOF_LONG_LONG [0-9]/SIZEOF_LONG_LONG 8/' src/include/config.h
sed -i 's/SIZEOF_VOID_P [0-9]/SIZEOF_VOID_P 4/' src/sysconfig.h
sed -i 's/SIZEOF_VOID_P [0-9]/SIZEOF_VOID_P 4/' src/tools/sysconfig.h
sed -i 's/SIZEOF_VOID_P [0-9]/SIZEOF_VOID_P 4/' src/include/config.h
I made some smaller fixes to the e-uae codebase (#-key under SDL, fix for setting timestamps on mounts) at https://github.com/salass00/e-uae.
|
|
|
|
Re: The RAD (And logging serial output techniques)
|
Posted on: 2022/12/8 13:40
#63
|
Just popping in
|
When I am thinking about it, you could use ssh2-handler or SMBFS to store your logs on a different PC or NAS. That will prevent corrupting your local filesystems if the system freezes.
|
|
|
|
Re: The RAD
|
Posted on: 2022/12/8 13:38
#64
|
Just popping in
|
The best way is to use a second PC/laptop.
But I understand that most people do not have additional hardware or space for that.
|
|
|
|
Re: The RAD
|
Posted on: 2022/12/8 13:34
#65
|
Just popping in
|
I am using an X5000 with RadeonHD 3.7, and for me the RAD never survived a (warm) reboot.
And yes, with warm reboot I mean CRTL+WIN+WIN, or the "reboot fast" cli command, or using "Restart AmigaOS" of the Shutdown option in the menu.
|
|
|
|
Re: Gnu Make drops AmigaOS support
|
Posted on: 2022/11/6 13:33
#66
|
Just popping in
|
No, I am telling you I cannot make a make that can make a make.
|
|
|
|
Re: Gnu Make drops AmigaOS support
|
Posted on: 2022/11/5 15:55
#67
|
Just popping in
|
Sorry, not yet. After aligning the FileInfoBlock to longword boundry, the version started to show signs of life. Still not much yet:
- It does not use the file Makefile by default, you have to use -f Makefile - The implicit rules are behaving weird.
I did not manage to execute a Makefile fully. make clean seem to work, but nothing much more.
|
|
|
|
Re: Gnu Make drops AmigaOS support
|
Posted on: 2022/11/5 12:50
#68
|
Just popping in
|
That would be great. This is the only thing that it does at the moment:
4. > RAM Disk:Shared/Sources/RKM_Libraries/Chapter1 > Work:Projects/make
make: *** No targets specified and no makefile found. Stop.
4. > RAM Disk:Shared/Sources/RKM_Libraries/Chapter1 > Work:Projects/make -f Makefile
make: *** No rule to make target 'easy', needed by 'all'. Stop.
4. > RAM Disk:Shared/Sources/RKM_Libraries/Chapter1 > dir
easy.c easy.c.info easy.s easy.s.info lmkfile lmkfile.info Makefile Makefile.vbcc
4. > RAM Disk:Shared/Sources/RKM_Libraries/Chapter1 > Work:Projects/make -v
GNU Make 4.4
Built for powerpc-unknown-amigaos
Copyright (C) 1988-2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
|
|
|
|
Re: Gnu Make drops AmigaOS support
|
Posted on: 2022/11/5 9:50
#69
|
Just popping in
|
This my current state: https://github.com/josefwegner/make/tree/amigaosIt needs hacking the Makefile to compile and link amiga.c. I will work on this issue later. Maybe we can get it to work without running configure. This would also allow me to build it with SAS/C. Although it compiles, it does not do much yet. Most likely we need to rewrite the Amiga specific parts in src/amiga.c to use the new AmigaOS 4.x methods.
|
|
|
|
Re: Gnu Make drops AmigaOS support
|
Posted on: 2022/11/5 9:01
#70
|
Just popping in
|
I guess you are talking about Bartman's excellent Visual Studio plugin. Yes, it contains make, gcc and gdb, but they are not native versions, but run on Linux, Mac, or Windows.
We are talking about a native make version; one you can run on your Classic or NG Amiga.
|
|
|
|
Re: Gnu Make drops AmigaOS support
|
Posted on: 2022/11/4 18:41
#71
|
Just popping in
|
@walkero:
I guess the first decision is if we want to keep support for AmigaOS < 4.0 (= classic AmigaOS).
Trying to keep AmigaOS 3.x compatible, I do not see a lot of needed changes to the code.
But if you want to scrap support for older OS versions, we might want to rewrite major parts to be closer to the other OSes. But in this case I am not in a position to help as I lack inside in major parts of AmigaOS 4.x inner workings.
|
|
|
|
Re: Gnu Make drops AmigaOS support
|
Posted on: 2022/11/4 17:01
#72
|
Just popping in
|
Well, a bit. Do not expect wonders, though. Right now I hit the limits of my knowledge. Make is doing something strange with replacing functions with defines. GCC really does not like this. Has anybody any idea how I have to update these to make them working?
#if defined(VMS) || defined(_AMIGA) || defined(__MSDOS__)
#define check_io_state() (IO_STDIN_OK|IO_STDOUT_OK|IO_STDERR_OK)
#define fd_inherit(_i) (0)
#define fd_noinherit(_i) (0)
#define fd_set_append(_i) (void)(0)
#define os_anontmp() (-1)
#else
It defenitly does not like the first set of brackets (the one of the function).
|
|
|
|
Re: Gnu Make drops AmigaOS support
|
Posted on: 2022/11/4 15:44
#73
|
Just popping in
|
Okay, and the next issue is that make assumes that Amiga compilers define _AMIGA instead of __AMIGA (not the two underscores). Use this configure command to activate the Amiga parts in code (executed in abc-shell):
> CFLAGS="-D_AMIGA -D__USE_INLINE__" ./configure
This fails later, though:
gcc -DHAVE_CONFIG_H -Isrc -I./src -Ilib -I./lib -DLIBDIR=\"/usr/local/lib\" -DLOCALEDIR=\"/usr/local/share/locale\" -D_AMIGA -D__USE_INLINE__ -MT src/function.o -MD -MP -MF $depbase.Tpo -c -o src/function.o src/function.c &&\
mv -f $depbase.Tpo $depbase.Po
src/function.c: In function 'func_shell_base':
src/function.c:2040:3: error: 'command_argv' undeclared (first use in this function)
2040 | command_argv = construct_command_argv (argv[0], NULL, NULL, 0,
| ^~~~~~~~~~~~
src/function.c:2040:3: note: each undeclared identifier is reported only once for each function it appears in
src/function.c:2068:3: warning: implicit declaration of function 'Execute'; did you mean 'MyExecute'? [-Wimplicit-function-declaration]
2068 | Execute (buffer, NULL, child_stdout);
| ^~~~~~~
| MyExecute
gmake[1]: *** [src/function.o] Error 1
gmake[1]: Leaving directory `/RAM Disk/Shared/Sources/make-4.4'
gmake: *** [all-recursive] Error 1
|
|
|
|
Re: Gnu Make drops AmigaOS support
|
Posted on: 2022/11/4 15:26
#74
|
Just popping in
|
@Raziel This patch should fix your problem:
--- make-4.4/src/makeint.h 2022-10-24 07:22:00
+++ /ram/makeint.h 2022-11-04 16:21:34
@@ -678,7 +678,7 @@
# endif
# ifdef HAVE_GETCWD
-# if !defined(VMS) && !defined(__DECC)
+# if !defined(VMS) && !defined(__DECC) && !defined(__AMIGA)
char *getcwd (void);
# endif
# else
The bigger issue is that pipe, (v)fork and some other functions are missing. Still looking into that.
|
|
|
|