An experimental emulator
Go to file
dingusdev cae2a12b71 Further DTC expansion 2020-11-26 19:33:40 -07:00
.github/ISSUE_TEMPLATE Update issue templates 2019-07-07 11:27:39 -07:00
benchmark Benchmark code for the NuInterpreter. 2020-11-15 23:12:23 +01:00
cpu/ppc Further DTC expansion 2020-11-26 19:33:40 -07:00
debugger clang-format everything 2020-05-12 23:55:45 +05:00
devices Merge branch 'cpu-refactor' into nu-interpreter 2020-11-25 19:08:05 -07:00
execution Further refactoring to clean up the interpreter 2020-10-17 21:46:38 -07:00
machines list properties now prints out valid values. 2020-10-14 16:19:11 +02:00
thirdparty Initial CLI11 integration. 2020-09-26 02:38:22 +02:00
zdocs Documenation Update 3/7/2020 2020-03-07 15:40:46 -07:00
.clang-format clang-format everything 2020-05-12 23:55:45 +05:00
.gitignore Fix build on linux 2020-05-12 21:20:57 +05:00
.gitmodules Cubeb library is now a submodule. 2020-05-19 19:14:32 +02:00
CMakeLists.txt Add virtual CPU benchmarking code. 2020-11-14 03:05:41 +01:00
CMakeSettings.json Started config file reading 2020-03-26 12:32:24 -07:00
CONTRIBUTING.md CONTRIBUTING: Use code blocks for code examples. 2020-03-05 11:53:28 +01:00
LICENSE Initial commit 2019-07-01 19:13:30 -07:00
README.md Fixed an issue with a command line arg description 2020-10-14 08:02:34 -07:00
_config.yml Set theme jekyll-theme-minimal 2020-03-26 23:30:27 -07:00
dppcicon.ico More fixes, plus a temp icon 2019-07-19 14:24:39 -07:00
endianswap.h Move endian swapping code to endianswap.h. 2020-01-12 22:51:37 +01:00
icon.rc More fixes, plus a temp icon 2019-07-19 14:24:39 -07:00
main.cpp ppcexec: initialize interpreter lookup tables. 2020-11-14 03:05:41 +01:00
memreadwrite.h clang-format everything 2020-05-12 23:55:45 +05: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 Beige G3 is implemented.

How to Compile

You need to install development tools first.

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

You will also have to recursive clone or run

git submodules --update

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.

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