04 October 2017, 02:29 | #81 |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,902
|
libSDL_Image_wos.a and libJPEG(_wos).a working. Works with gif and jpeg that I've tried so far, now just to get png.
Had to link in order of -lSDL_Image_wos -ljpeg -lSDL_wos (just so I don't forget this tomorrow). ppc-amigaos-g++ -warpup -O2 sdltest3.cpp -o SDLrun3-1.elf -lSDL_Image_wos -ljpeg -lSDL_wos Last edited by grelbfarlk; 04 October 2017 at 02:38. |
04 October 2017, 02:59 | #82 | |
Semi-Retired
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 1,994
|
Quote:
|
|
04 October 2017, 04:45 | #83 |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,902
|
libPNG(_wos).a done too and works.
Again, not going to remember this: ppc-amigaos-g++ -warpup -O2 sdltest3.cpp -o SDLrun3-1.elf -lSDL_Image_wos -lpng -lz -ljpeg -lSDL_wos Last edited by grelbfarlk; 04 October 2017 at 22:55. |
04 October 2017, 21:11 | #84 | |
Semi-Retired
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 1,994
|
Quote:
HOWEVER: With PPC it is in Extended hunk format (I see hunk 0x4E9 in the object file, next to 0x3E9, 0x3E8 etc.). |
|
04 October 2017, 21:43 | #85 |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
that sounds promising. I cannot decipher them, but those 0x3E9, 0x3E8, 0x3E7 ...
are all typical amiga hunk types. I could imagine, those 0x4E9 were introduced with warpos, but still sort of standard amiga hunk type. but how to "set to GCC mode". is it a ppc-amigaos-gcc option? and target "Amiga Classic OS" ? I thought warpup is Classic Amiga, with a ppc extension/co-processor. Last edited by emufan; 04 October 2017 at 22:16. |
04 October 2017, 22:16 | #86 | |
Semi-Retired
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 1,994
|
Quote:
So yes, warpup is in this case Classic Amiga with a ppc extension. |
|
04 October 2017, 22:23 | #87 |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
|
05 October 2017, 23:39 | #88 |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,902
|
Any recommended version of SDL_Mixer? 1.2.5? Or any version of libOGG and libVorbis?
1.2.4 compiled and Playwav works, actually worked with one of the Wavs I made out of Amidi from HOMM2 midis 10+MB at 16-bit audio. Trying to figure out why Playmus doesn't work. Pointed it at my Timidity patches which I can see it reading all the .cfgs but then just looks for MIX_EFFECTSMAXSPEED MUSIC_CMD Mods play I guess midi isn't supported by this test program. No idea what's going on. Last edited by grelbfarlk; 06 October 2017 at 03:45. |
07 October 2017, 02:23 | #89 |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,902
|
Will get back to SDL_mixer midi stuff later. Hedeon got Truetype working so SDL_ttf works.
Anyone have an SDL game suggestion that should work with a simple compile -lSDL? Last edited by grelbfarlk; 07 October 2017 at 04:12. |
08 October 2017, 15:18 | #90 |
Semi-Retired
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 1,994
|
|
10 October 2017, 00:29 | #91 |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,902
|
Xrick works.
|
12 October 2017, 04:20 | #92 |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,902
|
jetpac "works".
|
17 October 2017, 04:23 | #93 |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,902
|
Working on compiling an application and have some unrecognized symbols:
snprintf vsnprintf rmdir ftruncate environ dirname Which are part of glibc and not in the version we have already. Using one of the libnix compiles the community has developed I was able to piece together snprintf and vsnprintf and link in the compile which no longer complains. But the rest don't seem to work or are not in libnix. Any general advice on how to compile glibc 2.2.5 for an unknown architecture? I would continue with the available libnix ports but they don't seem to have ftruncate. |
20 October 2017, 03:30 | #94 |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,902
|
If anyone has an idea how to contact Jarmo Laakkonen we'd really like to get a hold of the libnix_wos source to update it with the missing functions.
We have a pretty neat program we're trying to get running which has the missing functions: readdir rmdir ftruncate environ snprintf vsnprintf With some duct tape and hammering and compiling random sources leaves us with: rmdir and ftruncate that I can't find something that will compile. Halp? Last edited by grelbfarlk; 21 October 2017 at 04:06. |
27 October 2017, 01:42 | #95 |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,902
|
I managed to compile the missing functions and actually got something produced. Dosbox 0.72 for WarpOS is now in bet- ALPHA. Thanks guys for all the help.
|
27 October 2017, 02:29 | #96 |
Posts: n/a
|
|
27 October 2017, 04:26 | #97 |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,902
|
|
04 November 2017, 00:26 | #98 |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,902
|
Exult worked, getting the linking order took a bit of screwing around to get right it was this:
-lprints -lSDL_mixer -lvorbisfile -lvorbis -logg -lSDL_wos Bermuda Syndrome worked with the defaults in the makefile. |
08 November 2017, 23:37 | #99 |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
i try to build it for 68k, but there is no vorbis and ogg for 68k.
did you build them for ppc on your own? can you attach your Makefile? did it build with SDL 1.2.x ? Last edited by emufan; 09 November 2017 at 01:25. |
09 November 2017, 02:23 | #100 | |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,902
|
Quote:
Should be really easy to build for 68k. I just used the OS4 makefile from OS4Depot, adding some WarpOS compiler flags and playing with the linking order. Don't know if it's a faux pas to link directly to the lha: http://os4depot.net/index.php?functi...at=game/action Working on a couple new things, maybe they're possible for me or not. But this week I had to get bzip2 and LUA for them and a couple other libraries-getting hard to keep track my lib directory is getting pretty bloated. List so far of what we have: SDL 1.2.6 SDL Mixer SDL Image SDL Sound TTF Freetype libzip libpng libjpeg libsmpeg libvorbis libogg liblua libbzip2 |
|
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 |
|
|