Copy Link
Add to Bookmark
Report

Sega Saturn hacking docs (part 5)

SegaSaturn's profile picture
Published in 
SegaSaturn
 · 4 years ago
Sega Saturn hacking docs (part 5)
Pin it

Fun with Pointers!


(Last Updated December 25, 2002)

List of updates
-December 25, 2002 - First release

Introduction
First of all, as with all my hacking docs this is a WIP (Work-in-progress). I'm sure there will be info that will be inaccurate. But that's what you people reading this are for (so you can help me fix my mistakes ;), right?

Please, if you want to copy portions (whole or in part) of this document, please, at least email me and ask. Linking is fine, just mention where the original doc was found.

Getting Started
This will probably be the shortest document of all in the series. As Saturn pointers are insanely easy to learn.

Crash Course
Alright, the first thing you should realize is that pointers (and everything else) are stored in Big Endian format. So basically, if you were running Hex Workshop and were looking for "0x25E00080" in a file, you would literally type "25E00080" in the search window.

Next, there are 2 pointer sizes: 32-bit and 16-bit. 32-bit are usually used to reference actual SH2 memory locations (there are used quite a lot). 16-bit pointers aren't quite as common, and seem to be mostly used for referencing text data.

Lastly, pointers that aren't pointing to actual memory addresses could have any starting point, and/or may have multiple offsets declared somewhere later in the data.

Final Word
Saturn pointers are easy.

Questions
If there's an important topic I may have missed feel free to email and ask.

Special Thanks
-The Saturn fans that keep the system alive
-Artemio Urbina for his hacking help
-SkankinMonkey for being ereet
-Sega for making one of my all-time favourite systems.

Cyber Warrior X
cwx@softhome.net

Source: http://www.cyberwarriorx.com

← previous
next →
loading
sending ...
New to Neperos ? Sign Up for free
download Neperos App from Google Play
install Neperos as PWA

Let's discover also

Recent Articles

Recent Comments

Neperos cookies
This website uses cookies to store your preferences and improve the service. Cookies authorization will allow me and / or my partners to process personal data such as browsing behaviour.

By pressing OK you agree to the Terms of Service and acknowledge the Privacy Policy

By pressing REJECT you will be able to continue to use Neperos (like read articles or write comments) but some important cookies will not be set. This may affect certain features and functions of the platform.
OK
REJECT