21 April 2014, 17:12 | #1 |
Registered User
Join Date: Jul 2008
Location: Poland
Posts: 665
|
NetSurf
Hello, I'm preparing 3.1 release which will include AGA version.
I need help to modify install script to be able to choose between RTG and/or AGA. If possible option to select if TCP will be installed to Dosdrivers with text "Install TCP: (needed fo getvideo)" . Thank you. |
21 April 2014, 17:26 | #2 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,026
|
You should never install TCP to DosDrivers. TCP: belongs to the TCP/IP stack and is mounted when the stack is activated, usually by the stack. In case of Miami TCP does not even exist as a file but is activated anyway.
The only occasion when TCP could be put into DosDrivers is in WinUAE because there bsdsocket.library is active from the beginning. |
21 April 2014, 20:53 | #3 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,307
|
Can`t help but it is possible to install it manually?
|
22 April 2014, 00:04 | #4 |
Registered User
Join Date: Jul 2008
Location: Poland
Posts: 665
|
|
22 April 2014, 07:20 | #5 |
Zone Friend
Join Date: Oct 2006
Location: Nice / France
Posts: 206
|
Hi arti,
Wanted to try NetsurfAGA, but nothing happens when clicking the icon, tried to extract the lha on the amiga same thing. |
22 April 2014, 09:26 | #6 |
Registered User
Join Date: Jul 2008
Location: Poland
Posts: 665
|
Hello atilla06,
run from console with -v parameter, enter first netsurf folder (in console). |
22 April 2014, 11:36 | #7 | |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,026
|
Quote:
Code:
(if (= 0 (run "version >nil: cybergraphics.library" (safe))) (set #msg "RTG") ;else (set #msg "Native") ) Note that you cannot use the builtin function getversion because it only checks files but not resident modules. Picasso96 creates the library only in memory, not on disk. |
|
22 April 2014, 18:51 | #8 |
Zone Friend
Join Date: Oct 2006
Location: Nice / France
Posts: 206
|
ok arti it works,
But colors are not the good ones, colors are the same as your first release. |
22 April 2014, 19:52 | #9 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,307
|
Can someone upload the archive to TheZone or somewhere else where a simple download works? It seems there is an account needed for dropbox.
|
22 April 2014, 20:38 | #10 |
Registered User
Join Date: Jul 2008
Location: Poland
Posts: 665
|
Zoned.
|
23 April 2014, 06:10 | #11 |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,416
|
Artur,
You should talk to Minuous here on EAB to see if he can help with an install script (he has the skills). Cool to see you carrying on with this port Have you updated your source to open a 640x512 AGA PAL resolution screen yet? You might as well give people those extra pixels Last edited by NovaCoder; 23 April 2014 at 06:19. |
23 April 2014, 06:34 | #12 |
Registered User
Join Date: Jul 2008
Location: Poland
Posts: 665
|
NovaCoder,
yes I did, wasn't that hard I was thinking of making one executable with RTG and AGA. That would require adding aga code to sdl_rtg - would that be too difficult ? Last edited by arti; 23 April 2014 at 06:39. |
23 April 2014, 07:07 | #13 | |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,416
|
Quote:
I do have an RTG version of the SDL based on my AGA version (which itself is based on the original RTG SDL), confused yet? It should be possible to combine my RTG version with the AGA version into a single library, that is a good idea actually. I can't think of any obvious problems off the top of my head. It wouldn't be too hard to combine both of my libraries, it looks like you can pass the driver name to SDL_VideoInit(). I guess the biggest drawback is that my RTG hack only supports 8 bit full-screen. Last edited by NovaCoder; 23 April 2014 at 07:18. |
|
23 April 2014, 07:15 | #14 |
Registered User
Join Date: Jul 2008
Location: Poland
Posts: 665
|
|
23 April 2014, 07:51 | #15 |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,416
|
I hacked it a tiny bit
Original code: PHP Code:
New AGA code: PHP Code:
|
23 April 2014, 16:38 | #16 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,307
|
Thanks arti for uploading to TheZone! I`ve installed it usning the install script. My system: A1200 040/40 32MB AGA OS3.1 with speeup patches.
My comments: First, it seems in very early alpha state to me. Avoid PNG icons for AGA. At least for the install script. It won`t work. I had to lauch the script via shell to make it work. Don`t waste your time with install script. With some small changes NetSurfAGA could be easily (un-)installed manually. If you can`t avoid the programs in C folder then let it in progdir: instead of copy them to SYS:C. Avoid Devs/DosDrivers/TCP if possible and inet-handler too. It seems to is a part of AmiTCP/IP. Havn`t checked but I don`t use it but MiamiDx instead. Don`t knwo if that combination would work. I guess someone pointed already to ix libs. Avoid it, sorry. Should speed up things. About themes. If there isn`t a way to live without there schould be an empty theme like the YAM empty theme. In conjunction to this, text buttons are needed as alternative to get most speed on AGA. Now to the Netsurf screen. It opens a Pal higres interlace screen. It is necessary to have the possibility to change the screen mode. The user should change it via screen mode requester. I would use a DBLPal screen. The indivision user would use other screenmodes. The amount of colors (depth) of the screen mode must be able to change. I would use a 5 or 6 bit screen instead of 8 bit. It`s faster. I just launched Netsurf offline. Overall speed was bad. Unuseable I would say. Ok, I got MuForce hits what slow down too. Btw. a lot of hits appear while just move the mouse and click here and there a bit. Do you have a classic AGA Amiga where you can test Netsurf? The most hits where LONG READ from 00000014. I guess it won`t help you but in case here the first hit: Code:
LONG READ from 00000014 PC: 028E707C USP : 01AE2BD8 SR: 0004 (U0)(-)(-) TCB: 01897888 Data: 00000000 00000005 01AEDA10 00000002 028DCDFC 0295795A 00000001 01AE2C98 ----> 028DCDFC - "Tools:Modem/NetSurf/NetSurfAGA" Hunk 0000 Offset 0000126C ----> 0295795A - "Tools:Modem/NetSurf/NetSurfAGA" Hunk 0000 Offset 0007BDCA Addr: 00000000 01AE2C2C 02DD2730 00000000 0295795A 01AE2C1C 028DCBC0 010826EC Stck: 028E703C 00000002 01AECC10 01AEDA10 0295795A 01AE2C1C 0295799A 01AEDA10 Stck: 01AE2C00 01AECC10 00000007 01AECE10 00000017 0000009A 00000017 028DCCE4 Stck: 01AEDA10 01AE2C58 028DCD0C 01AEDA10 00000007 01B89AD0 00000006 00000001 Stck: 00000000 01AE2CBC 01AECC10 028EC69E 00000005 00000017 FFC6FFC6 00000000 Stck: 02957556 028DD258 01AECC10 00000005 00000017 00000DD6 0175BB64 00000001 Stck: 0058A937 005C6659 028DBB8C 0290B290 02DD294E 02DD2864 01AE2CCC 01080CB0 ----> 028E707C - "Tools:Modem/NetSurf/NetSurfAGA" Hunk 0000 Offset 0000B4EC ----> 028E703C - "Tools:Modem/NetSurf/NetSurfAGA" Hunk 0000 Offset 0000B4AC ----> 0295795A - "Tools:Modem/NetSurf/NetSurfAGA" Hunk 0000 Offset 0007BDCA ----> 0295799A - "Tools:Modem/NetSurf/NetSurfAGA" Hunk 0000 Offset 0007BE0A ----> 028DCCE4 - "Tools:Modem/NetSurf/NetSurfAGA" Hunk 0000 Offset 00001154 ----> 028DCD0C - "Tools:Modem/NetSurf/NetSurfAGA" Hunk 0000 Offset 0000117C ----> 028EC69E - "Tools:Modem/NetSurf/NetSurfAGA" Hunk 0000 Offset 00010B0E ----> 02957556 - "Tools:Modem/NetSurf/NetSurfAGA" Hunk 0000 Offset 0007B9C6 ----> 028DD258 - "Tools:Modem/NetSurf/NetSurfAGA" Hunk 0000 Offset 000016C8 ----> 028DBB8C - "Tools:Modem/NetSurf/NetSurfAGA" Hunk 0000 Offset FFFFFFFC ----> 0290B290 - "Tools:Modem/NetSurf/NetSurfAGA" Hunk 0000 Offset 0002F700 ----> 02DD294E - "Tools:Modem/NetSurf/NetSurfAGA" Hunk 0000 Offset 004F6DBE ----> 02DD2864 - "Tools:Modem/NetSurf/NetSurfAGA" Hunk 0000 Offset 004F6CD4 PC-8: 2F280004 4EB90293 161E588F 45F902DD 27304A00 662C487A FFC82679 019FBD8C PC *: 2F2B0014 4EB9028D F422487A FFB44E92 23C0019F BCDC4FEF 000C4280 4CDF3C04 028e705c : 2f28 0004 move.l $4(a0),-(a7) 028e7060 : 4eb9 0293 161e jsr $293161e 028e7066 : 588f addq.l #$4,a7 028e7068 : 45f9 02dd 2730 lea.l $2dd2730,a2 028e706e : 4a00 tst.b d0 028e7070 : 662c bne.s $28e709e 028e7072 : 487a ffc8 pea.l $28e703c(pc) 028e7076 : 2679 019f bd8c movea.l $19fbd8c,a3 028e707c : *2f2b 0014 move.l $14(a3),-(a7) 028e7080 : 4eb9 028d f422 jsr $28df422 028e7086 : 487a ffb4 pea.l $28e703c(pc) 028e708a : 4e92 jsr (a2) 028e708c : 23c0 019f bcdc move.l d0,$19fbcdc 028e7092 : 4fef 000c lea.l $c(a7),a7 028e7096 : 4280 clr.l d0 028e7098 : 4cdf 3c04 movem.l (a7)+,d2/a2-a5 Name: "Shell Process" CLI: "Tools:Modem/NetSurf/NetSurfAGA" Hunk 0000 Offset 0000B4EC Please tell me what of my comments is possible or not or you will add. So I can decide if it would make sense to test it further on my config. Thanks in advance. |
23 April 2014, 21:50 | #17 |
Registered User
Join Date: Feb 2013
Location: Dublin/Ireland
Posts: 403
|
Brilliant, looking forward to this. Thanks to Arti and all involved in this port.
|
29 April 2014, 12:38 | #18 |
Users Awaiting Email Confirmation
Join Date: Apr 2014
Location: my town
Posts: 1
|
@Arti:
Can't you make a ReAction version (the OS4 version), instead of sdl ? Sdl gui is a big show-stopper; thats why I keep on using AWeb! |
30 April 2014, 03:07 | #19 | |
Registered User
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,416
|
Quote:
I had a go myself once but didn't get very far, NetSurf is an absolute monster to compile Last edited by NovaCoder; 30 April 2014 at 03:27. |
|
13 May 2014, 20:31 | #20 |
Registered User
Join Date: Jul 2008
Location: Poland
Posts: 665
|
OK, netsurf doesn't to be installed anymore, yay .
Only one thing, how to execute a script without openig a iconx shell window? I've set in .info c:iconx. Code:
;TCP: is needed for getvideo Assign TCP: Exists IF Warn Mount TCP: from AmiTCP:devs/Inet-Mountlist EndIf Assign ENV: env ADD Assign LIBS: libs ADD if (= 0 (version >nil: cybergraphics.library )) NetSurfRTG >nil: else NetSurfAGA >nil: endif |
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 |
|
|