GithubHelp home page GithubHelp logo

00mjk / ghidra-segasaturn-processor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vgkintsugi/ghidra-segasaturn-processor

0.0 0.0 0.0 1.01 MB

A Ghidra processor module for the Sega Saturn (SuperH SH-2)

License: MIT License

ghidra-segasaturn-processor's Introduction

This repository is archived now that it has been merged upstream into Ghidra. The SuperH SH-1/SH-2 processor module (and many bug fixes!) are included with the 9.1 release of Ghidra. File any bug reports with the Ghidra repository and I (VGKintsugi) will take a look.

Ghidra Sega Saturn Processor Module

A (WIP) Ghidra processor module for the Sega Saturn. The Sega Saturn uses dual SuperH SH-2 processors for games and a dedicated SuperH SH-1 to control the CD-ROM drive.

Currently:

  • able to disassemble SH-1 and SH-2 after manually specifying the processor type. I used the instruction encodings available from Renesas SH Instruction Set Summary and related GitHub project shared-ptr/sh_insns.
  • contains SLEIGH definitions for all instructions. Currently debugging through issues related to sign extensions, flags, and branches.
  • able to decompile automatically. Output looks reasonable but likely to have issues due to errors in the SLEIGH definitions.

Todo:

  • fix remaining errors in SLEIGH definitions
  • create loader plugin (in a separate project)

Screenshots

Processors
Processors

Loader
Loader

Disassembly View (Decompiler working, still has some bugs)
Disassembly View

Issues

I fixed a lot of the errors in the SLEIGH definitions but I anticipate there will be more bugs.

Installation

  • Rename the root folder to SuperH and copy it to Ghidra/Processors/ and restart Ghidra

Credits

ghidra-segasaturn-processor's People

Contributors

vgkintsugi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.