Changes

Jump to: navigation, search

PlayCity

No change in size, 20:25, 4 March 2015
/* Channel 2/3 ($F882/$F883) */
The channels 2 and 3 are dedicated to general purpose usages. Yes, it's for you! The input for the trigger (TRG2) is the 4 MHz
system clock. The output (ZC/TO2) is linked to the trigger for the channel 3 (TRG3). They can be used as 2x 8-bit or 1x 16-bit
counter/timer. They generate normal interrupts and allow to use using the Z80 vector interrupt (mode 2) too. 
===Coding examples===
Each channel is programmed with two bytes; a third is necessary when interrupts are enabled. Once started, the CTC countdown
2,002
edits