Changes

Jump to: navigation, search

SOUNDCHIP SFG-01 MBIOS

1,073 bytes added, 13:05, 27 June 2021
5.1.2 Definition of instruments
IDB#P0 channel 6
IDB#P1 channel 7
 
===5.1.3 Performance of IDB#1===
 
IDB#1 is supposed to play the performance data that is defined in the lines between 246 and 262.
With the auto-thythm clock synchronized to IDB#P0/1, the event data is loaded into queue (QU#1). This is done in the lines between 225 and 244. This routine "auto:" is of course driven by the interrupt, and the event requests in the queue are then played by the main loop between line 165 and 178. The playing is carried out by the lines from 166 arid 168.
 
===5.1.4 Manual play by MK===
 
MK is initialized in the lines between 136 and 139. Here, CHORD-MK is not used. Velocity is set to a default value of 80h. MK is linked up with QU#O.
 
With this setting, the lines 169 to 170 in the main loop issue the MK scanning request. If key actuation is detected, the events are sent into QU#O, which will be played by a P-call between lines 166 and 168.
 
In this example, since the MK scan is placed in the main loop, no MK trapping is used. The method of detecting MK events via MK trap (by defining AST vector in MIDB) would also be possible.
==5-2 Supplementary explanation for recording and playback programming==

Navigation menu