English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 30 September 2015, 14:48   #241
wawa
Registered User
 
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
editing with an amiga editor is all fine of course.
wawa is offline  
Old 30 September 2015, 22:38   #242
Michael Sykes
WinUAE end user
 
Michael Sykes's Avatar
 
Join Date: Jan 2014
Location: Bremen
Age: 44
Posts: 649
Glad I could throw my 5 cent in...
Thanks or addin' it so quick Arti.
Michael Sykes is offline  
Old 01 October 2015, 00:47   #243
crazyc
Registered User
 
Join Date: May 2012
Location: Gravesend - UK
Posts: 927
I have two setups on my system. One is os 3.9 with a superplus resolution, one is a cwb adv setup with normal resolution . I have installed the updated netsurf on both, with the same results as before. It's all good except the mouse makes it a bit unusable. I will try and do a video when I get a moment. If I could just work out how I got that bigger blue mouse pointer.
crazyc is offline  
Old 01 October 2015, 00:48   #244
crazyc
Registered User
 
Join Date: May 2012
Location: Gravesend - UK
Posts: 927
Also tried the ixemul aga version on my 3.9 setup, with the same issues.
crazyc is offline  
Old 04 October 2015, 17:13   #245
arti
Registered User
 
Join Date: Jul 2008
Location: Poland
Posts: 665
Quote:
Originally Posted by Michael Sykes View Post
Just one more question. Is the wheelsupport hardcoded or am I just to stupid to find the option? It worked in the last version.
Works here.
arti is offline  
Old 04 October 2015, 17:17   #246
arti
Registered User
 
Join Date: Jul 2008
Location: Poland
Posts: 665
Quote:
Originally Posted by crazyc View Post
If I could just work out how I got that bigger blue mouse pointer.
That's system pointer. I had to use sdl pointer because on aga clicks are not synchronized. Sdl aga bug maybe.
arti is offline  
Old 05 October 2015, 02:02   #247
NovaCoder
Registered User
 
NovaCoder's Avatar
 
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,416
Quote:
Originally Posted by arti View Post
That's system pointer. I had to use sdl pointer because on aga clicks are not synchronized. Sdl aga bug maybe.
Hiya,

Yep quite possible, I built the AGA SDL to port old DOS games like Descent which typically just hide the system mouse pointer. I think the SDL pointer code will be very broken in my AGA SDL.

Why aren't the AGA clicks synchronized? Do you have some code to show the problem?

Last edited by NovaCoder; 06 October 2015 at 07:22.
NovaCoder is offline  
Old 05 October 2015, 11:01   #248
arti
Registered User
 
Join Date: Jul 2008
Location: Poland
Posts: 665
I should say that position of pointers are different, click happens only with sdl one.
Attached Thumbnails
Click image for larger version

Name:	aga_pointer.jpg
Views:	347
Size:	90.3 KB
ID:	45710  
arti is offline  
Old 06 October 2015, 01:30   #249
NovaCoder
Registered User
 
NovaCoder's Avatar
 
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,416
The red one is the SDL generated one?

Big blue one is the system pointer?
NovaCoder is offline  
Old 06 October 2015, 03:31   #250
arti
Registered User
 
Join Date: Jul 2008
Location: Poland
Posts: 665
Yes.
arti is offline  
Old 15 October 2015, 02:29   #251
NovaCoder
Registered User
 
