23 January 2019, 23:25 | #101 |
Registered User
Join Date: Aug 2009
Location: UK
Posts: 30
|
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? |
24 January 2019, 00:01 | #102 | |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
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. |
|
24 January 2019, 03:21 | #103 | |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,406
|
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!) I'm currently trying to fix up my old AGA port and make it work better. Last edited by NovaCoder; 24 January 2019 at 03:57. |
|
24 January 2019, 11:13 | #104 | |
Registered User
Join Date: Aug 2009
Location: UK
Posts: 30
|
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. |
|
24 January 2019, 11:15 | #105 | |
Registered User
Join Date: Aug 2009
Location: UK
Posts: 30
|
Quote:
|
|
24 January 2019, 12:03 | #106 |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
Yes, thank you. I keep saying this, but Amigans tend to not care.
|
25 January 2019, 00:18 | #107 | |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,406
|
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 |
|
27 January 2019, 17:59 | #108 |
Registered User
Join Date: Aug 2009
Location: UK
Posts: 30
|
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. |
05 April 2020, 12:13 | #109 |
Registered User
Join Date: Mar 2020
Location: Hamburg
Posts: 20
|
|
09 June 2020, 03:53 | #110 |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,406
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Nova's Blizzard 1260 | NovaCoder | Hardware pics | 32 | 09 April 2013 08:17 |
Nova 9: The Return Of Gir Draxon | mai | HOL data problems | 2 | 21 November 2009 20:18 |
Nova's 1200 AGA>VGA ...Zetr0 violated! | NovaCoder | Hardware pics | 20 | 01 September 2009 09:45 |
No Love Greater than the Love of Moto | Zetr0 | Hardware pics | 15 | 05 October 2007 18:42 |
[Fixed] Hard Nova | Uukrul | HOL data problems | 1 | 17 December 2002 10:12 |
|
|