English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware > Hardware mods

 
 
Thread Tools
Old 16 January 2016, 19:20   #1
eXeler0
Registered User
 
eXeler0's Avatar
 
Join Date: Feb 2015
Location: Sweden
Age: 50
Posts: 2,974
Another day, another crazy idea.. decentralised Web page rendering..

You may remember me from such crazy ideas like "hey let's use the Philips CDI mpeg decoder in cd32 etc.. ;-)

here's another one.. Its about web-surfing on a 68 Amiga.. Even though we are about to enter a new era of nice WB on the small box Amigas (vampire v2 with hdmi out) websurfing is still going to suck because of the miserable web browsers for 68k.. And porting something like Odyssey apparently isnt happening. So...

Would it be possible to use something like a Raspberry Pi 2 (running a good linux distro or whatever) as a "proxy server", send a webpage render request from an Amiga "browser" to the Pi and the receive the resulting webpage (page rendering + javascript, java ) etc.. And display it on the Amiga?

And yes I have about 7-8 devices in my house that can already do it better but that's not the point here :-)
eXeler0 is offline  
Old 16 January 2016, 19:22   #2
Shatterhand
Warhasneverbeensomuchfun
 
Shatterhand's Avatar
 
Join Date: Jun 2001
Location: Rio de Janeiro / Brazil
Age: 41
Posts: 3,450
I know Fudebrowser, an old Browser for MSX computers, did something similar. All requests were first sent to a PC server in Sao Paulo that would render the page then send it to the MSX.

I don't know if this still works because I am not sure the server is still up (Last time I saw this working was like 10+ years ago). It was even more hardcore because the server was on internet and sending stuff through the internet, not at your house
Shatterhand is offline  
Old 16 January 2016, 20:01   #3
pandy71
Registered User
 
Join Date: Jun 2010
Location: PL?
Posts: 2,867
Quote:
Originally Posted by eXeler0 View Post
Would it be possible to use something like a Raspberry Pi 2 (running a good linux distro or whatever) as a "proxy server", send a webpage render request from an Amiga "browser" to the Pi and the receive the resulting webpage (page rendering + javascript, java ) etc.. And display it on the Amiga?
Short answer is Yes - you can imagin RPi as flicker fixer + video card + CPU accelrator + storage controller + network interface + (add whatever you want) - problem is that you need to glue Amiga with RPi (doable - video from Amiga overlayed trugh digital camera interface on RPi graphical plane).

VNC may be used to push graphical data to Amiga... but as there is no software then... it is another ideal that will never be alive.
pandy71 is offline  
Old 16 January 2016, 20:35   #4
ptyerman
Registered User
 
ptyerman's Avatar
 
Join Date: Jun 2012
Location: Worksop/UK
Age: 59
Posts: 1,328
Closest thing to it at the moment is to set up a "forwarding proxy" on your internal network. In the process of doing this myself, just need to decide on software.
Doing this you can remove ads and scripts from web pages and reduce images and banners and stuff, it can also recode the HTML sent.
Squid is the main proxy software available on Linux for this, on Windows I've been looking at Privoxy mainly, but there are others.
ptyerman is offline  
Old 16 January 2016, 21:35   #5
sploofy
 
Posts: n/a
The easiest way to accomplish this would be to use VNC or some other remote desktop sharing software and simply make it send the browser window from the remote machine (i.e. the Raspberry Pi) to the Amiga to display. There are variations of VNC that lets you send just a single application instead of the entire desktop.

There is a VNC viewer port for the Amiga, but I have no idea how functional it is.

Someone could probably do their own VNC port and tweak it a little to make it look like it's a browser running on the Amiga, even thought it's actually not.
 
Old 16 January 2016, 22:18   #6
rare_j
Zone Friend
 
rare_j's Avatar
 
Join Date: Apr 2005
Location: London
Posts: 1,178
You could vnc onto a PC running winuae with ppc emulation and so use an Amiga os4 web browser on your 68k Amiga.
rare_j is offline  
Old 16 January 2016, 23:50   #7
eXeler0
Registered User
 
eXeler0's Avatar
 
Join Date: Feb 2015
Location: Sweden
Age: 50
Posts: 2,974
Quote:
Originally Posted by rare_j View Post
You could vnc onto a PC running winuae with ppc emulation and so use an Amiga os4 web browser on your 68k Amiga.
Haha. but no... ;-)
If VNC on 68k Amiga worked well enough to do *that* why use a sub-par OS4 browser? And the PC would need to be turned on.. And I'd need an OS 4 License...
Raspberry Pi is super-cheap and (for me) an "always on" -device. And it's small enough to sit next to the Amiga.. (or even inside it).
eXeler0 is offline  
Old 17 January 2016, 08:21   #8
Jope
-
 
