![]() |
Using the version of libSDL from:
https://github.com/HenrykRichter/libSDL12_Amiga68k or https://github.com/AmigaPorts/libSDL12 ... are there any special initialisation functions or parameters to SDL_Init() or SDL_SetVideoMode() in order to use the AGA driver? I ask as my initial attempt at compiling a simple full-screen SDL utility I'm writing (cross platform from TOS, Amiga OS and Risc OS) built cleanly against that code (surprisingly enough!), but SDL_Init() returns with an error of "Error: No available video device" Am I using the wrong libSDL release, one that is RTG only? Can someone point me towards the one that does work on AGA only screens? |
Quote:
NovaCoder doesn't use this, and for some bizarre reason he doesn't want to apply his changes to this one. This one only supports RTG, but has extra functionality to speed up the lib on Vampire. It still works just the same on 680x0. |
Quote:
This thread is for discussions around my version of the SDL library 1.2.15 for 68k. Those other versions of 68k SDL don't support AGA. If you are after doing something on AGA then have a look at http://aminet.net/package/dev/lib/SDL_AGA This is a cut-down version that only supports a basic implementation so it may not have everything you need. Unfortunately all 68k SDL ports are a bit buggy (even mine!) :guru I'm currently trying to fix up my old AGA port and make it work better. |
Quote:
I'm not doing anything advanced with SDL - speed isn't terribly important either; it's for a game browser/launcher - functions used are: SDL_BlitSurface SDL_DisplayFormat SDL_Event SDL_PollEvent SDL_FillRect SDL_Flip SDL_FreeSurface SDL_GetError SDL_Init SDL_LoadBMP SDL_MapRGB SDL_Delay SDL_SetVideoMode I'm not using timers or audio. |
Quote:
|
Quote:
|
Quote:
If you're after the source code for your own port then I already shared my old AGA video driver here https://github.com/AmigaPorts/libSDL...SDL_agavideo.c From memory, the rest of my port was based on the (very) old 68K SDL sources http://aminet.net/package/dev/misc/SDL-AmigaSrc |
Thanks for pointing that out, however it references 3 or 4 headers that are not there, so it's not going to be possible to compile that code:
#include "amigaos_video_AGA.h" #include "amigaos_events.h" #include "amigaos_mouse.h" #include "amiga_c2p_aga.h" They're not part of the rest of the Amiga port, so it's pretty useless without them. |
Quote:
Bump for this. :| Or at least remove the file from Aminet, since it breaks the license agreement. |
Quote:
|
All times are GMT +2. The time now is 19:29. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.