Welcome, Guest. Please login or register.

Author Topic: 68K Access Under OS4  (Read 5515 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 only replies by Karlos
Re: 68K Access Under OS4
« Reply #14 from previous page: February 08, 2012, 12:00:24 AM »
Quote from: nyteschayde;679750
So Karlos, have you worked with the 68K or even accessed it at all from OS4? I know you have a lot of experience working with the PPC from 68K code but was curious if you've done anything from OS4 regarding the 68K?

Afraid not. It was simply a thought experiment, one that would likely require quite a lot of work to evaluate the feasibility of. As interesting as the idea seems to me for now, there are more pressing things to work on (in the limited time I have in the day in which to cram it in).
int p; // A
 

Offline nyteschaydeTopic starter

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 644
    • Show only replies by nyteschayde
    • http://www.nyteshade.com
Re: 68K Access Under OS4
« Reply #15 on: February 08, 2012, 12:17:15 AM »
Sure, I understand you're busy. I'm so fragmented with my time as well I never seem to get anything done. Just was curious on your level of experience with the OS4->68K usage as opposed to your past experiences.
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500
 

Offline Matt_H

Re: 68K Access Under OS4
« Reply #16 on: February 08, 2012, 12:42:01 AM »
Theoretically, ShapeShifter should work at full speed using the OS4 68K JIT, since ShapeShifter is more in line with today's virtual machines like VMWare and Parallels than a true emulator, since it uses the host's own CPU as-is and just emulates the additional bits. If it doesn't work, it's probably due to limitations of the OS4 JIT (it doesn't emulate everything). The 68K BasiliskII might be a better test under OS4, since I think it's a little "cleaner" on the hardware-banging side (and also doesn't emulate the CPU).

Point being, there could also theoretically be a version of 68K UAE built the same way - use the native CPU instead of emulating. I'm not sure how big a project that would be. Maybe adapting the in-program JIT for PPC is easier! :)
 

Offline stefcep2

  • Hero Member
  • *****
  • Join Date: Sep 2007
  • Posts: 1467
    • Show only replies by stefcep2
Re: 68K Access Under OS4
« Reply #17 on: February 08, 2012, 01:07:32 AM »
Quote from: Matt_H;679759
Theoretically, ShapeShifter should work at full speed using the OS4 68K JIT, since ShapeShifter is more in line with today's virtual machines like VMWare and Parallels than a true emulator, since it uses the host's own CPU as-is and just emulates the additional bits. If it doesn't work, it's probably due to limitations of the OS4 JIT (it doesn't emulate everything). The 68K BasiliskII might be a better test under OS4, since I think it's a little "cleaner" on the hardware-banging side (and also doesn't emulate the CPU).

Point being, there could also theoretically be a version of 68K UAE built the same way - use the native CPU instead of emulating. I'm not sure how big a project that would be. Maybe adapting the in-program JIT for PPC is easier! :)


Has anyone actually got 68k Basilisk 2 to boot into MacOS on an amiga
 

Offline bbond007

  • Hero Member
  • *****
  • Join Date: Mar 2009
  • Posts: 1517
    • Show only replies by bbond007
Re: 68K Access Under OS4
« Reply #18 on: February 08, 2012, 01:58:19 AM »
Quote from: nyteschayde;679650
Is it possible to access the 68K processor from OS4 just like we were once able to access the PPC from OS3.x? Basically RunInUAE is a great idea but is more or less completely unusable under OS4 Classic (at least with my BlizPPC).

It kills me I have a 68060 sitting there dreaming while the 603e struggles to emulate a 68K for E-UAE. Any chance of passing through to the real 68K (ala ShapeShifter for MacOS, etc...)


It might be possible but there are a few things you may need to consider.

Shapeshifter is not emulating the MAC's video hardware in the same sense that UAE emulates the every detail of the Amiga's chipset. Apple has an abstraction layer on the hardware (QuickDraw) and Shapeshifter patches into that.

The slowness with UAE may not even be the CPU emulation anyway. The bottleneck is far more likely emulating the custom chipset.

Finally, the architecture of UAE. For example the custom chip emulation may require hooks into the CPU emulation.
 

Offline klx300r

  • Amiga 1000+AmigaOne X1000
  • Hero Member
  • *****
  • Join Date: Sep 2007
  • Posts: 3263
  • Country: ca
  • Thanked: 20 times
  • Gender: Male
    • Show only replies by klx300r
    • http://mancave-ramblings.blogspot.ca/
Re: 68K Access Under OS4
« Reply #19 on: February 08, 2012, 03:03:30 AM »
Quote from: Framiga;679730
sounds like the problem are crooks bored to post on moo****ingbunny lately!

geez and you're surprised ? it's the norm here on every single OS4 thread sadly:(
____________________________________________________________________
c64-dual sids, A1000, A1200-060@50, A4000-CSMKIII
Indivision AGA & Catweasel MK4+= Amazing
! My Master Miggies-Amiga 1000 & AmigaOne X1000 !
--- www.mancave-ramblings.blogspot.ca ---
  -AspireOS.com & Amikit- Amiga for your netbook-
***X1000- I BELIEVE *** :angel:
 

Offline nyteschaydeTopic starter

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 644
    • Show only replies by nyteschayde
    • http://www.nyteshade.com
Re: 68K Access Under OS4
« Reply #20 on: February 08, 2012, 09:08:17 AM »
Quote from: bbond007;679767
It might be possible but there are a few things you may need to consider.

Shapeshifter is not emulating the MAC's video hardware in the same sense that UAE emulates the every detail of the Amiga's chipset. Apple has an abstraction layer on the hardware (QuickDraw) and Shapeshifter patches into that.

The slowness with UAE may not even be the CPU emulation anyway. The bottleneck is far more likely emulating the custom chipset.

Finally, the architecture of UAE. For example the custom chip emulation may require hooks into the CPU emulation.

That may be, but other than the amount of work it would take to tap into the existing chips (and I understand there may be work there that is not easy; i.e. securing direct access to the chipset if that's even possible), all those custom chips are actually available and shouldn't need emulating. It's likely that the E-UAE Amiga port simply did the least amount of work as possible and avoided using the real hardware even though it does exist and is within easy reach.

Emulating an Amiga on an Amiga should be a fast process.
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500