NovaCoder's Avatar
 
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,416
Quote:
Originally Posted by arti View Post
I should say that position of pointers are different, click happens only with sdl one.
Just have a quick look at the code on GIT (https://github.com/arczi84/NetSurf-6.../surface/sdl.c)

Why is the AGA cursor disabled? I think it should be treated the same as the RTG cursor.

PHP Code:
static int sdl_initialise(nsfb_t *nsfb)
#ifdef RTG    
    
SDL_ShowCursor(SDL_ENABLE);
#else
    
SDL_ShowCursor(SDL_DISABLE);
#endif 
Let me know if my AGA SDL cursor is not behaving the same as the RTG SDL's cursor.


Also hacked this method to make it faster...this because AGA is always full screen (just for my AGA SDL, don't do this for RTG)

PHP Code:
static bool 
sdlcopy
(nsfb_t *nsfbnsfb_bbox_t *srcboxnsfb_bbox_t *dstbox)
{
    
//SDL_Rect src;
    
SDL_Rect dst;
    
SDL_Surface *sdl_screen nsfb->surface_priv;
    
//nsfb_bbox_t allbox;
    //struct nsfb_cursor_s *cursor = nsfb->cursor;

    //nsfb_plot_add_rect(srcbox, dstbox, &allbox);

    /* clear the cursor if its within the region to be altered */
    /*if ((cursor != NULL) &&
        (cursor->plotted == true) &&
        (nsfb_plot_bbox_intersect(&allbox, &cursor->loc))) {
        nsfb_cursor_clear(nsfb, cursor);
    }*/

    //src.x = srcbox->x0;
    //src.y = srcbox->y0;
    //src.w = srcbox->x1 - srcbox->x0;
    //src.h = srcbox->y1 - srcbox->y0;
 
    //dst.x = dstbox->x0;
    //dst.y = dstbox->y0;
    //dst.w = dstbox->x1 - dstbox->x0;
    //dst.h = dstbox->y1 - dstbox->y0;
    
    
dst.srcbox->x0;
    
dst.srcbox->y0;
    
dst.srcbox->x1 srcbox->x0;
    
dst.srcbox->y1 srcbox->y0;    
 
    
//SDL_BlitSurface(sdl_screen, &src, sdl_screen , &dst);

      
    /*
    Redraw the cursor after the Blit!
    if ((cursor != NULL) && 
        (cursor->plotted == false)) {
        nsfb_cursor_plot(nsfb, cursor);
    }*/

    
SDL_UpdateRect(sdl_screendst.xdst.ydst.wdst.h);

    return 
true;


Obviously I can't test these updates, might not work!

Last edited by NovaCoder; 15 October 2015 at 05:06.
NovaCoder is offline  
Old 15 October 2015, 10:37   #252
arti
Registered User
 
Join Date: Jul 2008
Location: Poland
Posts: 665
Quote:
Why is the AGA cursor disabled? I think it should be treated the same as the RTG cursor.
Because native cursor is not following sdl cursor (moves slower) thus can't click at the place I want.

Quote:
Also hacked this method to make it faster...this because AGA is always full screen (just for my AGA SDL, don't do this for RTG)
Your code works. Needs to be tested on real Amiga to notice the difference. ns-aga.lha
arti is offline  
Old 15 October 2015, 11:58   #253
NovaCoder
Registered User
 
NovaCoder's Avatar
 
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,416
Quote:
Originally Posted by arti View Post
Because native cursor is not following sdl cursor (moves slower) thus can't click at the place I want.



Your code works. Needs to be tested on real Amiga to notice the difference. ns-aga.lha
Great news

My code is normally complete pants

Now that it's faster you should be able to enable the cursor again

Update: Just found this nice little review done on NetSurf 3.4

Last edited by NovaCoder; 16 October 2015 at 04:51.
NovaCoder is offline  
Old 17 October 2015, 10:30   #254
arti
Registered User
 
Join Date: Jul 2008
Location: Poland
Posts: 665
It doesn't work, sorry. Bug occures on scrolling.
Center part of window is not redrawing.

Last edited by arti; 18 October 2015 at 11:24.
arti is offline  
Old 21 October 2015, 05:34   #255
NovaCoder
Registered User
 
NovaCoder's Avatar
 
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,416
Quote:
Originally Posted by arti View Post
It doesn't work, sorry. Bug occures on scrolling.
Center part of window is not redrawing.
That makes no sense

This part of the code appears to be doing nothing apart from using up CPU cycles:

PHP Code:
SDL_BlitSurface(sdl_screen, &srcsdl_screen , &dst); 
Try just commenting out just this line and see if the center part of the window is redrawn.
NovaCoder is offline  
Old 21 October 2015, 18:18   #256
arti
Registered User
 
Join Date: Jul 2008
Location: Poland
Posts: 665
Nothing changed.
arti is offline  
Old 21 October 2015, 21:33   #257
NovaCoder
Registered User
 
NovaCoder's Avatar
 
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,416
Quote:
Originally Posted by arti View Post
Nothing changed.
Interesting...

Commenting out that blit should make it quicker
NovaCoder is offline  
Old 06 November 2015, 01:39   #258
NovaCoder
Registered User
 
NovaCoder's Avatar
 
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,416
Arti,

I've got a new version of SDL v1.2.15 for AGA for you.



I've done an 040 + FPU version and an 030 without FPU build this time and uploaded them to the Zone for you.

Last edited by NovaCoder; 06 November 2015 at 12:27.
NovaCoder is offline  
Old 15 November 2015, 14:09   #259
Retrofan
Ruler of the Universe
 
Retrofan's Avatar
 
Join Date: Mar 2010
Location: Lanzarote/Spain
Posts: 6,195
Where can I download the latest AGA version?
Retrofan is offline  
Old 06 December 2015, 11:30   #260
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,262
Have any of you tried this latest version recently released?

I found it very difficult to understand what how to configure, there are 9 executables, 3 of which are specified "NetSurf-clib2" do not start. Another difference is that the executable named "NetSurf-ix" do not ask for the assignment of SSLROOT: e AMISSL: that I did not understand where to assign. It concerns the vision of the video on Youtube it comes to press a third button which?
nother strange thing is that night on WinUAE, It is that we do not support Graphic Card Picasso IV, while with the Graphic Card UAE-GFX to 16Bit you see the true colors of the sites, but if you enlarge the window the colors are ruined, with UAE-GFX to 32Bit colors look different but if it widens the window you do not ruined anything, attach screenshots

Last edited by AMIGASYSTEM; 23 January 2016 at 08:00.
AMIGASYSTEM is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
NetSurf for AGA arti News 92 14 March 2016 21:44
NetSurf works on the raspberry pi mcbone Amiga scene 2 08 July 2013 05:17
Netsurf 2.8 released for OS4 utri007 News 0 23 September 2011 21:07
netsurf and owb turrican3 support.Apps 7 07 May 2011 14:37
Netsurf 68k utri007 Coders. General 0 09 March 2011 11:30

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:48.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.11562 seconds with 14 queries