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
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/SIO doesn't provide a DSR input so it uses DCD instead. Ring Indicator is also not used. 
  
 |   \\ X3 / X7 pin|   \\ Signal|   \\ DB-9M|   \\ DB-9F|   \\ Note| |   \\ X3 / X7 pin|   \\ Signal|   \\ DB-9M|   \\ DB-9F|   \\ Note|
-|   \\ 1|   \\ GND|   \\ 5|   \\ 5|   | +|   \\ 1|  DCD in|       | 
-|   \\ 2|   \\ GND|   \\ 5|   \\ 5|   | +|   \\ 2|  DSR|       | 
-|   \\ 3|   \\ /Tx out|   \\ 3|   \\ 2|   | +|   \\ 3|   \\ /Rx in|       | 
-|   \\ 4|   \\ DCD in|   \\ 6 / 1|   \\ 4|   | +|   \\ 4|   \\ RST out|       | 
-|   \\ 5|   \\ /Rx in|   \\ 2|   \\ 3|   | +|   \\ 5|   \\ /Tx out|       | 
-|   \\ 6|   \\ DTR out|   \\ 4|   \\ 6 / 1|   | +|   \\ 6|   \\ CST int|       | 
-|   \\ 7|   \\ RST out|   \\ 7|   \\ 8|   | +|   \\ 7|   \\ DTR out|       | 
-|   \\ 8|   \\ n/c|   \\ n/c|   \\ n/c|   | +|   \\ 8|   \\ RI|       | 
-|   \\ 9|   \\ CTS in|   \\ 8|   \\ 7|   |+|   \\ 9|   \\ GND|       |
 |   \\ 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
 +
 +<code>
 +CTCENABLE     .SET     TRUE    ; ENABLE ZILOG CTC SUPPORT
 +CTCBASE       .SET     $B0     ; CTC BASE I/O ADDRESS
 +</code>
 +
 +To confirm correct operation, ROMWVW timer program can be used:
 +
 +<code>
 +TIMER /C
 +</code>
 +
 +{{:boards:ecb:zilog-peripherals:ctctimer.gif?direct&392x108}}
  
  
boards/ecb/zilog-peripherals/start.txt · Last modified: 2021/06/29 08:33 by b1ackmai1er
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0