Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
boards:ecb:zilog-peripherals:start [2019/11/29 09:09] b1ackmai1er [Z80-CTC] |
boards:ecb:zilog-peripherals:start [2020/01/29 06:05] b1ackmai1er [Z80-CTC] |
||
---|---|---|---|
Line 180: | Line 180: | ||
==== Serial leads ==== | ==== Serial leads ==== | ||
- | |||
- | The Zilog peripheral board header layouts are different to the other boards in the N8VEM range so custom cables must be made. Here is an example - the Z80-DART/ | ||
| \\ X3 / X7 pin| \\ Signal| | | \\ X3 / X7 pin| \\ Signal| | ||
- | | \\ 1| \\ GND| \\ 5| \\ 5| | | + | | \\ 1| DCD in| |
- | | \\ 2| \\ GND| \\ 5| \\ 5| | | + | | \\ 2| DSR| |
- | | \\ 3| \\ /Tx out| \\ 3| \\ 2| | | + | | \\ 3| \\ /Rx in| |
- | | \\ 4| | + | | \\ 4| |
- | | \\ 5| \\ /Rx in| \\ 2| \\ 3| | | + | | \\ 5| \\ /Tx out| |
- | | \\ 6| | + | | \\ 6| |
- | | \\ 7| | + | | \\ 7| |
- | | \\ 8| | + | | \\ 8| |
- | | \\ 9| | + | | \\ 9| |
| \\ 10| \\ n/c| \\ n/c| \\ n/c| | | | \\ 10| \\ n/c| \\ n/c| \\ n/c| | | ||
+ | |||
+ | \\ | ||
+ | |||
==== Z80-CTC ==== | ==== Z80-CTC ==== | ||
Line 211: | 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 in ROMWBW the following | ||
+ | |||
+ | SBC_std_cust.asm | ||
+ | |||
+ | < | ||
+ | CTCENABLE | ||
+ | CTCBASE | ||
+ | </ | ||
+ | |||
+ | To confirm correct operation, ROMWVW timer program can be used: | ||
+ | |||
+ | < | ||
+ | TIMER /C | ||
+ | </ | ||
+ | |||
+ | {{: | ||