amiga.org
     
iconAll times are GMT -6. The time now is 03:43 PM. | Welcome to Forum, please register to access all of our features.

Amiga.org Operating System Specific Discussions Amiga OS Amiga OS -- Development AmigaOS 3.x programs on AmigaOS 4.x

Amiga OS -- Development This particular forum deals with issues regarding development for all versions of AmigaOS.

Reply
 
Thread Tools Display Modes
Old 09-05-2008, 01:10 AM   #1
DavidF215
Technoid
Points: 8,686, Level: 62 Points: 8,686, Level: 62 Points: 8,686, Level: 62
Activity: 1% Activity: 1% Activity: 1%
 
Join Date: Aug 2002
Location: Texas
Posts: 172
Blog Entries: 9
Default AmigaOS 3.x programs on AmigaOS 4.x

How well do programs and apps created and compiled for AmigaOS 3.x perform on AmigaOS 4.x? Do they run well, crash, run slower, have odd behaviors, etc?
__________________
Some are gamers and some are coders. I'm a little of both but lean towards coders.
http://games.whitesaber.com
DavidF215 is offline   Reply With Quote
Old 09-05-2008, 01:23 AM   #2
tboeckel
Merely Curious
Points: 4,355, Level: 42 Points: 4,355, Level: 42 Points: 4,355, Level: 42
Activity: 2% Activity: 2% Activity: 2%
 
Join Date: Jun 2006
Posts: 9
Default Re: AmigaOS 3.x programs on AmigaOS 4.x

That very much depends on the application.

If a program crashes with OS3 then it will definitely crash with OS4, too. It may crash with OS4 even if it runs very stable with OS3, since OS4 catches lots of invalid memory accesses which went unnoticed with OS3.

Usually they will run faster on OS4, because the PPC CPU is faster than the 68k CPU, even without JIT execution.
tboeckel is offline   Reply With Quote
Old 09-05-2008, 01:28 AM   #3
xeron
Kindred of Babble-on
Points: 14,959, Level: 79 Points: 14,959, Level: 79 Points: 14,959, Level: 79
Activity: 1% Activity: 1% Activity: 1%
 
xeron's Avatar
 
Join Date: Mar 2002
Posts: 2,533
Blog Entries: 12
Send a message via ICQ to xeron Send a message via MSN to xeron
Default Re: AmigaOS 3.x programs on AmigaOS 4.x

On the whole, compatibility is very good with system friendly apps.

If you have any apps in particular, just mention them here, and i'll let you know if they run OK (if i have them...).
__________________
Playstation Network ID: xeron6
xeron is offline   Reply With Quote
Old 09-05-2008, 02:49 AM   #4
amigadave
Lifetime Member
Points: 21,651, Level: 92 Points: 21,651, Level: 92 Points: 21,651, Level: 92
Activity: 2% Activity: 2% Activity: 2%
 
amigadave's Avatar
 
Join Date: Jul 2004
Location: Big Bear Lake, CA
Posts: 3,468
Default Re: AmigaOS 3.x programs on AmigaOS 4.x

Quote:
tboeckel wrote:
That very much depends on the application.

If a program crashes with OS3 then it will definitely crash with OS4, too. It may crash with OS4 even if it runs very stable with OS3, since OS4 catches lots of invalid memory accesses which went unnoticed with OS3.
I hope that is not true!

