Return to menu | Go to next page

Sound I / F library

1. Guide

1.1 Purpose

Controls the sound by realizing an interface between the sound system and the main (including CD system) system.

1.2 Overview

Sound system can control sequence, PCM and CD sounds.
∙ To control sound, you must first start the sound system. Next, for sequence and PCM, it is necessary to transfer the sound data to the sound memory in preparation for performance. The result of sound control is obtained by obtaining the status. Details will be explained in the following order.
See also Sound Driver System Interface in the Sound Development Manual.

1.3 Sound system activation

Sound system must be started when the power is turned on. The calling sequence is shown below.

void sndStart()
{
     SndIniDt sys_ini; / * Data storage area for system startup * / 

     SND_INI_PRG_ADR(sys_ini) = (Uint16 *)0x22002400;                               / * 68K program storage start address setting * /      SND_INI_PRG_SZ(sys_ini) = (Uint16 *)0x4fc8;                               / * 68K program size setting * /      SND_INI_ARA_ADR(sys_ini) = (Uint16 *)0x22004400;                               / * Sound area map storage start address setting * /      SND_INI_ARA_SZ(sys_ini) = 0x0550;                               / * Sound area map size (word specification) setting * /      SND_Init (& sys_ini); / * Sound system startup * /      ... }


Return to menu | Go to next page