Welcome, Guest. Please login or register.

Author Topic: Dave Needle on Amiga...  (Read 6821 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Iggy

  • Hero Member
  • *****
  • Join Date: Aug 2009
  • Posts: 5348
    • Show all replies
Re: Dave Needle on Amiga...
« on: May 05, 2013, 05:39:53 AM »
Quote from: magnetic;733784
thanks for the link. interesting vid. Of course the first comment is by that moron franko. Every time he talks he embarrasses himself.


For God's sake magnetic, get over it.
At least he never meddled in MorphOS.
"Not making any hard and fast rules means that the moderators can use their good judgment in moderation, and we think the results speak for themselves." - Amiga.org, terms of service

"You, got to stem the evil tide, and keep it on the the inside" - Rogers Waters

"God was never on your side" - Lemmy

Amiga! "Our appeal has become more selective"
 

Offline Iggy

  • Hero Member
  • *****
  • Join Date: Aug 2009
  • Posts: 5348
    • Show all replies
Re: Dave Needle on Amiga...
« Reply #1 on: May 05, 2013, 05:52:58 AM »
Oh, and as a quick note on the "we could open multiple copies of a program" comment.
As they former vendor of 68K based OS-9 systems, WE could run multiple instance of a program and only have ONE copy of it in memory with multiple user/data areas.

That's where you guys blew it.
Loose sloppy coding that created all those lovely guru meditation crashes.

Even without memory protection, our program were structured better and were always written for position independent addressing.

SO...there is still a currently update 68K version of OS-9 available while AmigaOS 4 struggles to convince everyone that it is an AmigaOS (which of course it is, Hyperion can even incorporate the entirety of OS3.1 into OS4 if it desires).

I'd still love to see a tight micro kernel based OS that uses position independent addressing with a good tight graphic user interface.
"Not making any hard and fast rules means that the moderators can use their good judgment in moderation, and we think the results speak for themselves." - Amiga.org, terms of service

"You, got to stem the evil tide, and keep it on the the inside" - Rogers Waters

"God was never on your side" - Lemmy

Amiga! "Our appeal has become more selective"
 

Offline Iggy

  • Hero Member
  • *****
  • Join Date: Aug 2009
  • Posts: 5348
    • Show all replies
Re: Dave Needle on Amiga...
« Reply #2 on: May 05, 2013, 11:07:01 AM »
Quote from: psxphill;733800
The Amiga could do this too.
 

 
Amiga software was position independent.
 


Amiga addressing is rarely designed to be reentrant.
In fact some coders used the heinous practice of creating self modifying code..
That makes reentrancy virtually impossible.
And the OS doesn't manage this function leaving the task to "friendly" applications.
That why older Amiga (and Windows) apps sometimes cause the system to go bye-bye.
And most code on 68K and later machines is position independent (or at least position relative).
"Not making any hard and fast rules means that the moderators can use their good judgment in moderation, and we think the results speak for themselves." - Amiga.org, terms of service

"You, got to stem the evil tide, and keep it on the the inside" - Rogers Waters

"God was never on your side" - Lemmy

Amiga! "Our appeal has become more selective"
 

Offline Iggy

  • Hero Member
  • *****
  • Join Date: Aug 2009
  • Posts: 5348
    • Show all replies
Re: Dave Needle on Amiga...
« Reply #3 on: May 05, 2013, 04:37:09 PM »
Reentrant code is not solely a function of a compiler switch.
Many of us were actually using assemblers in the 80's.

In any case, it was not a common function of Amiga programs.
Although it is a great way to write modular threaded code
"Not making any hard and fast rules means that the moderators can use their good judgment in moderation, and we think the results speak for themselves." - Amiga.org, terms of service

"You, got to stem the evil tide, and keep it on the the inside" - Rogers Waters

"God was never on your side" - Lemmy

Amiga! "Our appeal has become more selective"
 

Offline Iggy

  • Hero Member
  • *****
  • Join Date: Aug 2009
  • Posts: 5348
    • Show all replies
Re: Dave Needle on Amiga...
« Reply #4 on: May 05, 2013, 06:24:41 PM »
Quote from: psxphill;733832
That is irrelevant, you're blaming the OS for bad software.


And you are being dismissive.
I had to write reentrant code for the OS I was using.
It was required.
AmigaOS allowed for bad programming practices.
So, yeah, I'm blaming the OS.

But, on the other hand, you have a strong point.
The programmers were frequently self taught and not always schooled on a variety of issued that compromised what they were creating.

And the OS, left to its own, was as stable (maybe more so) then many alternatives.
"Not making any hard and fast rules means that the moderators can use their good judgment in moderation, and we think the results speak for themselves." - Amiga.org, terms of service

"You, got to stem the evil tide, and keep it on the the inside" - Rogers Waters

"God was never on your side" - Lemmy

Amiga! "Our appeal has become more selective"
 

Offline Iggy

  • Hero Member
  • *****
  • Join Date: Aug 2009
  • Posts: 5348
    • Show all replies
Re: Dave Needle on Amiga...
« Reply #5 on: May 05, 2013, 09:00:12 PM »
Quote from: psxphill;733841
How could the OS detect or enforce it? Did you just run into problems if you ran more than one copy?


No, it is a required function.
It also explain why the OS wasn't ported to Intel platforms until the '386 was introduced. Not enough CPU power to pull of something that Motorola had been doing since the time of their 8 bit products.
It was also useful to be able to assign priority values to processes so that processes that didn't need too much CPU time didn't waste it.
"Not making any hard and fast rules means that the moderators can use their good judgment in moderation, and we think the results speak for themselves." - Amiga.org, terms of service

"You, got to stem the evil tide, and keep it on the the inside" - Rogers Waters

"God was never on your side" - Lemmy

Amiga! "Our appeal has become more selective"
 

Offline Iggy

  • Hero Member
  • *****
  • Join Date: Aug 2009
  • Posts: 5348
    • Show all replies
Re: Dave Needle on Amiga...
« Reply #6 on: May 05, 2013, 10:16:50 PM »
Quote from: A6000;733846
I do not understand, what function in OS9 forced you to write code in a pre-ordained way.
Should that function be added to AROS if it doesn't already have it?


No, we aren't talking Mac OS here, and AROS is based on the AmigaOS 3.1 API.
Why would you want to force AROS to do something that is optional.
The entire matter was much more important when memory was expensive.
"Not making any hard and fast rules means that the moderators can use their good judgment in moderation, and we think the results speak for themselves." - Amiga.org, terms of service

"You, got to stem the evil tide, and keep it on the the inside" - Rogers Waters

"God was never on your side" - Lemmy

Amiga! "Our appeal has become more selective"
 

Offline Iggy

  • Hero Member
  • *****
  • Join Date: Aug 2009
  • Posts: 5348
    • Show all replies
Re: Dave Needle on Amiga...
« Reply #7 on: May 06, 2013, 12:44:11 AM »
Quote from: psxphill;733851
Required by who and how was that requirement tested for and enforced?

I've already explained this so I'll walk you through it again in more detail.
Under Microware's OS-9 task scheduling and the assignment data areas (which are separate  from program areas and will be multiple IF more then one process calls another program) are some of the kernal's primary activities.
Could you create non-reentrant code? Of course you could if you had a module that would never be called by more than one process.
And that would probably fall back to loading a second copy of that module if two processes called it.

But since the compilers were already designed for reentrancy AND the core of the operating system was optimized for it, you wouldn't have seen it very often.

You guys need to look at how a microkernel based OS is designed to work. It encourages specific programing habits.
I don't know if MorphOS relies as heavily on this, but I would not be surprised to see that it had been implemented.

You see, again, by separating program modules and data modules, you're optimized to implement reentrancy.

Now, short of loaning you a Pascal09 or Basic09 manual, or walking you through how you would set this up under C, I can't see how to explain this to you further.
« Last Edit: May 06, 2013, 12:47:06 AM by Iggy »
"Not making any hard and fast rules means that the moderators can use their good judgment in moderation, and we think the results speak for themselves." - Amiga.org, terms of service

"You, got to stem the evil tide, and keep it on the the inside" - Rogers Waters

"God was never on your side" - Lemmy

Amiga! "Our appeal has become more selective"
 

Offline Iggy

  • Hero Member
  • *****
  • Join Date: Aug 2009
  • Posts: 5348
    • Show all replies
Re: Dave Needle on Amiga...
« Reply #8 on: May 06, 2013, 02:09:30 AM »
Quote from: desiv;733864
Just went back thru your posts..

Where exactly did you "explain this before?"

Where you said:



All that says is that it (whatever "it" is) is a required function and hints there is CPU overhead, but not why..

Here:

Doesn't seem to explain anything there...

This:

Again, nothing I see there is an explanation....

Not this:


That just implies you did it as a programmer, not that anything required it..

So, if you thought you had already explained it...

I'm not seeing it...

But the "I'm so much better than you and if I HAVE to explain it again" attitude is kind of funny...  

desiv


Good point.
Until I'd mention that the OS had several module classes, it would have been hard to explain while modular reentrant code was an advantage.
Plus you have the ability to load and unload module dynamically (and I really don't want to explain the advantage of that).
But actually its not that processor intensive and we were able to create some processes that were so generalized that they were never unloaded.
One early 6809 based point of sales system was composed of slightly less then 255 modules.
One low level clean up 'gnome' only got a processor slice every few seconds
but its presence made the system very stable.
Unless you've already experienced coding like this, its hard to explain the advantages.

Besides, this is WAY off topic.
"Not making any hard and fast rules means that the moderators can use their good judgment in moderation, and we think the results speak for themselves." - Amiga.org, terms of service

"You, got to stem the evil tide, and keep it on the the inside" - Rogers Waters

"God was never on your side" - Lemmy

Amiga! "Our appeal has become more selective"