Welcome, Guest. Please login or register.

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

Description:

0 Members and 2 Guests are viewing this topic.

Offline chris

Re: We need an iBrowse replacement for 68k!!!
« Reply #254 on: January 22, 2015, 11:58:19 PM »
Quote from: NovaCoder;782170
Maybe it's just an OS 3.x bug that's been fixed for OS 4.

Either that or you are meant to use those OS functions differently for OS 3.x

I don't think so - I've used ReAction on OS3 before and it's no different.  This is the first time I've tried from GCC though, however it only seems to be certain things not working.

Quote
Debugging GCC 68k code can be painful, I always use old-school log messages (very tedious!)

Me too.  This bit isn't crashing though, it's just displaying a tiny empty window, so it's either the NewObject call erroring or LAYOUT_AddImage not adding the object.  I suspect the former but need some more logging to be sure - and a window created entirely out of macros is always a pain as it is technically all on one line.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline Oldsmobile_Mike

Re: We need an iBrowse replacement for 68k!!!
« Reply #255 on: January 23, 2015, 12:35:34 AM »
Quote from: kolla;782159
The most feasable way to bring a modern browsing experience to classic Amiga, would be a with a dedicated proxy server that renders and optimize web pages for a dedicated browser on the Amiga. Something akin to what Opera does with Opera Coast and Opera Mobile, and I believe Google does too with Chrome on mobile. SSL complicates things though :)

I've used the amiga.org proxy server and it works fine.  On the flipside I've also used that Opera Mobile gimmick, which compresses websites so they "theoretically" load faster.  In my experience the additional processing made them load much slower.  Just my .02 cents.
Amiga 500: 2MB Chip|16MB Fast|30MHz 68030+68882|3.9|Indivision ECS|GVP A500HD+|Mechware card reader + 8GB CF|Cocolino|SCSI DVD-RAM
Amiga 2000: 2MB Chip|136MB Fast|50MHz 68060|3.9|Indivision ECS + GVP Spectrum|Mechware card reader + 8GB CF|AD516|X-Surf 100|RapidRoad|Cocolino|SCSI CD-RW
 Amiga videos and other misc. stuff at https://www.youtube.com/CompTechMike/videos
 

Offline kolla

Re: We need an iBrowse replacement for 68k!!!
« Reply #256 on: January 23, 2015, 01:17:49 AM »
Well, I did say _dedicated_ proxy for a _dedicated_ browser, for example one that renders ilbm images for the browser, and an interactive overlay for user to select text, click links etc.
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline NovaCoder

Re: We need an iBrowse replacement for 68k!!!
« Reply #257 on: January 23, 2015, 03:56:30 AM »
Quote from: kolla;782178
Well, I did say _dedicated_ proxy for a _dedicated_ browser, for example one that renders ilbm images for the browser, and an interactive overlay for user to select text, click links etc.

Yep it's a nice idea but it would be tons of work.

If you were going to do that you might as well return the page as basic HTML and just do all of the JavaScript/Flash/HTML 5 processing on the server.

I think a native port of NetSurf would be the best idea at this stage.
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline whabang

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 7270
    • Show only replies by whabang
Re: We need an iBrowse replacement for 68k!!!
« Reply #258 on: January 23, 2015, 10:38:30 AM »
Quote from: Yasu;782119
It rather makes me think open sorceing Ibrowse would be a good idea. Netsurf might be better for beefier Amigas, but lets not forget about the ones with slower machines.

I agree. I doubt the Ibrowse authors feel like going open-source just like that, though. If you can convince them, then do it.

If not, then there are a few light-weight alternatives available. Dillo would be the best bet, as I see it.
Beating the dead horse since 2002.
 

Offline whabang

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 7270
    • Show only replies by whabang
Re: We need an iBrowse replacement for 68k!!!
« Reply #259 on: January 23, 2015, 10:42:38 AM »
Quote from: NovaCoder;782183
Yep it's a nice idea but it would be tons of work.

If you were going to do that you might as well return the page as basic HTML and just do all of the JavaScript/Flash/HTML 5 processing on the server.

I think a native port of NetSurf would be the best idea at this stage.

Like Opera Mini? Not a bad idea. It would allow existing browsers to keep working, and could adjust the amount of crunching done on the capabilities of the used browser.

But yeah, a lot of work.
Beating the dead horse since 2002.
 

Offline Yasu

  • Sr. Member
  • ****
  • Join Date: Mar 2012
  • Posts: 413
    • Show only replies by Yasu
