Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
49 crawler(s) on-line.
 116 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 klx300r:  5 mins ago
 DiscreetFX:  8 mins ago
 Matt3k:  1 hr 39 mins ago
 agami:  3 hrs 10 mins ago
 amigasociety:  3 hrs 32 mins ago
 matthey:  4 hrs 18 mins ago
 RobertB:  4 hrs 35 mins ago
 Rob:  4 hrs 59 mins ago
 number6:  6 hrs 5 mins ago
 Karlos:  6 hrs 40 mins ago

/  Forum Index
   /  Amiga General Chat
      /  AmigaOS 3.9 vs 4.1/4.2: what's the big difference/misser?
Register To Post

Goto page ( Previous Page 1 | 2 | 3 | 4 | 5 | 6 )
PosterThread
broadblues 
Re: AmigaOS 3.9 vs 4.1/4.2: what's the big difference/misser?
Posted on 5-Jul-2014 17:11:55
#101 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4446
From: Portsmouth England

@Hypex

Quote:

If an Interface is a standard object or structure (and not a class) then how does it fit in with C++ or PortablE for that metter?



FastFileSystem I'm really starting wonder if you are playing a subtle trolling game or if I have to revoke my previous accustation of intelligence.

I hope neither is really true and we a just not explainiing our selves very well!

You can store the interface in your object. This helps encapsulates the os specific parts and you don't to do any variable renaming stunts to call the libraries, I used thi approach extensivly in my blender port.

rough ly speaking, pseudo code.


class System()
{
struct m_DOSIFace;

}

System::Contructor()
{
this.m_DOSIFace = OpenInterface("dos.library");
}

System::Print()
{
this.m_DOSIface->Printf("this is what I'm trying explian");
}

System::Destructor()
{
CloseInterface(this.m_DOSIFace);
}

sys = new System()

sys.Print();




Go look at the Ghost subsystem in blender to see the real thing in action.


Quote:

I see that as different. New APIs were created and new functions added. But there was no major change to how API calls were made.


Honestly there is less change involved than need to build with 68k gcc with it's inlines and macros. If you use __USE_INLINE__ then it's just another form of inlining functions.

And I have maintained a major cross platform project with little issue, just a few #ifdefs for specialist things.

And I'm developeing a 68k app ported to 0S4 with little issue, it was much harder to get it working on 68k gcc than on os4.

_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
Hypex 
Re: AmigaOS 3.9 vs 4.1/4.2: what's the big difference/misser?
Posted on 5-Jul-2014 17:12:43
#102 ]
Elite Member
Joined: 6-May-2007
Posts: 11215
From: Greensborough, Australia

@NutsAboutAmiga

Quote:
But because this is a old API, and concept of Objects as we know it today did not exist back in 80's when they designed the AmigaOS API for BCPL and Assembler language.


But wasn't BOOPSI developed in the 90's? In any case they certainly knew about OOP concepts like classes, objects and inheritence if the RKM is anything to go by.

And, Intituion is written in C. And wasn't designed for BCPL which was a DOS thing.

 Status: Offline
Profile     Report this post  
broadblues 
Re: AmigaOS 3.9 vs 4.1/4.2: what's the big difference/misser?
Posted on 5-Jul-2014 17:12:52
#103 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4446
From: Portsmouth England

@Hypex

Quote:

Reread the PDF on migrating to OS4 in the SDK.


For what purpose now? I've re-read it heaps of times.


You clearly didn't understand them.

_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
Hypex 
Re: AmigaOS 3.9 vs 4.1/4.2: what's the big difference/misser?
Posted on 7-Jul-2014 15:41:37
#104 ]
Elite Member
Joined: 6-May-2007
Posts: 11215
From: Greensborough, Australia

@broadblues

Quote:
FastFileSystem I'm really starting wonder


Sorry? How does FastFileSystem relate to an Exec Interface?

I was merely asking about what Deniil715 meant by "real object orientation here, using C++ or PortablE" in relation to an Interface.

So yes I'm not explaining myself that well! Or not asking that well.

Quote:
I used this approach extensivly in my blender port.


THat's interesting. Though I would associate System with Exec myself I can see how it's intended for a generic DOS API.

Quote:
And I'm developeing a 68k app ported to 0S4 with little issue, it was much harder to get it working on 68k gcc than on os4.


I've heard about 68K GCC being a pain and have some experience trying to use it.

Quote:
You clearly didn't understand them


Understand what now? Migrating? Interfaces. I understand them fine. So what's the problem here?

Last edited by Hypex on 08-Jul-2014 at 04:00 PM.

 Status: Offline
Profile     Report this post  
cymru 
Re: AmigaOS 3.9 vs 4.1/4.2: what's the big difference/misser?
Posted on 7-Jul-2014 16:32:02
#105 ]
Regular Member
Joined: 24-Feb-2014
Posts: 164
From: South of the Great Divide

@Hypex

69K?

Last edited by cymru on 07-Jul-2014 at 04:32 PM.

 Status: Offline
Profile     Report this post  
Hypex 
Re: AmigaOS 3.9 vs 4.1/4.2: what's the big difference/misser?
Posted on 8-Jul-2014 16:04:24
#106 ]
Elite Member
Joined: 6-May-2007
Posts: 11215
From: Greensborough, Australia

@cymru

Oh yes, haven't you heard of it? It's the sexy version of the 68K CPU, with sexy sex. The 69K contains the Motorola SEX instruction! LOL! *

* There is some truth to this.

 Status: Offline
Profile     Report this post  
Goto page ( Previous Page 1 | 2 | 3 | 4 | 5 | 6 )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle