Welcome, Guest. Please login or register.

Author Topic: We need an iBrowse replacement for 68k!!!  (Read 75366 times)

Description:

0 Members and 2 Guests are viewing this topic.

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #509 from previous page: February 23, 2015, 09:23:53 PM »
Quote from: chris;785246
It's always going to be slower with -v anyway.
measured without on my part.

Quote
I'll hold off uploading new builds for the minute until I merge the bitmap fonts stuff across.
give a hint as soon as its ready, i might stay in the studio tonight.

@utri007
Quote
Is download link same than in page 20?
21
 

Offline matthey

  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1294
    • Show only replies by matthey
Re: We need an iBrowse replacement for 68k!!!
« Reply #510 on: February 23, 2015, 10:18:42 PM »
Quote from: chris;785246

OK, I think that's a 68k registers thing.  I've probably fixed it.  I'll hold off uploading new builds for the minute until I merge the bitmap fonts stuff across.


Hook problem? Fixing the registers in all hooks could make a lot of things work ;).
 

Offline chris

Re: We need an iBrowse replacement for 68k!!!
« Reply #511 on: February 23, 2015, 11:25:17 PM »
Quote from: matthey;785264
Hook problem? Fixing the registers in all hooks could make a lot of things work ;).

Yes... just done it (might* have missed some, but we'll find out)

Uploaded a new version from my bitmap fonts branch (as I don't want to merge this yet).

* Actually I know I've missed some, but nothing important for now.
« Last Edit: February 23, 2015, 11:29:14 PM by chris »
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline matthey

  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1294
    • Show only replies by matthey
Re: We need an iBrowse replacement for 68k!!!
« Reply #512 on: February 23, 2015, 11:59:16 PM »
Quote from: chris;785267
Yes... just done it (might* have missed some, but we'll find out)

Uploaded a new version from my bitmap fonts branch (as I don't want to merge this yet).

* Actually I know I've missed some, but nothing important for now.


Bingo!!! Most menu items and gadgets work now! It is faster than ever also. Awesome!!!
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #513 on: February 23, 2015, 11:59:57 PM »
find text seems to be working now, as far as i was able to recognize on the (mis)rendered page, at least it doesnt crash. tried to reply here from the amiga, but the browser is still too laggy, barely got past login..
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #514 on: February 24, 2015, 12:03:25 AM »
Quote from: matthey;785270
It is faster than ever also. Awesome!!!

it still crawls even in comparison with sdl version. probably plotting gfx elements can still be optimized, but im not sure how to catch up with sdl fontend let alone surpass its speed. seems the claims of bernds opponents, sdl is slow, have been proven wrong.
 

Offline chris

Re: We need an iBrowse replacement for 68k!!!
« Reply #515 on: February 24, 2015, 12:03:39 AM »
Quote from: matthey;785270
Bingo!!! Most menu items and gadgets work now! It is faster than ever also. Awesome!!!

Cool.  I changed the CPU option to -m68020-60, not sure if that is the cause of the speed boost or something else.

@wawrzon

The text width etc calculations are currently somewhat broken in bitmap mode, I'm aware of that.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #516 on: February 24, 2015, 12:13:06 AM »
@chris
what was previous setting? plain -m68000? there usually is some speedup to be expected but not that significant.

i have an impression as if when loading the page the browser is busy looping at times, because it freezes, but it may just be high priority cpu last.
 

Offline matthey

  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1294
    • Show only replies by matthey
Re: We need an iBrowse replacement for 68k!!!
« Reply #517 on: February 24, 2015, 12:55:21 AM »
Quote from: chris;785274
Cool.  I changed the CPU option to -m68020-60, not sure if that is the cause of the speed boost or something else.


It's still not usable but I can see the potential. I was able to login to amiga.org to try a post but it acted like it didn't keep the cookie as it didn't remember me.

The one 68k build of AWeb with GCC is using:

Code: [Select]

-O2 -fomit-frame-pointer -m68020-60


This should give acceptable results if optimizations could be turned on. GCC seems to think using the normal CISC addressing modes is an optimization though.

Quote from: chris;785274

The text width etc calculations are currently somewhat broken in bitmap mode, I'm aware of that.


There are a lot of adjustments needed yet and I'm sure plenty of bugs remaining but it is mostly working now.
 

Offline chris

Re: We need an iBrowse replacement for 68k!!!
« Reply #518 on: February 24, 2015, 07:17:56 PM »
Quote from: wawrzon;785273
probably plotting gfx elements can still be optimized

No "probably" about it, as I say graphics are still routing via DataTypes (even on high-colour screens) which is not a fast way of doing things.  What I need is an optimised RGBA=>dithered palette mapped BitMap, with optional optimised scaling built-in.  Anyone?

Quote from: wawrzon;785277
@chris
what was previous setting? plain -m68000?

-m68020

Quote from: matthey;785279
The one 68k build of AWeb with GCC is using:

Code: [Select]
-O2 -fomit-frame-pointer -m68020-60

I'm using:

Code: [Select]
m68020-60 -O0 -fomit-frame-pointer
So, the same basically :)  Be nice if somebody could give me a fix for that GCC optimisation bug, or tell me which optimisation causes it so I can disable it.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #519 on: February 24, 2015, 08:36:50 PM »
Quote
No "probably" about it, as I say graphics are still routing via DataTypes

Thats the same with aros owb currently.

Quote
What I need is an optimised RGBA=>dithered palette mapped BitMap, with optional optimised scaling built-in. Anyone?

Ok, but this doesnt matter for deep and true color, we are mostly testing now, i think novacoder had put together some routines for his sdl aga employed with netsurf aga.
 

Offline chris

Re: We need an iBrowse replacement for 68k!!!
« Reply #520 on: February 24, 2015, 09:56:25 PM »
Quote from: wawrzon;785277

i have an impression as if when loading the page the browser is busy looping at times, because it freezes, but it may just be high priority cpu last.


I'm getting freezing when using the diskfont code.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #521 on: February 24, 2015, 10:03:10 PM »
Quote from: chris;785351
I'm getting freezing when using the diskfont code.


do you? i have an impression that the browser may hang at some later time, but hard to confirm as it is so slow. i might not have been clear, i meant that while loading the page there is some time the progress gadget stands or disappears, so that ine might assume the browser hangs, but it loads nevertheless some time later.
 

Offline matthey

  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1294
    • Show only replies by matthey
Re: We need an iBrowse replacement for 68k!!!
« Reply #522 on: February 24, 2015, 10:54:33 PM »
Quote from: chris;785339
So, the same basically :)  Be nice if somebody could give me a fix for that GCC optimisation bug, or tell me which optimisation causes it so I can disable it.

Seeing at least one of the taglist problems occured with NewObjectA(), you might check this:

Quote
Now you need to modify a file: os-include/inline/intuition.h.

Open the above file with a text editor and search the following instructions:

#ifndef NO_INLINE_STDARG
__inline APTR NewObject(struct IClass * classPtr, CONST_STRPTR classID, ULONG tagList, ...)
{
  return NewObjectA(classPtr, classID, (const struct TagItem *) &tagList);
}

Replace them with these:

/*
#ifndef NO_INLINE_STDARG
__inline APTR NewObject(struct IClass * classPtr, CONST_STRPTR classID, ULONG tagList, ...)
{
  return NewObjectA(classPtr, classID, (const struct TagItem *) &tagList);
}
*/

#ifndef NO_INLINE_STDARG
#define NewObject(classPtr, classID, tags...) \
    ({ULONG _tags[] = {tags}; NewObjectA((classPtr), (classID), (const struct TagItem *) _tags);})
#endif

http://guidetoamigacompatibleprogramming.googlecode.com/svn/trunk/english/CAP_2.txt

My GCC 3.4.0 version of os-include/inline/intuition.h is a little bit different if you want to try it too:

http://www.heywheel.com/matthey/Amiga/INTUITION.H
« Last Edit: February 24, 2015, 11:08:22 PM by matthey »
 

Offline PanterHZ

  • Sr. Member
  • ****
  • Join Date: Jul 2009
  • Posts: 295
    • Show only replies by PanterHZ
    • http://www.rhz1.com
Re: We need an iBrowse replacement for 68k!!!
« Reply #523 on: February 25, 2015, 01:20:25 AM »
Must say that I really appriciate the work being done on this project :)
 

Offline utri007

Re: We need an iBrowse replacement for 68k!!!
« Reply #524 on: February 25, 2015, 01:32:18 PM »
Still no luck with Netsurf. I start to consider that there is something wron in my installation.

Can I think that Reaction is OK when AWeb works just fine? 680X0.libraries are OK, because changin them doesn't affect to result? Maybe I shoul reinstall boing bags and make some testing without any patches installed.
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD