![]() |
There is a reference to AslBase in libauto.a under the MorphOS host but adding -lauto doesn't seem to help.
|
Quote:
Are you sure -noixemul is defined? I suppose you used ppc-amigaos configuration in the makefile, which is missing that. |
Yeah I've set -noixemul, to no effect.
I transferred everything over to the A4000 in case somehow it was grabbing things from the Morphos osinclude or something, it's basically the same. Here's where I'm at now: Code:
AslRequester.o(.text+0x3f4): undefined reference to `AllocAslRequestTags(unsigned long, unsigned long,...)' Also this is what I changed which has not been cleaned up yet: Code:
#include "AslRequester.h" |
Quote:
|
You can't use 68k libs as the PPC can't jump to 68k code directly. Can't use MorphOS libs due to ABI and API differences.
You have a correct proto/asl.h for WarpOS? Steve House |
Quote:
Ok Steve fixed it. struct AslIFace *IAsl =; struct Library *AslBase = NULL; Assuming because we don't have libauto this was necessary. Now just some missing functions which I'll try to piece together tonight which are: expf cosf sinf |
Ok... so it compiled. I do not agree with the color choices in your program. :p
https://i.imgur.com/mxZihrt.png |
Looks correct on a BE screen. Doesn't seem to want to go fullscreen. I guess it's using the SDL audio driver instead of the AHI one, not sure which would be better. Sound is kinda bad. Looks like it's using 16-bit audio by default. File requester doesn't work when I hit open it says failed to allocate file requestor.
|
Quote:
You need to change audio settings in the program under config. It by default tries to play 48.000Hz playback and minimal buffer. Changing it to 44.100Hz should probably make it better. The file requester is Asl, which is part of AmigaOS api, so you did not fix that part. :P Atleast it's getting closer to working as it should. At the moment it's hardcoded to run in 16bit graphics mode, which could be the reason for the weird graphics. You can change that inside src/tracker/sdl-1.2/CGX_main.cpp in the main function. |
Hmm, I'm curious if I could use the MorphOS cross-toolchain to build WarpOS binaries. Like if I get the proper includes and libs for WarpOS, wouldn't it technically work? Or does the compiler itself do some 68k-PPC mixing when compiling? Maybe worth a try? :)
|
See gcc-wos4mos on Aminet.
Quote:
|
Quote:
|
Quote:
If I force a BE screenmode the colors are correct. As Hedeon says below, get his package from Aminet and drop it in gg: Add -warpup to CFLAGS and LDFLAGS and that's pretty much it. |
Quote:
Have you tried compiling this for WarpOS?: https://github.com/AmigaPorts/libSDL12 It's SDL-1.2.15 for Amiga platforms. I'm going to mess with Hedeon's package and see if I can set up a Linux cross-compiler with it. |
Quote:
|
Quote:
|
Quote:
Elf2exe2 needs warpcollect to convert output of gcc to input for elf2exe2. Maybe elf2hunk doesn't need that and can be called directly. Anyway, see specs file. Too bad they removed that functionality with gcc 4.6 I think. |
Quote:
I found this here: Quote:
Code:
[marlon@hastur]:~/tmp/MilkyTracker/morphos-cross-toolchain$ ppc-morphos-gcc -v |
So, yeah, specs files still work:
Code:
[marlon@hastur]:~/tmp/MilkyTracker/morphos-cross-toolchain/WarpOS$ ppc-morphos-gcc -v -warpup test.cpp |
Elf2exe2 usage:
./elf2exe2 file.elf file.hunk Exactly the same way elf2hunk works. So it should work just the same with warpcollect. |
All times are GMT +2. The time now is 14:18. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.