OpenCores
URL https://opencores.org/ocsvn/z80soc/z80soc/trunk

Subversion Repositories z80soc

[/] [z80soc/] [branches/] [RonivonCosta/] [doc/] [README.txt] - Blame information for rev 44

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 rrred
Z80 Computer on DE1 Development board
2
 
3
Arquitecture
4
------------
5
 
6
 
7
SW9     - Reserved - Reset
8
SW8     - Reserved
9
LEDR9   - Reserved
10
LEDR8   - Reserved
11
 
12
Memory
13
------
14
0000H - 01FFH - ROM             (0      - 8191)
15
2000H - 3FFFH - VIDEO RAM       (8192   - 16383)
16
4000H - FFFFH - RAM             (16384  - 65535)
17
 
18
IO
19
--
20
 
21
Output Ports
22
------------
23
01H     - Green Leds (7-0)
24
02H     - Red Leds (7-0)
25
 
26
10H     - HEX1 - HEX0
27
11H     - HEX3 - HEX2
28
 
29
 
30
 
31
Inputs
32
------
33
20H     - SW(7-0)
34
 
35
30H     - KEY(3-0)
36
 
37
Video
38
-----
39
2000h   - 1FFFH         Video RAM Memory
40
2000h   - 24B0H         Text Video memory
41
 
42
Keyboard
43
--------
44
80H     - Read Keyboard Ascii code
45
 
46
Input/Output
47
------------
48
 
49
All write operations to GPIO are buffered.
50
To write the buffered signals to the pins, the Z80 must
51
write any value to port C0 (GPIO0) or C1 (GPIO1)
52
 
53
A0      - GPIO0 (7-0)
54
A1      - GPIO0 (15-8)
55
A2      - GPIO0 (23-16)
56
A3      - GPIO0 (31-24)
57
A4      - GPIO0 (35-32)
58
 
59
B0      - GPIO1 (7-0)
60
B1      - GPIO1 (15-8)
61
B2      - GPIO1 (23-16)
62
B3      - GPIO1 (31-24)
63
B4      - GPIO1 (35-32)
64
 
65
C0      - GPIO0 Write
66
C1      - GPIO1 Write
67
 
68
 
69
--
70
 
71
Reference Sample ROM
72
 
73
It is provided a ROM with a reference application, and the correspnding
74
Z80 source codes.
75
 
76
To use the application you will need to connect the DE1 board to a
77
VGA monitor and PS/2 keyboard.
78
 
79
The program will show how to use:
80
        Input push buttons
81
        Input Switches
82
        PS/2 keyboard
83
        Video text out
84
        Leds
85
        7seg display
86
 
87
The program starts waiting for keys to be typed in the keyboard.
88
The characters are shown on the 40x30 video (VGA).
89
If "A" is pressed, then the program starts another routine,
90
that will write bytes into SRAM. After 255 bytes are written,
91
the bytes are read sequencially.
92
The address read are displayed in the seven seg display, and
93
the byte read displayed in the leds (binary format).
94
When finished, waits for KEY0 (DE1 board) and then restart again.
95
 
96
The switches (7-0) are used as input to calculate delays. Try
97
changing these switches to speed up ou slow down the leds. It only
98
takes effect after a Z80 reset.
99
To reset the Z80, use SW9.
100
 
101
Hope you enjoy.
102
 
103
TO-DO:
104
----
105
 
106 11 rrred
- Expand the character sets (this versions have only uppercase letters and numbers)
107 2 rrred
- 80x40 Video display
108
- Serial communication
109
- Monitor program to allow download of programs by serial communication
110
- Mass storage device (SD/MMC)
111
- Video colors

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.