I would think that the developers of OS4 are smart enough to enable OS3 apps (the ones that don't bang the hardware) that run well, to continue to run well on OS4. From the wording of your quote above, it sounds like you are saying that OS4 crashes while running some OS3 apps that usually run fine on OS3, but they crash an OS4 machine?

I would think that the OS4 developers would have a better solution for trapping bad code in an OS3.x application instead of allowing it to bring the OS4 computer down. Please tell me it works that way.

Quote:
Usually they will run faster on OS4, because the PPC CPU is faster than the 68k CPU, even without JIT execution.
If they don't, then what was the point of porting the AmigaOS to PPC native? I am sure they must run faster. :-D
__________________
How are you helping the Amiga community?
amigadave is offline   Reply With Quote
Old 09-05-2008, 04:18 AM   #5
cv643d
Defender of the Faith
Points: 10,779, Level: 68 Points: 10,779, Level: 68 Points: 10,779, Level: 68
Activity: 5% Activity: 5% Activity: 5%
 
cv643d's Avatar
 
Join Date: May 2003
Location: Sweden
Posts: 1,195
Blog Entries: 1
Default Re: AmigaOS 3.x programs on AmigaOS 4.x

For example, HippoPlayer is a stable module player on 3.x. Never crashed on me before. On OS4 it works nice but everytime I quit it I get an error.

DeliPlayer and EaglePlayer refuse to play modules (or crashed), too bad since they would really work good on PPC to be able to enjoy multiple graphics scope and such.
__________________
Amiga articles
"New shell. It was finished a while back, but I still see bugs, haha" - SSolie
cv643d is offline   Reply With Quote
Old 09-05-2008, 05:09 AM   #6
xeron
Kindred of Babble-on
Points: 14,959, Level: 79 Points: 14,959, Level: 79 Points: 14,959, Level: 79
Activity: 1% Activity: 1% Activity: 1%
 
xeron's Avatar
 
Join Date: Mar 2002
Posts: 2,533
Blog Entries: 12
Send a message via ICQ to xeron Send a message via MSN to xeron
Default Re: AmigaOS 3.x programs on AmigaOS 4.x

Quote:
amigadave wrote:
From the wording of your quote above, it sounds like you are saying that OS4 crashes while running some OS3 apps that usually run fine on OS3, but they crash an OS4 machine?
On OS3.x, if you read from or write to somewhere you shouldn't, nothing stops it from happening. It could be harmless, or it might have corrupted something which doesn't immediately cause a problem, but might cause a crash later on (maybe even when you're using some other innocent piece of software that appears to be the cause of the crash!).

OS4 traps illegal reads and writes and suspends the program, giving a lot of useful information for developers to fix their broken software. Unfortunately, some old software is no longer developed, and so will always remain broken, but you can quite often continue execution of the program itself.

One upshot of this is that software developed for OS4 tends to be very stable, because OS4 provides excellent debug information when applications do misbehave, and actually, a LOT of the 68k software i used to use on OS4 has been replaced with new native software anyway.

But to get back to your original point, a LOT of OS3.x system friendly software runs just fine on OS4.x without issue.

Quote:
If they don't, then what was the point of porting the AmigaOS to PPC native? I am sure they must run faster
Oh yes, apps run a lot faster on the PPC. Not only is the emulated code faster, but since the operating system and all its libraries are PPC native, they benefit from that extra speed too!
__________________
Playstation Network ID: xeron6
xeron is offline   Reply With Quote
Old 09-05-2008, 10:14 AM   #7
amigadave
Lifetime Member
Points: 21,651, Level: 92 Points: 21,651, Level: 92 Points: 21,651, Level: 92
Activity: 2% Activity: 2% Activity: 2%
 
amigadave's Avatar
 
Join Date: Jul 2004
Location: Big Bear Lake, CA
Posts: 3,468
Default Re: AmigaOS 3.x programs on AmigaOS 4.x

@xeron,

Thanks for clearing that up. I didn't think that the developers would allow old, badly coded OS3.x programs to crash the entire AmigaOS, but that is what the original comment I quoted sounded like he was saying.
__________________
How are you helping the Amiga community?
amigadave is offline   Reply With Quote
Old 09-11-2008, 07:37 PM   #8
DavidF215
Technoid
Points: 8,686, Level: 62 Points: 8,686, Level: 62 Points: 8,686, Level: 62
Activity: 1% Activity: 1% Activity: 1%
 
Join Date: Aug 2002
Location: Texas
Posts: 172
Blog Entries: 9
Default Re: AmigaOS 3.x programs on AmigaOS 4.x

Thanks for the feedback. I was hoping that 3.x programs would run decently on 4.x systems.

I have StormC v3 from my Amithlon CD. Does anyone know if upgrading to StormC v4 is worth it, or if an alternative, better compiler for 3.x/4.x exists?

Also, has the BOOL type in AmigaOS been updated to the ANSI C bool type? I was compiling some code I brought over to AOS that had bool types but StormC v3 made me change from bool to BOOL and false to FALSE along with adding an include statement for the boolean type--an odd requirement I thought.
__________________
Some are gamers and some are coders. I'm a little of both but lean towards coders.
http://games.whitesaber.com
DavidF215 is offline   Reply With Quote
Old 09-11-2008, 07:47 PM   #9
SamuraiCrow
Premium Member
Points: 14,084, Level: 77 Points: 14,084, Level: 77 Points: 14,084, Level: 77
Activity: 11% Activity: 11% Activity: 11%
 
SamuraiCrow's Avatar
 
Join Date: Feb 2002
Location: Colorado, USA
Posts: 2,065
Blog Entries: 2
Send a message via Yahoo to SamuraiCrow Send a message via Skype™ to SamuraiCrow
Default Re: AmigaOS 3.x programs on AmigaOS 4.x

StormC 4 is worth it because just about anything newer doesn't support graphical use of the debugger and anything older doesn't support C++ very well.

bool should be supported on Storm C++ 4.
SamuraiCrow is offline   Reply With Quote
Reply

Bookmarks

Tags
amigaos , programs

Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
New AmigaOS??? TheCyberCo General chat about Amiga topics 77 11-19-2008 09:02 PM
How many of you are still using AmigaOS 3.x ? AmigaMance General chat about Amiga topics 61 11-17-2008 02:38 PM
AmigaOS 4.1 amigakit Amiga Marketplace 27 08-28-2008 07:58 PM
DVD-R/RW on AmigaOS 3.9? DaNi Amiga Software Issues and Discussion 1 11-19-2003 03:21 PM
AmigaOS 4.0 68k DaNi General chat about Amiga topics 19 10-24-2003 09:02 AM