Welcome, Guest. Please login or register.

Author Topic: AOS4 for 68k-JIT  (Read 2500 times)

Description:

0 Members and 1 Guest are viewing this topic.

  • Guest
AOS4 for 68k-JIT
« on: June 08, 2003, 07:18:53 PM »
Moderators: This could also be hardware, please move to correct thread.

Imagine for a moment,

Say Eyetech, went bust and so did AInc, and Hyperion still refused to release OS4 for Pegasos/Mac/RS6000.

Would it be technically posible for OS4 for be compiled for 68k and used with a 68k JIT emulator as it's all written in C.  Or is their PPC native ASM  routines in the code?

This would be a very cool product and sell sh!t loads of boxes IMHO.  a 4Ghz P4 JIT emulating 68k would be faster than a G3600 native PPC code I would wager.
 

Offline KennyR

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 8081
    • Show only replies by KennyR
    • http://wrongpla.net
Re: AOS4 for 68k-JIT
« Reply #1 on: June 08, 2003, 07:32:02 PM »
It would be possible, but would it be practical? MOS still beats Amithlon on a 2GHz PC on some things with just a 600MHz CPU. Native code is very important.

And besides, how would AInc get their cut? ;-)
 

Offline Hardboy

  • Full Member
  • ***
  • Join Date: Feb 2002
  • Posts: 248
    • Show only replies by Hardboy
Re: AOS4 for 68k-JIT
« Reply #2 on: June 08, 2003, 07:32:43 PM »
Some part of the OS will definitly contain PPC-ASM.

I´ll guess some minor parts of exec.library are coded in PPC-ASM. I´ll guess allmost all the code for translating code from 68k to PPC is in assembler too, but that doesn´t matter anyway.

Also, allthough it´s written in c, doesn´t mean it will compile and run on other hardware. It´s impossible to make all code of a OS platform independant, unless you make some sort of a virtual system.

Now, if Hyperion desided to make of x86 version, the biggest job would be to make an 68k->x86 translater similar to the one in OS4.0.
 

Offline KennyR

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 8081
    • Show only replies by KennyR
    • http://wrongpla.net
Re: AOS4 for 68k-JIT
« Reply #3 on: June 08, 2003, 07:43:07 PM »
Correct, and apps for x86 OS4 wouldn't work on PPC and vice versa, unless everything was on emulated 68k code.
 

Offline Rogue

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 566
    • Show only replies by Rogue
    • http://www.hyperion-entertainment.com
Re: AOS4 for 68k-JIT
« Reply #4 on: June 08, 2003, 08:03:52 PM »
Quote
Hyperion still refused to release OS4 for Pegasos/Mac/RS6000.


Sigh

Hyperion is not refusing to release OS 4 for the Pegasos. The situation is a bit more complicated than that.

RS6000? You must be kidding. How many RS6000 users are out there, and how many of them will actually want to buy an AmigaOS?

Quote
Would it be technically posible for OS4 for be compiled for 68k and used with a 68k JIT emulator as it's all written in C.


There are PPC assembly parts, around 34000 lines. Most of the system already is, or will be, PPC, so a 68k emulator (JIT or whatever) will not exactly help you.
Look out, I\'ve got a gun
 

Offline Hardboy

  • Full Member
  • ***
  • Join Date: Feb 2002
  • Posts: 248
    • Show only replies by Hardboy
Re: AOS4 for 68k-JIT
« Reply #5 on: June 08, 2003, 08:25:10 PM »
Quote

There are PPC assembly parts, around 34000 lines.


That´s not very much. I would have bet, that the code-translater had more...
 

  • Guest
Re: AOS4 for 68k-JIT
« Reply #6 on: June 09, 2003, 04:52:39 PM »
Quote

Rogue wrote:
Quote
Hyperion still refused to release OS4 for Pegasos/Mac/RS6000.


Sigh

Hyperion is not refusing to release OS 4 for the Pegasos. The situation is a bit more complicated than that.

RS6000? You must be kidding. How many RS6000 users are out there, and how many of them will actually want to buy an AmigaOS?

Quote
Would it be technically posible for OS4 for be compiled for 68k and used with a 68k JIT emulator as it's all written in C.


There are PPC assembly parts, around 34000 lines. Most of the system already is, or will be, PPC, so a 68k emulator (JIT or whatever) will not exactly help you.


Bad phrasing of my words I think.  Replace 'refusing' with 'unable'.

Thanks for replying, so the answer is that it wouldn't be possible to have a 68k OS4 then?  The reason I asked was just curiosity really, and it would be cool to have OS4 on a A500 with a coldfire board at 300Mhz! :-D
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: AOS4 for 68k-JIT
« Reply #7 on: June 09, 2003, 05:08:07 PM »
Begs the question: Why would you want AOS4 on 68k? As we already have a 68K AmigaOS :-)

Quote
RS6000? You must be kidding. How many RS6000 users are out there, and how many of them will actually want to buy an AmigaOS?


Sure, if you want AmigaOS on your RS6000, just compile AROS for it :-D Thats why we make AROS, so you can run AmigaOS on hardware of your choice!!!