Giter Site home page Giter Site logo

sizious / dcdis Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 0.0 173 KB

dcdis is a very simple Sega Dreamcast disassembler.

License: GNU General Public License v3.0

Makefile 3.54% C 87.04% Shell 7.76% M4 1.65%
sega-dreamcast sega dreamcast development-tool disassembler

dcdis's Introduction

Sega Dreamcast Disassembler (dcdis)

dcdis is a very simple Sega Dreamcast(tm) disassembler initially made by Lars Olsson (Maiwe).

This tool produces text files which contains all the disassembled code of any Sega Dreamcast binary executable. The Dreamcast's CPU, a Hitachi SH7091, is virtually identical to the Renesas SH7750 series of SH4 CPUs. dcdis will produces a disassembled text file containing SH7091/SH7750 instructions.

Note: This utility only supports the binary format, all others file format are unsupported, including SREC or ELF file formats.

Building & installing

You have 2 modes to build and install dcdis:

  1. KallistiOS mode
  2. Standalone mode

KallistiOS Mode

Starting from v1.0.0, dcdis is ready to be integrated in a KallistiOS installation, in the utils directory. The Makefile located in the root directory is designed for that use case.

Input the following to install dcdis in your KallistiOS utilities directory:

git clone https://github.com/sizious/dcdis.git ${KOS_BASE}/utils/dcdis
cd ${KOS_BASE}/utils/dcdis
make

The dcdis binary will be installed in the /opt/toolchains/bin/ directory.

Standalone Mode

If you want to use dcdis in a standalone mode, i.e. without KallistiOS, then you may do it by following instructions of this section. You just need a working GCC toolchain in order to do that.

In that case, for most machines and configurations, the following is all you need:

cd src
./configure
make
make install

In standalone, i.e. in manual installation mode, dcdis will be installed in /usr/local/bin by default, but this can be altered by specifying another location to configure using this formula:

./configure --prefix=/installation/directory

Usage & features

The usage of dcdis is very simple, it can be used as the follow:

dcdis [options] <dcprog.bin>

The following options are supported:

-b<address>    binary file, text start (default: 0x8c010000)
-o<filename>   file to write output to (default: stdout)
-s<filename>   use Sega Katana MAP file
-d             standard displacement

<filename>     file to disassemble

Acknowledgments

License

dcdis is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE file for more information.

dcdis's People

Contributors

sizious avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.