refactor(asm&go4k): Remove FLAGS from all units; they were the source of difficulty in parsing and fragile.

All units now take parameters according to flags. Only non-numeric parameter anymore is oscillator type.
This commit is contained in:
Veikko Sariola
2020-11-10 00:18:56 +02:00
parent e36aea59a5
commit ae334a5dfe
57 changed files with 207 additions and 250 deletions

View File

@ -173,7 +173,7 @@ func Synth(patch go4k.Patch) (*C.Synth, error) {
if unit.Parameters["voice"] != -1 {
address += 0x4000 + 16 + unit.Parameters["voice"]*1024 // global send, address is computed relative to synthworkspace
}
if unit.Parameters["pop"] == 1 {
if unit.Parameters["sendpop"] == 1 {
address += 0x8000
}
values = append(values, byte(address&255), byte(address>>8))