Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
boards:ecb:zilog-peripherals:start [2019/11/29 09:29]
b1ackmai1er [Serial leads]
boards:ecb:zilog-peripherals:start [2020/01/29 06:13]
b1ackmai1er [Z80-CTC]
Line 212: Line 212:
   * Configure channel 4 to divide by 48 and interrupt.   * Configure channel 4 to divide by 48 and interrupt.
   * Refer to ROMWBW ctc.asm driver for example.   * Refer to ROMWBW ctc.asm driver for example.
 +
 +To enable the CTC, ROMWBW must be rebuilt with the following custom configuration added:
 +
 +SBC_std_cust.asm
 +
 +<​code>​
 +CTCENABLE ​    ​.SET ​    ​TRUE ​   ; ENABLE ZILOG CTC SUPPORT
 +CTCBASE ​      ​.SET ​    ​$B0 ​    ; CTC BASE I/O ADDRESS
 +</​code>​
 +
 +Correct operation of the 50Hz interrupt timer can be confirmed with the TIMER.COM:
 +
 +<​code>​
 +TIMER /C
 +</​code>​
 +
 +[[https://​www.retrobrewcomputers.org/​lib/​exe/​fetch.php?​media=boards:​ecb:​zilog-peripherals:​ctctimer.gif|{{:​boards:​ecb:​zilog-peripherals:​ctctimer.gif?​direct&​392x108}}]]
  
  
boards/ecb/zilog-peripherals/start.txt · Last modified: 2020/01/29 06:13 by b1ackmai1er
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0