Re: We need an iBrowse replacement for 68k!!!
« Reply #260 on: January 23, 2015, 11:24:59 AM »
Quote from: whabang;782188
I agree. I doubt the Ibrowse authors feel like going open-source just like that, though. If you can convince them, then do it.

If not, then there are a few light-weight alternatives available. Dillo would be the best bet, as I see it.


For the right sum I think he would. It's not like he is making money out of it now anyway (especially since he's not selling keys anymore).

But there is also this fanboyish argument: Ibrowse is a genuine Amiga product. Keeping it alive would be cool in itself. Not as useful as Netsurf of course, but we are talking about 20+ year old technology. Making Ibrowse good enough to buy stuff and view homepages more correctly would be enough IMO.
 

Offline chris

Re: We need an iBrowse replacement for 68k!!!
« Reply #261 on: January 23, 2015, 11:41:17 AM »
Quote from: Yasu;782190
Making Ibrowse good enough to buy stuff and view homepages more correctly would be enough IMO.

That involves ripping out the entire layout engine and starting again with CSS integration.  If you read Andy Broad's comments on this wrt AWeb, it will involve replacing the engine with something like Webkit, in which case all you've got is another Webkit-based browser, which is not much different from OWB/Odyssey.  Obviously I don't know the internals of iBrowse, but I strongly suspect these comments apply there too - otherwise they'd have done it by now (especially as it is a commercial product so there is an incentive to update it to modern standards).  They *could* rewrite from scratch but that will take time and they will end up with something not too dissimilar to NetSurf.

Either way, open sourcing it isn't going to help anybody.  If back-porting something already existing on Amiga-like platforms isn't happening, then updating an old browser (much more work) isn't going to either.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline Yasu

  • Sr. Member
  • ****
  • Join Date: Mar 2012
  • Posts: 413
    • Show only replies by Yasu
Re: We need an iBrowse replacement for 68k!!!
« Reply #262 on: January 23, 2015, 12:30:28 PM »
Quote from: chris;782191
That involves ripping out the entire layout engine and starting again with CSS integration.  If you read Andy Broad's comments on this wrt AWeb, it will involve replacing the engine with something like Webkit, in which case all you've got is another Webkit-based browser, which is not much different from OWB/Odyssey.  Obviously I don't know the internals of iBrowse, but I strongly suspect these comments apply there too - otherwise they'd have done it by now (especially as it is a commercial product so there is an incentive to update it to modern standards).  They *could* rewrite from scratch but that will take time and they will end up with something not too dissimilar to NetSurf.

Either way, open sourcing it isn't going to help anybody.  If back-porting something already existing on Amiga-like platforms isn't happening, then updating an old browser (much more work) isn't going to either.


I didn't think about that. I doubt it that "they would have done it by now" though since Ibrowse has not been for sale for a long time now. And all updates up till recently seems to have been mostly bug fixes and not about adding new stuff. But maybe you are right that Ibrowse is too far behind to be worth the trouble.

I guess I just hate to see a once excellent and important program disappear into obscurity.
 

Offline utri007

Re: We need an iBrowse replacement for 68k!!!
« Reply #263 on: January 23, 2015, 01:26:48 PM »
Quote from: Yasu;782192
I didn't think about that. I doubt it that "they would have done it by now" though since Ibrowse has not been for sale for a long time now. And all updates up till recently seems to have been mostly bug fixes and not about adding new stuff. But maybe you are right that Ibrowse is too far behind to be worth the trouble.

I guess I just hate to see a once excellent and important program disappear into obscurity.


As Chris said, it will be too much work to do with iBrowse. Basic download/login functions requires too much "new technology". It is true that there is "more lightweigt" browsers than netsurf, but we already have a iBrowse and AWeb, functionality would be in same level. What we don't have is "semi modern browser", wich would be useable.

Netsurf is only possible solution, of course it is possible toport OWB for 68k Amiga, but it too heavy for most of us.  Netsurf will have some use if you have at least 68030 and enough ram 16-32mb. Using Netsurf with 68030 would require patience, but it will allow quite much what you did require for browser.
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
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #264 on: January 23, 2015, 01:29:55 PM »
im pretty sure chris is right and it is how he says if something is too far behind and there is an up to date utility upstream, it will be easier port it fresh right away  rather tran trying to merge in the changes and update the old one. on amiga-like platforms there are two contemporary browsers with a native frontend: odyssey and netsurf, thats your choice.
« Last Edit: January 23, 2015, 01:34:19 PM by wawrzon »
 

