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

Subversion Repositories z80soc

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

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

Line No. Rev Author Line
1 14 rrred
Z80 Computer on Spartan 3E Starter Kit
2 11 rrred
 
3
Arquitecture
4
------------
5
 
6 18 rrred
Button West (left) - Reserved - Reset
7 11 rrred
 
8
Memory
9
------
10
0000H - 01FFH - ROM             (0      - 8191)
11
2000H - 27FFH - VIDEO RAM       (8192   - 10239)
12
3FE0H - 3FFFH - LCD Video RAM   (16352  - 16383)
13 18 rrred
4000H - 7FFFH - RAM memory      (16384  - 32763)
14 11 rrred
 
15
IO
16
--
17
 
18
Output Ports
19
------------
20
01H     - Green Leds (7-0)
21
 
22
Inputs
23
------
24
20H     - SW(3-0)
25
 
26
30H     - KEY(3-0)
27
 
28
Keyboard
29
--------
30
80H     - Read Keyboard Ascii code
31
 
32
--
33
 
34
Reference Sample ROM
35
 
36
It is provided a ROM with a reference application, and the correspnding
37
Z80 source codes.
38
 
39
To use the application you will need to connect the S3E board to a
40
VGA monitor and PS/2 keyboard.
41
 
42
The program will show how to use:
43
        Input push buttons
44
        Input Switches
45
        PS/2 keyboard
46
        Video text out
47
        Leds
48
        LCD
49
 
50 18 rrred
The program starts waiting for keys to be typed in the keyboard.
51
The characters are shown on the 40x30 video (VGA).
52
If "A" is pressed, then the program starts another routine,
53
that will write bytes into RAM. After 255 bytes are written,
54
the bytes are read sequencially and the byte read displayed in the leds (binary format).
55
When finished, waits for KEY0 (East on S3E board) and then restart again.
56 11 rrred
 
57 18 rrred
The switches (4-0) are used as input to calculate delays. Try
58
changing these switches to speed up ou slow down the leds. It only
59
takes effect after a Z80 reset.
60
To reset the Z80, use Key West (left push button).
61 11 rrred
 
62
Hope you enjoy.
63
 
64
 
65
Bugs
66
----
67
 
68
- Z80 programs that have loops using registers HL, DE, BC are not working. This happens only with S3E port. The DE1 version is working 100% what concerns to z80 programs.
69
 
70
TO-DO:
71
----
72
 
73
- 80x40 Video display
74
- Serial communication
75
- Monitor program to allow download of programs by serial communication
76
- Mass storage device (SD/MMC)
77
- Video colors

powered by: WebSVN 2.1.0

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