Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
133 user(s) are online (77 user(s) are browsing Forums)

Members: 0
Guests: 133

more...

Headlines

Forum Index


Board index » All Posts (FlynnTheAvatar)




Re: What's the best/latest EUAE build for OS4?
Just popping in
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)
    
(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.

Go to top


Re: What's the best/latest EUAE build for OS4?
Just popping in
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 -'s/SIZEOF_CHAR [0-9]/SIZEOF_CHAR 1/' src/sysconfig.h
sed 
-'s/SIZEOF_CHAR [0-9]/SIZEOF_CHAR 1/' src/tools/sysconfig.h
sed 
-'s/SIZEOF_CHAR [0-9]/SIZEOF_CHAR 1/' src/include/config.h

sed 
-'s/SIZEOF_SHORT [0-9]/SIZEOF_SHORT 2/' src/sysconfig.h
sed 
-'s/SIZEOF_SHORT [0-9]/SIZEOF_SHORT 2/' src/tools/sysconfig.h
sed 
-'s/SIZEOF_SHORT [0-9]/SIZEOF_SHORT 2/' src/include/config.h

sed 
-'s/SIZEOF_INT [0-9]/SIZEOF_INT 4/' src/sysconfig.h
sed 
-'s/SIZEOF_INT [0-9]/SIZEOF_INT 4/' src/tools/sysconfig.h
sed 
-'s/SIZEOF_INT [0-9]/SIZEOF_INT 4/' src/include/config.h

sed 
-'s/SIZEOF_LONG [0-9]/SIZEOF_LONG 4/' src/sysconfig.h
sed 
-'s/SIZEOF_LONG [0-9]/SIZEOF_LONG 4/' src/tools/sysconfig.h
sed 
-'s/SIZEOF_LONG [0-9]/SIZEOF_LONG 4/' src/include/config.h

sed 
-'s/SIZEOF_LONG_LONG [0-9]/SIZEOF_LONG_LONG 8/' src/sysconfig.h
sed 
-'s/SIZEOF_LONG_LONG [0-9]/SIZEOF_LONG_LONG 8/' src/tools/sysconfig.h
sed 
-'s/SIZEOF_LONG_LONG [0-9]/SIZEOF_LONG_LONG 8/' src/include/config.h

sed 
-'s/SIZEOF_VOID_P [0-9]/SIZEOF_VOID_P 4/' src/sysconfig.h
sed 
-'s/SIZEOF_VOID_P [0-9]/SIZEOF_VOID_P 4/' src/tools/sysconfig.h
sed 
-'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.

Go to top


Re: The RAD (And logging serial output techniques)
Just popping in
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.

Go to top


Re: The RAD
Just popping in
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.

Go to top


Re: The RAD
Just popping in
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.

Go to top


Re: Gnu Make drops AmigaOS support
Just popping in
Just popping in


No, I am telling you I cannot make a make that can make a make.

Go to top


Re: Gnu Make drops AmigaOS support
Just popping in
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.

Go to top


Re: Gnu Make drops AmigaOS support
Just popping in
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 
(C1988-2022 Free Software FoundationInc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free softwareyou are free to change and redistribute it.
There is NO WARRANTYto the extent permitted by law.

Go to top


Re: Gnu Make drops AmigaOS support
Just popping in
Just popping in


This my current state: https://github.com/josefwegner/make/tree/amigaos

It 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.

Go to top


Re: Gnu Make drops AmigaOS support
Just popping in
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.

Go to top


Re: Gnu Make drops AmigaOS support
Just popping in
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.

Go to top


Re: Gnu Make drops AmigaOS support
Just popping in
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).

Go to top


Re: Gnu Make drops AmigaOS support
Just popping in
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.-MD -MP -MF $depbase.Tpo --o src/function.o src/function.&&\
    mv 
-f $depbase.Tpo $depbase.Po
src
/function.cIn function 'func_shell_base':
src/function.c:2040:3error'command_argv' undeclared (first use in this function)
 
2040 |   command_argv construct_command_argv (argv[0], NULLNULL0,
      |   ^~~~~~~~~~~~
src/function.c:2040:3noteeach undeclared identifier is reported only once for each function it appears in
src
/function.c:2068:3warningimplicit declaration of function 'Execute'did you mean 'MyExecute'? [-Wimplicit-function-declaration]
 
2068 |   Execute (bufferNULLchild_stdout);
      |   ^~~~~~~
      |   
MyExecute
gmake
[1]: *** [src/function.oError 1
gmake
[1]: Leaving directory `/RAM Disk/Shared/Sources/make-4.4'
gmake: *** [all-recursive] Error 1

Go to top


Re: Gnu Make drops AmigaOS support
Just popping in
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,+678,@@
 
# 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.

Go to top



TopTop
« 1 2 3 (4)




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project