09 November 2017, 02:45 | #101 |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
ok, thanks. I'll start with libogg 1.3.3 and libvorbis 1.3.5
#1) my standard ./configure went ok: Code:
CC=m68k-amigaos-gcc.exe CFLAGS="-DNDEBUG -noixemul" \ ./configure --host=m68k-amigaos --disable-shared Code:
bitwise.c: In function ‘cliptest’: bitwise.c:583:1: internal compiler error: Segmentation fault } ^ bitwise.c:583:1: internal compiler error: Aborted m68k-amigaos-gcc: internal compiler error: Aborted (program cc1) I have to rebuild the whole 6.x gcc i guess. |
09 November 2017, 03:02 | #102 | |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,910
|
Quote:
|
|
09 November 2017, 17:27 | #103 |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
we can skip this, since Novacoder already build them:
SDL_AGA.zip for 68k amigaos: Code:
support_libs/vorbis/libogg.a support_libs/vorbis/libvorbis.a support_libs/vorbis/libvorbisenc.a support_libs/vorbis/libvorbisfile.a |
10 November 2017, 09:50 | #104 |
Semi-Retired
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 2,002
|
|
11 November 2017, 00:03 | #105 |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,910
|
Just an update on stuff.
ScummVM Wos 0.11.1 semi-works with a number of issues: -Scumm engine doesn't work which would be the bulk of games supported -Broken Sword 1 works at 640x480 but Wave speech has a hiss to it, I think this is some kind of endian issue. Music sounds fine though. Otherwise speed is good. -Elvira runs at a good speed with music -Gobliiins engine is included but I haven't tested that In light of these issues and probably others I don't think it's worthy of release. Working on libmodplug which if that works I might have something else pretty soon. |
11 November 2017, 23:18 | #106 |
Registered User
Join Date: Jan 2007
Location: near Vienna/Austria
Posts: 389
|
Today I've tested your Exult port - works flawless. Thanks for that.
|
12 November 2017, 00:39 | #107 |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,910
|
|
12 November 2017, 00:43 | #108 |
Registered User
Join Date: Jan 2007
Location: near Vienna/Austria
Posts: 389
|
|
12 November 2017, 00:48 | #109 |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,910
|
|
12 November 2017, 12:04 | #110 | |
Registered User
Join Date: Jan 2007
Location: near Vienna/Austria
Posts: 389
|
Quote:
Exult works perfectly on the CybervisionPPC and the sound output runs via AHI and MelodyPro in 16bit. I've noticed a few small issues:
Would be a MT32 support possible? (like in the novacoder port) |
|
12 November 2017, 13:26 | #111 | |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,910
|
Quote:
It's here: http://eab.abime.net/showthread.php?t=76633&page=65 Does timidity work for you? I thought it was broken. I'm looking at Novacoder's CAMD code it might be doable, not sure yet. |
|
12 November 2017, 13:46 | #112 |
Registered User
Join Date: Jan 2007
Location: near Vienna/Austria
Posts: 389
|
|
13 November 2017, 03:57 | #113 |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,910
|
I'm stumped by something. Compiling this program which needs network access.
I add: #pragma pack(2) #include <ppcinline/socket.h> #pragma pack() then it has the other network includes like: #include <sys/time.h> #include <unistd.h> #include <netinet/in.h> #include <netdb.h> #include <sys/ioctl.h> #include <net/if.h> #include <arpa/inet.h> I removed #include <sys/socket.h> from this list. But I get undefined reference to SocketBase. If I add <proto/socket.h> I get a million conflicting types for every net function. Last edited by grelbfarlk; 13 November 2017 at 04:08. |
14 November 2017, 04:30 | #114 | |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,910
|
I shut up the Socketbase undefined by doing like this:
https://github.com/alibaba/RedAlert/.../lib/amigaos.c struct Library *SocketBase = NULL; I mean, what Amigans play online against each other anyway? But now it complains about undefined references to fnctl and select. Quote:
|
|
14 November 2017, 10:35 | #115 |
Registered User
Join Date: Apr 2013
Location: Mallorca
Posts: 758
|
For Q2 vbcc I have this:
Code:
#include <sys/socket.h> #include <sys/time.h> #include <netinet/in.h> #include <netdb.h> #include <sys/param.h> #include <sys/ioctl.h> #include <errno.h> #include <arpa/inet.h> #pragma amiga-align #include <proto/socket.h> #pragma default-align #include <amitcp/socketbasetags.h> So I have two different calls when amitcp is needed. Example for vbcc: Code:
CFLAGS =-c99 -O2 -speed -cpu=603 -DAMIGA -Isystem: posixlib/include CFLAGS_ATCP =-c99 -O2 -speed -cpu=603 -DAMIGA -Isystem: amitcp/netinclude |
14 November 2017, 13:00 | #116 |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,910
|
Thanks Cowcat, I was looking at blitzquake and that explains this too:
Code:
#if defined(__GNUC__) && defined(__PPC__) #include <exec/types.h> #include <exec/libraries.h> #ifdef __PPC__ #include <powerup/ppcproto/exec.h> #else #include <proto/exec.h> #endif #include <sys/socket.h> #include <sys/time.h> #include <netinet/in.h> #include <netdb.h> #include <sys/param.h> #include <sys/ioctl.h> #include <errno.h> #include <arpa/inet.h> #ifdef __PPC__ #include <proto/socket.h> #else #include <inline/socket.h> #endif #include <amitcp/socketbasetags.h> #else /* Amiga includes */ #pragma amiga-align #include <exec/types.h> #include <exec/libraries.h> #ifdef MIAMI_SDK #include <bsdsocket/socketbasetags.h> #else #include <amitcp/socketbasetags.h> #endif #include <proto/exec.h> #include <proto/socket.h> /* standard net includes */ #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include <sys/param.h> #include <sys/ioctl.h> #pragma default-align #include <errno.h> #endif |
14 November 2017, 14:06 | #117 | |
Registered User
Join Date: Apr 2013
Location: Mallorca
Posts: 758
|
Quote:
|
|
14 November 2017, 22:46 | #118 |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,910
|
So they are... Currently it's these I have to do:
getuid getgid random getppid All of which are in there. Ok that's done now.... bah complaining about my FLAC version. This should be quick. Fixed that... Now libmad, fixed that... Now fcntl which I pieced together with shouting and cursing is puking. Which I think what it is really looking for is fseeko and ftello. Which don't seem to be in posixlib. Bah back to fcntl. Which lead to uh a few more missing things. then back to ftello and fseeko missing kprintf... which I added... and now compiled. Last edited by grelbfarlk; 15 November 2017 at 03:45. |
16 November 2017, 00:15 | #119 |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,910
|
It launches, but I have some problem here, either my original media is screwed up and some files are corrupted or the import/conversion tool is not working. Might have to use the windows equivalent to produce the game assets in the needed format(s).
I got it to do something: And There are problems though. Sound FX works. I left out Modplug so no music yet. Can't save games. Edges of fog of war are not colored right, which is why I have it turned off above. Probably many other issues. Last edited by grelbfarlk; 16 November 2017 at 02:33. |
16 November 2017, 19:37 | #120 |
Registered User
Join Date: Sep 2015
Location: London, UK
Posts: 414
|
Man, I am so excited about this - go grelbfarlk!!
Are you using the freecraft sources for this or Stratagus/Wargus? There's a (slow) Stratagus conversion for OS4 but I could never find the source code for it... |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sdl-1.2.15 | Marlon_ | Coders. C/C++ | 40 | 13 March 2018 14:43 |
UAE for WarpOS 0.8.12 | grelbfarlk | request.Apps | 0 | 23 November 2016 01:14 |
WarpOS Programming Help? | esc | support.Other | 8 | 21 October 2015 10:37 |
WinUAE w/SDL | mangamuscle | request.UAE Wishlist | 8 | 31 January 2007 11:41 |
What do you know about Amiga SDL? | Tolismlf | Amiga scene | 6 | 15 November 2004 18:54 |
|
|