Tool: Port - wiremod/wire GitHub Wiki
Tool: Port
| Function | Description |
|---|---|
| Purpose | Intended for the ZCPU port input. |
| Primary Fire | Creates/Updates a port. |
Inputs
| Input | Description |
|---|---|
Port0 |
Number input. |
Port1 |
Number input. |
Port2 |
Number input. |
Port3 |
Number input. |
Port4 |
Number input. |
Port5 |
Number input. |
Port6 |
Number input. |
Port7 |
Number input. |
Outputs
| Output | Description |
|---|---|
Port0 |
Number/Hi-Speed. |
Port1 |
Number/Hi-Speed. |
Port2 |
Number/Hi-Speed. |
Port3 |
Number/Hi-Speed. |
Port4 |
Number/Hi-Speed. |
Port5 |
Number/Hi-Speed. |
Port6 |
Number/Hi-Speed. |
Port7 |
Number/Hi-Speed. |
Description
Intended for the ZCPU port input, however any Hi-Speed device may write to its memory which is especially useful for connecting multiple ports to the CPU via the Address Bus. The Port inputs and outputs map to the addresses 0-7. For example, writing 5 to address 0 will make Port0 output 5 and reading address 0 will read the Port0 input.
Port0