SOUND ManualSound Driver Programmer's Guide
BackForward
Sound Driver Programmer's Guide

1. 1. System overview


Sound System Hardware

The sound system is centered on the sound source LSI, and the sound CPU and 512KB sound memory, the main system and the CD interface, etc. are connected. The main system can access the entire IO space of the sound memory and SCSP via the SCU, and can control the stop (reset) and restart (reset release) of the sound CPU through the SMPC.
The most important of these is the sound memory, which controls everything in the sound system, including sound driver execution, data management, sound source data storage, and communication between systems.

A sound driver is a sound control program for pronouncing songs and sound effects. The program is stored in sound memory and operates independently of the main system. Therefore, songs and sound effects can be played from the main system simply by issuing commands.
Both the sound driver and sound data are stored in the sound memory, so once the power is turned off, all of them will be lost. Therefore, the main system must start the sound driver every time the power is turned on. Since the sound CPU at power-on is stopped by the reset signal, first transfer the sound driver to the sound memory and then release the reset signal. This will launch the sound driver and allow you to play songs and sound effects.

Sound memory has a system area and a data area. The system area is a fixed area for sound driver operation and system management, and the data area is a variable area (variable mapping) for storing sound source data and internal processing of the DSP.

Sound memory

System area
A program storage area for operating the sound driver and a work area. The work area includes a program work for the sound driver and a system interface area for interfacing with the main system and sound development system. It is a fixed area with a size of 44KB, and this area cannot be used for other purposes.
Data area
This area is for storing sound data. Three types of tone data, sequence data, and DSP program are stored in various combinations (mapping). It is also used as a buffer for PCM stream playback when playing PCM streams. In this area, the stored data and its mapping constantly change depending on the game and scene. In other words, within this 4M bit range, sound data mapping is performed for each scene.
DSP work RAM area
Area for DSP delay RAM and effect factors. Therefore, this area is not necessary when DSP is not used. Note that the start address of this area must be bounded by 2000h due to hardware restrictions, and the size of the delay RAM and coefficient area varies depending on the DSP microprogram used.

BackForward
SOUND ManualSound Driver Programmer's Guide
Copyright SEGA ENTERPRISES, LTD., 1997