Jope's Avatar
 
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,900
Not a bad idea, but you need quite a bit of code that doesn't exist to parse the html + css into something the Amiga browser can stomach. A huge gif or jpg is naturally the easiest way, but takes up a lot of RAM on the amiga side.
Jope is offline  
Old 17 January 2016, 14:05   #9
eXeler0
Registered User
 
eXeler0's Avatar
 
Join Date: Feb 2015
Location: Sweden
Age: 50
Posts: 2,974
Quote:
Originally Posted by Jope View Post
Not a bad idea, but you need quite a bit of code that doesn't exist to parse the html + css into something the Amiga browser can stomach. A huge gif or jpg is naturally the easiest way, but takes up a lot of RAM on the amiga side.
Ye solution 1 where we parse HTML etc is probably a lot more work but would suit most Amigas. But no matter how you look at is, surfing the Web in 2016 on a 32MB 030 Amiga in 64 colors (or something like that) in 640x480 is never going to be particularly enjoyable anyway.

However the VNC solution is probably more realistic and the target platform would probably be Amigas with Picasso96 that can display at least 800x600 @ 16-bit and 060 (or Vampire v2 which has 128MB RAM and Picasso96 support in progress.)

Of course, if we had a good VNC solution, all kinds of new cool stuff could be done with the Amiga - Raspberry Pi 2 combo... not just Web browsing. ;-)
eXeler0 is offline  
Old 17 January 2016, 22:51   #10
Paulso
Registered User
 
Join Date: Jan 2016
Location: Ireland
Posts: 12
Instead of Vnc, hacking the Amigas genlock feature came to mind, but its an awful idea :-p
Going the proxy route seems the most practical way for the Amiga & other classic machines to browse since web standards have shifted and bloaty pages are the norm.

Rewriting pages on the fly usually requires some regex scripting, check out Squid proxy webserver and mogrify. Mogrify requires ImageMagick which is used to process images, heres a prank guide that could be modified for example:
https://www.funkypenguin.co.nz/how-t...-proxy-server/

Features such as adblocking, blaklisting junk sites, pre-spoofing the browser as googlebot etc. should produce lighter pages. Does anyone run a home proxy just to filter junk beforehand instead of waiting for your (modern) browser to do it & can you post a page load times on an Amiga with/without your proxy for benchmark/comparison.
Paulso is offline  
Old 18 January 2016, 00:55   #11
TenLeftFingers
Registered User
 
TenLeftFingers's Avatar
 
Join Date: Sep 2013
Location: Ireland
Posts: 800
If javascript can be dumbed down enough so just the trigger/event areas are labelled but not much more and the evemts are sent back to the model on the R Pi then that would take the lions portion of the work away from the Amiga browser. I dont know if thats doable with squid et al and I'm no JavaScript guru either. I like the sound of this approach more than VNC I have to say.
TenLeftFingers is offline  
Old 18 January 2016, 06:39   #12
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,377
The Opera Mini browser used to do that - all heavy decoding was done on their servers and the browser itself ended up with a table, basic animation and lots of image maps that it was fed by the Opera server. It allowed some basic feature phones to load pretty complicated websites easily when the internal browser hadn't a hope. I wonder if it's open source now...
Daedalus is offline  
Old 18 January 2016, 10:44   #13
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,193
If you are going to use a RasPi, just get hosted AROS on Linux instead.
Samurai_Crow is offline  
Old 18 January 2016, 14:59   #14
eXeler0
Registered User
 
eXeler0's Avatar
 
Join Date: Feb 2015
Location: Sweden
Age: 50
Posts: 2,974
Quote:
Originally Posted by Samurai_Crow View Post
If you are going to use a RasPi, just get hosted AROS on Linux instead.
I don't get it, how would that help?
(It's not that I don't already have a zillion devices that can run the latest version of Chrome or Firefox. ;-) )
eXeler0 is offline  
Old 18 January 2016, 15:20   #15
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,646
Quote:
Originally Posted by eXeler0 View Post
(It's not that I don't already have a zillion devices that can run the latest version of Chrome or Firefox. ;-) )
Then why even try to load a webpage on the Amiga???

Fail to see the point. Is it possible? I guess. Is it worth it? No.
Amiga1992 is offline  
Old 18 January 2016, 15:35   #16
TenLeftFingers
Registered User
 
TenLeftFingers's Avatar
 
