Welcome, Guest. Please login or register.

Author Topic: new os3.x software ?  (Read 25839 times)

Description:

0 Members and 1 Guest are viewing this topic.

guest7146

  • Guest
Re: new os3.x software ?
« Reply #104 from previous page: March 25, 2010, 11:58:32 PM »
Quote from: a1200;548087
Cammy that is a work of art. I too like many it seems have decided that running OS3.1 is better overall than 3.9 :). Just bought the developer cd 2.1 so I should be coding soon for the Amiga myself. I do a little php etc, so "how hard can it be??!?!"

I'm in a similar boat.  I've also just bought the developer CD, and my background is embedded programming (C, assembly), plus I know a bit of Windows application programming in C++ (though I'm not well practiced in this respect).

I'm also looking to get into Amiga programming over the Summer.

Apple_Hammer
 

Offline matthey

  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1294
    • Show only replies by matthey
Re: new os3.x software ?
« Reply #105 on: March 26, 2010, 12:01:30 AM »
Quote from: SamuraiCrow;549639
@DavidF215
Actually, Payback is pretty CPU bound since it is a 3D game.  Having a better compiler would make a HUGE difference.  As for GCC vs. SAS/C, they both optimize code but neither produces near-perfect code so comparing those two might not be the best idea.  The main advantage of SAS/C is its top-notch debugger.


Have you tried BDebug by Ralph Schmidt in the Barfly archive on Aminet? It's very powerful but still has a bit of a learning curve...
http://aminet.net/dev/asm/BarflyDisk2_00.lha

I used to use Metascope which is the friendliest debugger but It sadly doesn't support the 68060.

Quote

If somebody would offer a bounty for porting LLVM and its associated versions of GCC and the Clang C compiler to OS 3.x, I'd gladly take it.  It doesn't have a decent source-level debugger yet but that can be left for a later bounty.


That would be interesting and probably easier to work with than GCC but it doesn't look like it supports 68k? Wouldn't that be a lot of work? It would be nice for the PPC Amigas.
 

Offline chris

Re: new os3.x software ?
« Reply #106 on: March 26, 2010, 12:12:05 AM »
Quote from: Tumbleweed;548281
How complicated would it be to code a MUI front end for NetSurf?


I know nothing of MUI, but I am pretty well versed in the NetSurf frontend code.  Firstly, Itix has already written a MUI frontend for NetSurf for MorphOS - however NetSurf has changed a fair bit so it will need updating.  I have no idea how feature-rich or complete that version is, having never seen it.  Knowing nothing about MUI, I couldn't begin to say how much work it is to back-port to OS3 as well as make the necessary changes to bring it back in line with trunk.

Starting from scratch, a native basic working port of NetSurf should take a matter of weeks.  I would of course rather see one based on my OS4 version, as it aids bug-fixing and development for me.  Back-porting the OS4 version to OS3.9 shouldn't be massively complicated, however some routines might need to be completely rewritten.  Pre-OS3.9, I'm not sure which functions and features were in ClassAct.

Quote from: lionstorm;548545
and dont forget that Netsurf currently lacks javascript !


Slowly being worked on.  There's nothing to stop you helping :)

Somebody mentioned memory usage.  There is a problem with the cache in current versions of NetSurf which is in the process of being rewritten.  That's causing extreme amounts of memory to be used on some sites.

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: new os3.x software ?
« Reply #107 on: March 26, 2010, 12:14:01 AM »
@DavidF215 & AppleHammer
I would recommend using C and VBCC for any new Amiga projects. It's the easiest to install, generates pretty good code and getting better, and it's supported on all flavors of the Amiga. Have a problem or bug then drop Frank Wille an e-mail. If you need C++ then probably your best option is GCC for now but realize it's going to be very slow and eat a lot of memory.

vbcc web site: http://sun.hasenbraten.de/vbcc/
Amiga coding help can be found here...
http://utilitybase.com/
http://eab.abime.net/forumdisplay.php?f=37
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: new os3.x software ?
« Reply #108 on: March 26, 2010, 05:40:05 AM »
@Matthey

BDebug / Metascope can debug C source?!?
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline DavidF215

  • Full Member
  • ***
  • Join Date: Aug 2002
  • Posts: 182
  • Country: us
  • Gender: Male
    • Show only replies by DavidF215
    • Cross Timbers Haven
Re: new os3.x software ?
« Reply #109 on: March 26, 2010, 09:02:02 AM »
Quote from: matthey;549708
@DavidF215 & AppleHammer
I would recommend using C and VBCC for any new Amiga projects. It's the easiest to install, generates pretty good code and getting better, and it's supported on all flavors of the Amiga. Have a problem or bug then drop Frank Wille an e-mail. If you need C++ then probably your best option is GCC for now but realize it's going to be very slow and eat a lot of memory.

vbcc web site: http://sun.hasenbraten.de/vbcc/
Amiga coding help can be found here...
http://utilitybase.com/
http://eab.abime.net/forumdisplay.php?f=37

But my code is already in C++.

Okay, so I've read through the Amiga Developer Docs (http://amigadev.elowar.com/), but I couldn't find functions to load an image (i.e. a PNG or a BMP) from a file. I've also read through the old ACM and Cmanuals, but nothing there either.  ??

What would be the AmigaOS3.x native equivalent of the SDL function:
 SDL_Surface *Image=SDL_LoadBMP("image.bmp");    
...to load a BMP image as, I presume, an Amiga bitmap?
« Last Edit: March 26, 2010, 09:05:03 AM by DavidF215 »
AmigaOS enthusiast since 1993.
 

Offline Tumbleweed

Re: new os3.x software ?
« Reply #110 on: March 26, 2010, 01:22:37 PM »
Quote from: chris;549707


Starting from scratch, a native basic working port of NetSurf should take a matter of weeks.  
Chris


So if a bounty were to be raised for a MUI version of NetSurf it wouldn't take too long for someone to produce some results?

If that's so then I'd be up for contributing to a bounty for a MUI version of NetSurf.

Weed
A3000T, Cybervision64, CSMKII 060; A3000D, PicassoII, Z3 Fastlane; A2000D, 040, PicassoII; A4000D, A1200, Blizzard 030 MKIV  (not working - next project)
 

Offline Gulliver

Re: new os3.x software ?
« Reply #111 on: March 26, 2010, 01:59:43 PM »
Quote from: Tumbleweed;549760


If that's so then I'd be up for contributing to a bounty for a MUI version of NetSurf.

Weed


+1
 

Offline SamuraiCrow

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2280
  • Country: us
  • Gender: Male
    • Show only replies by SamuraiCrow
Re: new os3.x software ?
« Reply #112 on: March 26, 2010, 04:39:12 PM »
Quote from: DavidF215;549745
But my code is already in C++.

Okay, so I've read through the Amiga Developer Docs (http://amigadev.elowar.com/), but I couldn't find functions to load an image (i.e. a PNG or a BMP) from a file. I've also read through the old ACM and Cmanuals, but nothing there either.  ??

You should be looking at the documentation for Datatypes.library.  It loads files of many types.  Picture.datatype is the mainly used datatype.  You don't have to care if the filetype is IFF, GIF, PNG, or BMP as long as the user has the appropriate datatypes to load them.
 

Offline chris

Re: new os3.x software ?
« Reply #113 on: March 26, 2010, 07:19:06 PM »
Quote from: Tumbleweed;549760
So if a bounty were to be raised for a MUI version of NetSurf it wouldn't take too long for someone to produce some results?


There was some discussion on the dev list about this very topic, unfortunately I can't find the emails where times were quoted for how long it takes to port to a new platform, but it was a matter of weeks (a recent Java port took something like two days).  IIRC I got the OS4 version running usefully in less than two months.

If somebody starts from the OS4 version rather than from scratch they can probably do it quicker and retain most of the features.

Please can I request that if this bounty is created, there are conditions to "join the NetSurf-dev mailing list" and "get the source merged back into SVN".
« Last Edit: March 26, 2010, 07:26:52 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 B00tDisk

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Dec 2002
  • Posts: 1670
    • Show only replies by B00tDisk
    • http://www.thedelversdungeon.com
Re: new os3.x software ?
« Reply #114 on: March 26, 2010, 07:32:49 PM »
Quote from: a1200;548035
@Fanscale

Well you shouldn't pirate anything just because it doesn't fall within your budget -that's like saying "I can't afford that car, so I will steal it instead".


Except, of course, for the part where it is totally not like stealing a car, which is all of it.  That is to say, it's entirely not at all like stealing a car.
Back away from the EU-SSR!
 

Offline B00tDisk

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Dec 2002
  • Posts: 1670
    • Show only replies by B00tDisk
    • http://www.thedelversdungeon.com
Re: new os3.x software ?
« Reply #115 on: March 26, 2010, 07:35:08 PM »
You know, it comes to me that the m68k linux development community might be a place to start.  A lot of more "modernized" linux apps are very dependency-heavy, so that might be problematic, but still, its an idea.  There's sources out there to be ported! :)
Back away from the EU-SSR!
 

Offline kolla

Re: new os3.x software ?
« Reply #116 on: March 26, 2010, 10:45:38 PM »
But m68k linux devs live in an alternate reality where gcc 4 does not make code that is so much worse than gcc 2.95.3, so I don't think there is much to gain from that.

Yes I have been doing some experimentation, compiling up the very same programs using different version of gcc (2.95.3, 3.4.6 and 4.2.4) and the resulting binaries are similar in size, allthough the ones made with 4.2.4 are typically a little smaller, and the speed is pretty much identical. Newer gcc requires updated (e)glibc, and that is also coming RSN, so I'm looking forward to gcc 4.5.
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 DavidF215

  • Full Member
  • ***
  • Join Date: Aug 2002
  • Posts: 182
  • Country: us
  • Gender: Male
    • Show only replies by DavidF215
    • Cross Timbers Haven
Re: new os3.x software ?
« Reply #117 on: March 27, 2010, 12:47:05 AM »
Quote from: SamuraiCrow;549784
You should be looking at the documentation for Datatypes.library.  It loads files of many types.  Picture.datatype is the mainly used datatype.  You don't have to care if the filetype is IFF, GIF, PNG, or BMP as long as the user has the appropriate datatypes to load them.
Thanks. Guess I'll just buy the Dev CD if I can find one.

I've been re-reading the Amiga C Encyclopedia and Amiga was ahead of its time. It was DirectX before DirectX was even thought about. Nicely integrated Library system. It gives evidence that a good product can fail with poor marketing.
AmigaOS enthusiast since 1993.
 

Offline SamuraiCrow

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2280
  • Country: us
  • Gender: Male
    • Show only replies by SamuraiCrow
Re: new os3.x software ?
« Reply #118 on: March 27, 2010, 06:18:31 PM »
The Dev CD is good for up to AmigaOS 3.5.  If you need 3.9 documentation you can look at http://utilitybase.com/ref/?action=List&funcgroup=AmigaOS instead.
 

Offline nicholas

Re: new os3.x software ?
« Reply #119 on: November 15, 2010, 06:55:12 PM »
Quote from: Cammy;548071
Just for the hell of it, I thought I'd post the latest screenshot of my A1200's Workbench. It's running in 16 colours so it's nice and responsive, and you can see both GlowIcons and NewIcons, the drawers for the Christmas game competition games, icons for SabreMSN and AmiMSN (two up-to-date OS3 MSN clients), and Tiny Invaders.



I'm running in PAL High Res Interlace with as much Overscan as my LCD TV will display, running through an RGB-S-Video adapter from AmigaManiac, so there's no flicker, just a nice solid display (with noise-reduction which helps soften the dithering).



WOW!!!! :cool::eek:
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini