Difference between revisions of "Modules/trilo/trilo scc player"

From MSX Game Library

< Modules

Line 11: Line 11:
 
== Usage ==
 
== Usage ==
  
Original musics are in TMU format and have to be converted to ASM format first. Use tmucompiler to gegnerate assembler file (the script convert TMU to ASM, then convert ASM to be supported by SDCC assembler, sdasz80).
+
Original TriloTracker musics are in TMU format and have to be converted to ASM format first.
 +
Use <tt>tools/audio/trilo/tmucompile.bat</tt> script to generate the assembler file (the script convert TMU to ASM, then convert ASM to be supported by SDCC assembler, sdasz80).
 +
 
 +
The current version of the module only support program on a SCC cartridge (mapped-ROM using <tt>[[Targets#Mapped_ROM_program|ROM_KONAMI_SCC]]</tt> mapper).
  
 
SCC sound chip is visible to CPU through bank #2 (address 8000h to 9FFFh). As player have to switch this bank to SCC,  both the TriloTracker player and the music data must be in another bank.
 
SCC sound chip is visible to CPU through bank #2 (address 8000h to 9FFFh). As player have to switch this bank to SCC,  both the TriloTracker player and the music data must be in another bank.
  
Adding trilo_scc_player module in front of the modules list allow to put it in bank #0 or #1. Then
+
Adding {{MOD|trilo_scc_player}} module in front of the modules list allow to put it in bank #0 or #1. Then
 +
 
 +
 
 +
 
 +
== Annexe ==
 +
* See also: Sample program {{SAMPLE|s_trilo}}

Revision as of 11:49, 1 July 2022

The trilo_scc_player module handle the playback of TriloTracker SCC musics and SFX.

Dependencies

  • None

Settings

  • TRILO_USE_SFXPLAY/tt>: Add support for SFX playback (default: 1)
  • <tt>TRILO_USE_TREMOLO/tt>: Add support for tremolo effect (default: 1)
  • <tt>TRILO_USE_TAIL/tt>: Force volume to don't fall to 0 (default: 0)

Usage

Original TriloTracker musics are in TMU format and have to be converted to ASM format first. Use <tt>tools/audio/trilo/tmucompile.bat script to generate the assembler file (the script convert TMU to ASM, then convert ASM to be supported by SDCC assembler, sdasz80).

The current version of the module only support program on a SCC cartridge (mapped-ROM using ROM_KONAMI_SCC mapper).

SCC sound chip is visible to CPU through bank #2 (address 8000h to 9FFFh). As player have to switch this bank to SCC,  both the TriloTracker player and the music data must be in another bank.

Adding trilo_scc_player module in front of the modules list allow to put it in bank #0 or #1. Then


Annexe