desc
Offset | Name | Type | F | E | D | C | B | A | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
$78 | SOUND4_CR1 | Read Write | Envelope Initial Latch | Envelope Direction | Envelope Step Size | Sound Length (W) |
Which allows the length to be configured from 1/256 to 1/4 of a second(64 - length field)/256 seconds
Offset | Name | Type | F | E | D | C | B | A | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
$78 | SOUND4_CR2 | Read Write | Restart (W) | Continuous Output | Clock Shift | Sound Period | Clock Divider |
Which allows the length to be configured from 1/256 to 1/4 of a second(64 - length field)/256 seconds
Example: A very simple interrupt handler.
// have occured by looking at the IF register.
Copyright © 2001 to 2002, Bottled Light, Inc.