toyoshim / tss

Chiptune Sound Library - T'SoundSystem
http://yuri.twintail.org/experiments/tss/js/tss/test.html
BSD 3-Clause "New" or "Revised" License
53 stars 7 forks source link

TSS: ML command support #5

Open toyoshim opened 8 years ago

toyoshim commented 8 years ago

This command has been dropped from the official manual for a long time, but exists in the original TSS.

The spec-like information from the original source code follows.

compiler side:

                        case 'm':
                                if('l' == sort->peek()){        // multiple
                                        sort->get();
                                        if (!getOneParam(dt, 1, 0, 255, TSSC_ERR_MULTIPLE))
                                                goto error;
                                        data->put(0x93);
                                        data->put(dt);

driver side:

                                case 0x93:
                                        // multiple
                                        work->channel[i]->multiple = work->work[i].channelData[work->work[i].channelPos++];
                                        break;
toyoshim commented 8 years ago

aike fixed this issue! https://github.com/toyoshim/tss/pull/6