Rustation

From Emulation General Wiki
Revision as of 16:28, 13 December 2018 by ObiKKa (talk | contribs) (Fill-in updates.)
Jump to navigation Jump to search
Rustation
Developer(s) Lionel Flandrin (simias)
Latest version 0.0.3
Active No
Platform(s) Windows, Linux, macOS
Emulates PlayStation
Programmed in Rust
Source code GitHub
GitHub (libretro upstream)

Rustation is an open-source PlayStation emulator that doesn't require a plugin-based system. It's written in the Rust programming language and has a libretro core.

Contents

Overview

The initial commit for Rustation was uploaded to its GitHub page on Feb 17, 2015 and many commits have since then been added over the next two years. However, the latest commit was uploaded on September 2017 and it was not followed up since then; and the same story is true in the libretro core. Nevertheless, the libretro team had an agenda in adding this source code to their API in the first place - it was to improve their other PSX core called Mednafen/Beetle PSX HW, where they added an OpenGL renderer utilizing an OpenGL 3.3 core context. That PlayStation emulator now supports rendering on the GPU and is said to be one of the first doing so for PSX that is based upon modern OpenGL. This GPU renderer is based upon the work done by Rustation (Just that it was probably modified to be written in C++ for libretro/RetroArch).[1] That is different to the old OpenGL plugins for the plugins-reliant PSX emulators that made use of old fixed-function OpenGL.

The original repository only contains the source code for the core of the emulator. The OpenGL renderer and the libretro interface is is the rustation-libretro repository. Games performance is poor, only a few games boot in.

Features

These things are either fully or partially implemented:

  • CPU
  • Basic GTE support (ported from mednafen PSX)
  • Instruction cache
  • Interrupts
  • Basic GPU (no semi-transparency or mask bit emulation)
  • Timers (incomplete)
  • DMA
  • Debugger
  • CDROM controller (missing many commands)
  • Gamepad controller (only digital pad for now)

To-do list:

  • Many things in the GPU
  • MDEC (Probably for movie playback. Avocado is in the midst of implementing this one)
  • SPU
  • Memory card
  • CPU pipeline emulation
  • More accurate timings
  • Many, many other things...

References

  1. Michael Larabel (31 May 2016). PlayStation Emulator Gets Experimental OpenGL Renderer. Phoronix

External Links