Offline whabang

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 7270
    • Show only replies by whabang
Re: We need an iBrowse replacement for 68k!!!
« Reply #265 on: January 23, 2015, 02:12:27 PM »
Well, there's always Lynx, Links and w3m. :P
« Last Edit: January 23, 2015, 02:15:21 PM by whabang »
Beating the dead horse since 2002.
 

Offline chris

Re: We need an iBrowse replacement for 68k!!!
« Reply #266 on: January 24, 2015, 03:56:57 PM »
I've spotted a typo (of no real consequence) in images/bitmap.h:
#ifndef REACTRION_REACTION_H

It's definitely my BitMap object which isn't being created, so I'm missing something:
(2.551870) amiga/gui.c ami_gui_splash_open 5189: WindowBase = 0x5be15860
(2.642908) amiga/gui.c ami_gui_splash_open 5190: WindowObject = 0x539a7ba4
(2.712036) amiga/gui.c ami_gui_splash_open 5191: BitMapBase = 0x579b52c0
(2.784028) amiga/gui.c ami_gui_splash_open 5192: BitMapObject = 0x000000

The creation code is this:
Code: [Select]
struct Screen *wbscreen = LockPubScreen("Workbench");
BitMapObject,
BITMAP_SourceFile, "PROGDIR:Resources/splash.png",
BITMAP_Screen, wbscreen,
BITMAP_Precision, PRECISION_IMAGE,
#ifndef __amigaos4__
BITMAP_Width, 400,
BITMAP_Height, 250,
#endif
BitMapEnd,
« Last Edit: January 24, 2015, 04:04:34 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 #267 on: January 25, 2015, 02:17:47 AM »
Quote from: chris;782260
I've spotted a typo (of no real consequence) in images/bitmap.h:
#ifndef REACTRION_REACTION_H

Nice. It's surprising know one else noticed.

It's definitely my BitMap object which isn't being created, so I'm missing something:
(2.551870) amiga/gui.c ami_gui_splash_open 5189: WindowBase = 0x5be15860
(2.642908) amiga/gui.c ami_gui_splash_open 5190: WindowObject = 0x539a7ba4
(2.712036) amiga/gui.c ami_gui_splash_open 5191: BitMapBase = 0x579b52c0
(2.784028) amiga/gui.c ami_gui_splash_open 5192: BitMapObject = 0x000000

The creation code is this:
Code: [Select]
struct Screen *wbscreen = LockPubScreen("Workbench");
BitMapObject,
 BITMAP_SourceFile, "PROGDIR:Resources/splash.png",
 BITMAP_Screen, wbscreen,
 BITMAP_Precision, PRECISION_IMAGE,
#ifndef __amigaos4__
 BITMAP_Width, 400,
 BITMAP_Height, 250,
#endif
BitMapEnd,


Here is what the old ClassAct example code using the default pub screen looks like:

Code: [Select]

      if(screen=LockPubScreen(NULL))
      {  
         /* Make an image out of an IFF file.
          * The image will be included in the window layout, and is
          * used to clip two other images from
          */
         image1=BitMapObject,
            BITMAP_SourceFile,"PROGDIR:buttons.iff",
            BITMAP_OffsetX, 0,
            BITMAP_OffsetY, 0,
            BITMAP_Width, 577,
            BITMAP_Height, 30,
            BITMAP_Screen,screen,
         EndImage;

         if(image1)
         {  
            /* Get the bitmap of the image
             */
            GetAttr(BITMAP_BitMap,image1,(ULONG *)&bitmap);


Have you tried converting splash.png to splash.iff? Maybe the OS3 version of bitmap.image can only handle iff.
 

Offline chris

Re: We need an iBrowse replacement for 68k!!!
« Reply #268 on: January 26, 2015, 12:18:29 AM »
Quote from: matthey;782294
Have you tried converting splash.png to splash.iff? Maybe the OS3 version of bitmap.image can only handle iff.

Yes, no change.  Snoopy isn't even showing that the file is being attempted to be opened - it's like the tag values are completely wrong or something.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline NovaCoder

Re: We need an iBrowse replacement for 68k!!!
« Reply #269 from previous page: January 26, 2015, 03:21:33 AM »
Quote from: chris;782346
Yes, no change.  Snoopy isn't even showing that the file is being attempted to be opened - it's like the tag values are completely wrong or something.


Try changing it to match the ClassAct code (same tags).
Life begins at 100 MIPS!


Nice Ports on AmiNet!