APU
| 44 | // APU |
| 45 | |
| 46 | type APU struct { |
| 47 | console *Console |
| 48 | channel chan float32 |
| 49 | sampleRate float64 |
| 50 | pulse1 Pulse |
| 51 | pulse2 Pulse |
| 52 | triangle Triangle |
| 53 | noise Noise |
| 54 | dmc DMC |
| 55 | cycle uint64 |
| 56 | framePeriod byte |
| 57 | frameValue byte |
| 58 | frameIRQ bool |
| 59 | filterChain FilterChain |
| 60 | } |
| 61 | |
| 62 | func NewAPU(console *Console) *APU { |
| 63 | apu := APU{} |
nothing calls this directly
no outgoing calls
no test coverage detected