An experimental emulator
Go to file
2022-01-22 22:33:13 -07:00
.github/ISSUE_TEMPLATE
benchmark Add missing licence headers, update license date. 2021-10-23 21:00:31 +02:00
core Add timers management. 2022-01-10 17:56:24 +01:00
cpu/ppc crnand and crnor fixes 2022-01-22 22:33:13 -07:00
debugger Add missing licence headers, update license date. 2021-10-23 21:00:31 +02:00
devices 53C94: chip initialization and identification. 2022-01-22 04:37:52 +01:00
execution Add missing licence headers, update license date. 2021-10-23 21:00:31 +02:00
machines Add posti-initialization to HW components. 2022-01-21 12:42:05 +01:00
thirdparty Remove libsoundio library. 2021-10-23 23:10:40 +02:00
utils Fix forgotten include. 2021-04-19 00:13:33 +02:00
zdocs zdocs/openfirmware.md: minor corrections. 2021-11-29 22:35:12 +01:00
_config.yml
.clang-format
.gitignore
.gitmodules
CMakeLists.txt Fix main CMakeLists.txt to include core for all targets. 2022-01-19 22:18:00 +01:00
CMakeSettings.json
CONTRIBUTING.md
dppcicon.ico
endianswap.h Add missing licence headers, update license date. 2021-10-23 21:00:31 +02:00
icon.rc
LICENSE
main.cpp Add missing licence headers, update license date. 2021-10-23 21:00:31 +02:00
memaccess.h Add missing licence headers, update license date. 2021-10-23 21:00:31 +02:00
README.md

DingusPPC

Written by divingkatae and maximumspatium

Be warned the program is highly unfinished and could use a lot of testing. Any feedback is welcome.

Philosophy of Use

While many other PowerPC emus exist (PearPC, Sheepshaver), none of them currently attempt emulation of PPC Macs accurately (except for QEMU).

This program aims to not only improve upon what Sheepshaver, PearPC, and other PowerPC mac emulators have done, but also to provide a better debugging environment. This currently is designed to work best with PowerPC Old World ROMs, including those of the PowerMac G3 Beige.

Implemented Features

This emulator has a debugging environment, complete with a disassembler. We also have implemented enough to allow OpenFirmware to boot, going so far as to allow audio playback of the boot-up jingles.

How to Use

This program currently uses the command prompt to work.

There are a few command line arguments one must enter when starting the program.

-r, --realtime

Run the emulator in runtime.

-d, --debugger

Enter the interactive debugger.

-b, --bootrom TEXT:FILE

Specifies the Boot ROM path (optional; looks for bootrom.bin by default)

-m, --machine TEXT

Specify machine ID (optional; will attempt to determine machine ID from the boot rom otherwise)

As of now, only the Power Macintosh G3 Beige is implemented.

How to Compile

You need to install development tools first.

At least, a C++11 compliant compiler and CMake are required.

You will also have to recursive clone or run

git submodule update --init --recursive

This is because the CubeB module is not included by default. All other components are already included in the thirdparty folder and compiled along with the rest of DingusPPC.

For example, to build the project in a Unix-like environment, you will need to run the following commands in the OS terminal:

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make dingusppc

You may specify another build type using the variable CMAKE_BUILD_TYPE.

Future versions may drop SDL 2 as a requirement.

For Raspbian, you may also need the following command:

sudo apt install doxygen graphviz

Testing

DingusPPC includes a test suite for verifying the correctness of its PowerPC CPU emulation. To build the tests, use the following terminal commands:

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make testppc

Intended Minimum Requirements

  • Windows 7 or newer (64-bit), Linux 4.4 or newer, Mac OS X 10.9 or newer (64-bit)
  • Intel Core 2 Duo or better
  • 2 GB of RAM
  • 2 GB of Hard Disk Space
  • Graphics Card with a minimum resolution of 800*600

Compiler Requirements

  • GCC 4.7 or newer (i.e. CodeBlocks 13.12 or newer)
  • Visual Studio 2013 or newer