19 July 2014, 13:05 | #61 | |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,416
|
Quote:
I think that's the basic idea anyway. |
|
10 June 2015, 04:39 | #62 |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,416
|
Arti,
Here is a quick build of SDL v1.2.15 with my old AGA video code mixed in, haven't managed to test it yet but it should work OK with NetSurf AGA. Threads and Timers are enabled in this build but not audio (same code as that v1.2.15 RTG I did for you). Keyboard handling should also be better. You should probably used these flags for NetSurf AGA (no point using DBL Buffer because NetSurf updates using dirty rectangles): PHP Code:
This build is for 040 (needs an FPU!) Update: Debug build uploaded... Last edited by NovaCoder; 24 December 2018 at 10:28. |
12 July 2017, 20:52 | #63 |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
can you please help to fix your latest SDL-AGA version,
there is a problem with missing SDL_SYS_JOYSTICK in the link library. some older version from 2013 have this part, but latest on aminet is missing this. |
13 July 2017, 00:20 | #64 | |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,416
|
Quote:
Yes I remember taking out the joystick code but don't recall exactly why... maybe it was a bit buggy. I'm not doing any Amiga coding these days. |
|
13 July 2017, 00:30 | #65 | |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
Quote:
|
|
13 July 2017, 01:15 | #66 | |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,416
|
Quote:
I should also warn you that the Threading and Timer implementation in all the 68k SDL builds is less than perfect (AFAIK). It's a shame I never got the chance to release a version that I was really happy with. |
|
13 July 2017, 01:49 | #67 |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
I do not say a shame - you did a lot with your ports for amigaland, despite the few resources we have.
maybe once you're in the right mood to continue where you stoped |
06 December 2018, 02:08 | #68 |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
Do you still have the sources for this lying around? I would like to add it to the Amiga68k-SDL repo on github and possibly add the option to switch between RTG and AGA during initialization and/or compile.
EDIT: Nevermind, I suppose all that is needed is this file? amigaos_video_AGA.c Last edited by Marlon_; 06 December 2018 at 02:15. |
06 December 2018, 02:54 | #69 | |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,416
|
Quote:
My old SDL v1.2.15 source code is in a complete mess with so many different AGA and CGX versions I don't know which one is the latest myself. I will be working on a new 68k SDL for real Amiga's (pure AGA and RTG code with no Vampire extensions), just need to find the time. The current AGA library on AmiNet is a bit of a hack, actually it's a great big hack and doesn't work properly All of the 68k ports of SDL are a bit of a mess. Last edited by NovaCoder; 06 December 2018 at 04:51. |
|
06 December 2018, 09:06 | #70 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,369
|
SDL is supposed to be portable and cross platform, but they just didn't anticipate planar display, which makes SDL slow as hell on a real Amiga (okay on Winuae, but what's the point)
|
06 December 2018, 10:15 | #71 | |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,416
|
Quote:
Used to be true, but my release of SDL for AGA changed that [ Show youtube player ] [ Show youtube player ] |
|
06 December 2018, 12:01 | #72 | |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
Quote:
The plan I have with SDL for Amiga is to have a unified code-base for 68k, AROS, MorphOS, WarpOS and AmigaOS4 and clean it up in the process. I'll be happy for any help, as I am currently the only one working on this. |
|
07 December 2018, 00:25 | #73 |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,416
|
That's a great plan my friend and quite ambitious so I wish you well.
I only have limited time for Amiga coding this days and prefer to do my own thing with my hobby. Like I said above, my old AGA port is (yet another) SDL hack so I wouldn't even bother with 'amigaos_video_AGA.c' Last edited by NovaCoder; 07 December 2018 at 02:13. |
07 December 2018, 21:55 | #74 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,369
|
@Novacoder it's really impressive. What are the specs of the A1200 you're using? and which compiler are you using?
this is serious stuff. |
08 December 2018, 00:46 | #75 |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,416
|
|
08 December 2018, 11:11 | #76 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,369
|
1260/80MHz !! I have 1260/50. That should work okay. The new gcc 6 looks impressive on 68k. It's completely windows native. I've used it and it's excellent.
I may give a go to your library. Can you explain what you "hacked" exactly? because AFAIR the bottleneck of SDL is chunky2pixel (again): writing in an abstract buffer then rendering into the real video memory. |
09 December 2018, 03:24 | #77 | |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,416
|
Quote:
Last edited by NovaCoder; 09 December 2018 at 04:34. |
|
09 December 2018, 13:00 | #78 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,369
|
nothing clever, I can't let you say that. That was clever to do what you did.
Why does it need AGA? because c2p to 8 bitplane is faster? what did the original port do to be so sluggish? |
09 December 2018, 23:13 | #79 |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,416
|
It doesn't really need AGA, I also did an RTG version that just blitted directly to the screen without doing C2P.
I'm not sure why the original port was so slow? ODAMEX RTG SDL Last edited by NovaCoder; 10 December 2018 at 01:16. |
18 December 2018, 11:08 | #80 |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,416
|
I've been updating my old AGA SDL and trying to get RTG support working properly.
Can some people with real Amiga's try the attached application and see if it renders the colors properly at different color depths. It's a very basic test application that has a single tooltype which you can use to choose if it runs in full screen or uses a window. In theory it should render the included image in the correct colors on both big and small endian displays and in all color depths (8 bit results will obviously vary, depends on how many pens you free). To quit the application you just hit any key (or close the window). It is compiled for 030 + FPU because I was too lazy to compile it for soft FPU. It uses the CyberGFX API but should work OK on P96 (maybe) Seems to work OK using WinUAE Last edited by NovaCoder; 24 December 2018 at 10:27. |
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 |
|
|