MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / enableChannel

Method enableChannel

Source/Amiga/paula.hpp:177–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175 }
176
177 void enableChannel(uint8 channel) {
178 assert(channel < NUM_VOICES);
179 Channel &ch = _voice[channel];
180 ch.data = ch.dataRepeat;
181 ch.length = ch.lengthRepeat;
182 // actually first 2 uint8s are dropped?
183 ch.offset = Offset(0);
184 // ch.period = ch.periodRepeat;
185 }
186
187 void setChannelInterrupt(uint8 channel, bool enable) {
188 assert(channel < NUM_VOICES);

Callers

nothing calls this directly

Calls 1

OffsetClass · 0.85

Tested by

no test coverage detected