I have compiled two versions of the classic example on using the function ImageDraw() in Intuition: old from AmigaOS 3 and new for AmigaOS 4.
simpleimage.c work in AmigaOS 3:
but simpleimage.c don't work in AROS (AROS One and IcarOS)
simpleimage_os4.c work in AmigaOS 4:
I think I've already met this error 20 years ago, but then it was on a real amiga and it was about placing the image in the chip memory.
I went through all the memory type from exec/memory.h and didn't achieve the result..
Unfortunately, this prevents compilation of old good Workbench applications.
I would like to understand why this is happening. Source and executable files included.