Welcome, Guest. Please login or register.

Author Topic: PPC-Emulator - Any use?  (Read 3994 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Hammer

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1996
  • Country: 00
    • Show all replies
Re: PPC-Emulator - Any use?
« on: March 14, 2003, 03:54:54 AM »
Quote
I´ve programmed a PowerPC emulator, which by now, emulates allmost all UISA instructions. What I would like to know is, what usage people might have of a PPC emulator, as it currently lacks some system of control.

- PPC application development work on some cheap X86 box or laptop. PPC embedded Linux systems would be the ideal candidate.
 
- PPC processor theory subjects within a University environment  i.e. PPC simulators intended for design and research.

- Support for PPC legacy software on non-PPC hardware.

Have you implemented PPC MMU for your PPC emulator?

For a "PowerPC 750 Simulator" (executes PPC Linux binaries  on Non-PPC Linux)  refer to http://www.microlib.org/G3/PowerPC750.php

I wonder IF one could do a AmigaOS (or AROS) version instead of Linux.

Amiga 1200 PiStorm32-Emu68-RPI 4B 4GB.
Ryzen 9 7900X, DDR5-6000 64 GB, RTX 4080 16 GB PC.
 

Offline Hammer

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1996
  • Country: 00
    • Show all replies
Re: PPC-Emulator - Any use?
« Reply #1 on: March 14, 2003, 04:49:10 AM »
Quote

Nope! The emulated memory is taken from the available memory from the underlying OS. It is translated to local adresses by an interface, and I have therefore not implemented MMU instructions.

Is this a "thread" based emulator?

I recall there are 3 main methods for gaining legacy software compatibility;
1. Complete machine emulators (e.g. UAE, MAME, Bochs).
2. Sandbox (e.g. MorphOS’s 68k sandbox, SoftWindows (i.e. native PPC Windows95 with X86 emulator)).
3. Thread emulators (e.g. AmigaOS 4.0’s 68k method).
Amiga 1200 PiStorm32-Emu68-RPI 4B 4GB.
Ryzen 9 7900X, DDR5-6000 64 GB, RTX 4080 16 GB PC.
 

Offline Hammer

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1996
  • Country: 00
    • Show all replies
Re: PPC-Emulator - Any use?
« Reply #2 on: March 14, 2003, 04:54:02 AM »
Quote

Hardboy wrote:

Quote
I wonder IF one could do a AmigaOS (or AROS) version instead of Linux.


Anyone who has gcc installed, as I said: It´s 100% standard C++

You basically saying it will run PPC binaries, which are complied by gcc?  


Yet another PPC emulator (simulator).  
http://www-rohan.sdsu.edu/doc/psim/manual_toc.html#SEC152
Quote

PSIM, both implements all three levels of the PowerPC Instruction Set Architecture, and includes, for each level, a number of simulated run-time environments:

UEA PSIM can run static programs compiled for any of the following operating systems:
  • NetBSD
  • Solaris
  • LINIX

VEA Support for environmental features of the Instruction Set Architecture including:
Symetric multi-processing
Cache manipulation
Time base registers
OEA Details of the target PowerPC Platform being modeled can be specified including:
firmware (Motorola BUG or OpenFirmware)
memory and I/O address maps
attached devices
interrupt controller (OpenPIC) configuration
Quote

Amiga 1200 PiStorm32-Emu68-RPI 4B 4GB.
Ryzen 9 7900X, DDR5-6000 64 GB, RTX 4080 16 GB PC.
 

Offline Hammer

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1996
  • Country: 00
    • Show all replies
Re: PPC-Emulator - Any use?
« Reply #3 on: March 16, 2003, 11:13:46 AM »
Quote

No, I say that anyone who has gcc installed could make a version of the program.

Ok. Where does one download this program/source code?    

Quote

It should though, without problems run binaries made from gcc unless they use some of the yet unimplemented instructions.

Ok.
Amiga 1200 PiStorm32-Emu68-RPI 4B 4GB.
Ryzen 9 7900X, DDR5-6000 64 GB, RTX 4080 16 GB PC.