To start the sound driver, follow steps 1 to 6 below. This starts the sound driver and starts from the beginning of the program. For details on hardware such as SCSP and reset, refer to the SCSP and SMPC user's manuals.
Order | Processing content | Description | |||||||
|---|---|---|---|---|---|---|---|---|---|
1 | Stop 68000 | Execute" Sound OFF "in the software library" SMPC interface live library ". | |||||||
2 | Initialize SCSP registers | SH Write 02h in byte at address 25B00400. | |||||||
3 | Clear system area | SH address Clear all <0> from address 25A00000 to address 25A0AFFF. | |||||||
4 | Transfer a sound program to a sound memory |
Remarks)
The maximum size of the sound area map is 4096 bytes. If the size is larger than this, please divide it into multiple sound area maps. However, in that case, replace the sound area map before the map change (as described in the section on how to play the sound) if necessary.