Resources
The following is a compilation of additional resources for low-level development and optimizations targeting the SH4 processor. Many of these were used to aid in the development of SH4ZAM itself. The list is upstream's, from doc/resources.dox.
| Link | Description |
|---|---|
| SH Instruction Set Summary | Easy-to-navigate instruction set reference for the SuperH processor line. |
| Compiler Explorer Templates | Preconfigured templates for viewing SH4 disassembly from KOS-based C/C++ source code within the web browser. |
| SH4 Programming Manual | Detailed information on the SH4's instruction set. |
| SH4A Hardware Manual | Detailed information about the SH4's peripherals and HW. |
| SH4 C ABI Specification | Documents the C binary interface and calling convention. |
| SH4 Pipeline Simulator | Low-level SH4 pipeline simulator for manually scheduling instructions. |
| SH4 Optimization Tips | Dreamcast.wiki's list of useful optimization tips. |
| Reversing SH4 Vector Instructions | Deep-dive into how FIPR, FTRV, FSCA, and FSRRA actually work on the HW. |
| SH4 Vector FPU Calculator | Interactive calculator, visualizing the circuitry of the SH4 VFPU. |
| SuperH Manuals | GitHub repository containing a collection of manuals for the SuperH architecture. |
On this site
Section titled “On this site”- The SH4 FPU: a short glossary of
FIPR,FTRV,FSCA,FSRRA, XMTRX, store queues and prefetch. - Optimization Tips: compiler flags and FPU precision modes.
- Getting Started with Dreamcast development: the community guide to setting up KallistiOS.