Join Date: Sep 2013
Location: Ireland
Posts: 800
Quote:
Originally Posted by Samurai_Crow View Post
If you are going to use a RasPi, just get hosted AROS on Linux instead.
That's like saying that we shouldn't upgrade our Amiga's but run AROS instead. If people can spend hundreds on accellerator cards then a 30 euro upgrade that makes the Amiga browsing behaviour better is a great idea.

I like AROS. I'm keeping an eye on it in a VM and hope to run it on my laptop at some stage as my main OS, but it's different not better.
TenLeftFingers is offline  
Old 18 January 2016, 15:51   #17
LuMan
Amigan - an' lovin' it!!
 
LuMan's Avatar
 
Join Date: Nov 2010
Location: Nottingham, UK
Age: 55
Posts: 557
Quote:
Originally Posted by Akira View Post
Then why even try to load a webpage on the Amiga???

Fail to see the point. Is it possible? I guess. Is it worth it? No.
In essence, you are correct, Akira. But I think the point here is whether it can be done, and not whether it would be advantageous in any way. It's certainly not worth it as a 'useful' solution, but as a challenge, it does have merit for a bit of fun

As for the approach, the Opera Mini Browser (or whatever it was called), mentioned by Daedalus, is possibly the way to go.. Or a mixture of that and something that just squirts an image to Amiga. Remember, clicking links for downloads will need to be taken into account, too.

Another approach (for waht it's worth):
At any point, for an A1200 running at 640x512 interlace, the Pi will only need to shove an image of that size to the Amiga. When the user scrolls the page, the Pi will offset and send the updated image. This cuts down on the RAM requirements for the Amiga, but requires a new 'browser' to be written, which just sends commands to a purpose-written app on the Pi. Effectively this turns the Amiga into a dumb terminal (crikey, remember them things!!). The outputted image could even be an OS-friendly ILBM IFF image, so the Amiga has even less processing to do.

Of course, you'll need to find someone who can be bothered to write a new Amiga browser app, interface protocol and Pi webserver app
LuMan is offline  
Old 18 January 2016, 16:29   #18
eXeler0
Registered User
 
eXeler0's Avatar
 
Join Date: Feb 2015
Location: Sweden
Age: 50
Posts: 2,974
Quote:
Originally Posted by Akira View Post
Then why even try to load a webpage on the Amiga???

Fail to see the point. Is it possible? I guess. Is it worth it? No.
@Akira you have over 14.000 posts on these forums, have you not picked up yet that not everyone sees things like you ;-)
Why did the US put a man on the moon? Was it worth it? It was a cool thing to do, - what was it the man said.. "we will do this, not because it's easy but *because* it is hard "...
And in this case, apart from being an interesting challenge it could potentially save us some CF card shuffling.
eXeler0 is offline  
Old 18 January 2016, 16:48   #19
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,646
Oh yeah the US put a man on the moon "because it was cool".
Gonna leave your threads alone, don't worry.
Amiga1992 is offline  
Old 18 January 2016, 17:30   #20
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,193
Quote:
Originally Posted by TenLeftFingers View Post
That's like saying that we shouldn't upgrade our Amiga's but run AROS instead. If people can spend hundreds on accellerator cards then a 30 euro upgrade that makes the Amiga browsing behaviour better is a great idea.

I like AROS. I'm keeping an eye on it in a VM and hope to run it on my laptop at some stage as my main OS, but it's different not better.
The point I was making is that a RasPi ISN'T an Amiga upgrade. The Vampire 2 should be able to keep up with the RasPi if not go faster than the RasPi. To get the most out of a RasPi, use ARM native code. To get the most out of a 68k Amiga, produce optimized 68k code.

The saddest state of affairs about making an Amiga browser is that none of them have been written in Assembly. They are all written in C or C++. Amiga 68k C compilers suck compared to modern C compilers on other systems. This is why I don't like people trying to bootstrap their Amiga by tethering it to some ARM-based thing just because it's easier. The problem with 68k is it is unsupported not that it is incapable.
Samurai_Crow 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
web page of grafician Mark K. Jones JudasEZT Retrogaming General Discussion 6 04 February 2016 19:06
Extract a web page from AWeb cache jma Coders. Scripting 0 13 May 2013 21:02
Web page with lots of boards drivers AmigaFriend News 1 14 February 2009 20:19
Wanted Team/Emucamp Web page Carlos Ace Amiga websites reviews 14 05 November 2008 11:27
My web page ... Carlos Ace Amiga websites reviews 9 05 August 2002 00:20

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 10:17.

Top

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