Welcome, Guest. Please login or register.

Author Topic: Free AmigaOS for all  (Read 5756 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show all replies
Re: Free AmigaOS for all
« on: November 27, 2004, 02:47:07 PM »
What's the current state of AROS on 68K / PPC ?
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show all replies
Re: Free AmigaOS for all
« Reply #1 on: November 27, 2004, 03:26:24 PM »
Quote

bloodline wrote:
Quote

Karlos wrote:
What's the current state of AROS on 68K / PPC ?


68k port works, but only on the Palm (and 68k linux hosted), as no one has ported AROS to the Amiga hardware :lol:

Hit a stumbling bock on the PPC, though as it seems that the varargs function has different behaviour on different platforms (passing parameters in registers or on the stack)... the best option would be to remove it from the AROS core, but apparently that would take a huge amount of work :-(


Mmm. Since it's an AmigaOS compatible project, why weren't TagLists used for variable length argument calls? Admittedly they use more stack but the idea works well enough.

Are there a lot of varargs functions? Other than for formatted IO and wrapping Taglist calls in a more C compliant way, are they essential?
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show all replies
Re: Free AmigaOS for all
« Reply #2 on: November 27, 2004, 03:37:31 PM »
Buh...

If you have an array of tags on the stack, terminated with TAG_DONE, 0, why do you need to do any dodgy varargs stuff anyway? It's no different in many ways to a zero terminated C string :-/
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show all replies
Re: Free AmigaOS for all
« Reply #3 on: November 27, 2004, 04:03:23 PM »
Since a TagList is an array of struct TagItem, I'd be amazed if it was not passed by reference on any platform. Still, when you have so many registers as PPC I can see it might occur for short taglits.

As for the driver thing, no chance - I get only a few hours a week to work on my own stuff as it is and thanks to work I generally can't be bothered even then :-(
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show all replies
Re: Free AmigaOS for all
« Reply #4 on: November 27, 2004, 04:17:36 PM »
Hmm. I'm not about to attempt the reverse engineering of the OS4 bootloader if that is what you are hinting at :-P

Even if I lacked the requisite scruples, long lists of PPC asm does my nut in :lol:
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show all replies
Re: Free AmigaOS for all
« Reply #5 on: November 27, 2004, 04:41:12 PM »
Ah. Oops :lol:

PPC asm isnt as evil as x86 though, IMHO, but the mnemonics are a {bleep}*

-edit-

*:lol: Ok, a "female dog" then ;-)
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show all replies
Re: Free AmigaOS for all
« Reply #6 on: November 27, 2004, 04:47:02 PM »
680x0 asm owns all. An asm you can actually enjoy using!
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show all replies
Re: Free AmigaOS for all
« Reply #7 on: November 27, 2004, 06:23:34 PM »
Quote

bloodline wrote:
Quote

Karlos wrote:
680x0 asm owns all. An asm you can actually enjoy using!


I used to think that too... but now I like MIPS more :-)


I don't know MIPS asm :-(
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show all replies
Re: Free AmigaOS for all
« Reply #8 on: November 27, 2004, 06:34:51 PM »
int p; // A