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

Subversion Repositories z80soc

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /z80soc/tags/z80soc05c/doc
    from Rev 17 to Rev 31
    Reverse comparison

Rev 17 → Rev 31

/README-S3E.txt
0,0 → 1,79
Z80 Computer on Spartan 3E Starter Kit
 
Arquitecture
------------
 
 
SW3 - Reserved - Reset
 
Memory
------
0000H - 01FFH - ROM (0 - 8191)
2000H - 27FFH - VIDEO RAM (8192 - 10239)
3FE0H - 3FFFH - LCD Video RAM (16352 - 16383)
 
IO
--
 
Output Ports
------------
01H - Green Leds (7-0)
 
Inputs
------
20H - SW(3-0)
 
30H - KEY(3-0)
 
LCD
---
3FE0H - 3FFFh - LCD video memory (32 characters)
 
Video
-----
2000H - 27FFH - Video RAM Memory
 
Keyboard
--------
80H - Read Keyboard Ascii code
 
--
 
Reference Sample ROM
 
It is provided a ROM with a reference application, and the correspnding
Z80 source codes.
 
To use the application you will need to connect the S3E board to a
VGA monitor and PS/2 keyboard.
 
The program will show how to use:
Input push buttons
Input Switches
PS/2 keyboard
Video text out
Leds
LCD
 
The ROM provided will wait for key East of the S3E to proceed.
Then, will show the keys type in the keyboard on the second line of the LCD.
The Switches will be displayed in the LEDS when a key is pressed in the keyboard.
 
Key West on the S3E will reset the system.
 
Hope you enjoy.
 
 
Bugs
----
 
- 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.
 
TO-DO:
----
 
- 80x40 Video display
- Serial communication
- Monitor program to allow download of programs by serial communication
- Mass storage device (SD/MMC)
- Video colors
/README.txt
0,0 → 1,111
Z80 Computer on DE1 Development board
 
Arquitecture
------------
 
 
SW9 - Reserved - Reset
SW8 - Reserved
LEDR9 - Reserved
LEDR8 - Reserved
 
Memory
------
0000H - 01FFH - ROM (0 - 8191)
2000H - 3FFFH - VIDEO RAM (8192 - 16383)
4000H - FFFFH - RAM (16384 - 65535)
 
IO
--
 
Output Ports
------------
01H - Green Leds (7-0)
02H - Red Leds (7-0)
 
10H - HEX1 - HEX0
11H - HEX3 - HEX2
 
 
 
Inputs
------
20H - SW(7-0)
 
30H - KEY(3-0)
 
Video
-----
2000h - 1FFFH Video RAM Memory
2000h - 24B0H Text Video memory
 
Keyboard
--------
80H - Read Keyboard Ascii code
 
Input/Output
------------
 
All write operations to GPIO are buffered.
To write the buffered signals to the pins, the Z80 must
write any value to port C0 (GPIO0) or C1 (GPIO1)
 
A0 - GPIO0 (7-0)
A1 - GPIO0 (15-8)
A2 - GPIO0 (23-16)
A3 - GPIO0 (31-24)
A4 - GPIO0 (35-32)
 
B0 - GPIO1 (7-0)
B1 - GPIO1 (15-8)
B2 - GPIO1 (23-16)
B3 - GPIO1 (31-24)
B4 - GPIO1 (35-32)
 
C0 - GPIO0 Write
C1 - GPIO1 Write
 
 
--
 
Reference Sample ROM
 
It is provided a ROM with a reference application, and the correspnding
Z80 source codes.
 
To use the application you will need to connect the DE1 board to a
VGA monitor and PS/2 keyboard.
 
The program will show how to use:
Input push buttons
Input Switches
PS/2 keyboard
Video text out
Leds
7seg display
 
The program starts waiting for keys to be typed in the keyboard.
The characters are shown on the 40x30 video (VGA).
If "A" is pressed, then the program starts another routine,
that will write bytes into SRAM. After 255 bytes are written,
the bytes are read sequencially.
The address read are displayed in the seven seg display, and
the byte read displayed in the leds (binary format).
When finished, waits for KEY0 (DE1 board) and then restart again.
 
The switches (7-0) are used as input to calculate delays. Try
changing these switches to speed up ou slow down the leds. It only
takes effect after a Z80 reset.
To reset the Z80, use SW9.
 
Hope you enjoy.
 
TO-DO:
----
 
- Expand the character sets (this versions have only uppercase letters and numbers)
- 80x40 Video display
- Serial communication
- Monitor program to allow download of programs by serial communication
- Mass storage device (SD/MMC)
- Video colors
/RevisionHistory.txt
0,0 → 1,15
2008/05/91 - Spartan 3E port released, although not 100% functional (see README)
 
2008/05/01 - Added Caps lock support. Upper and lower case characters are now supported for keyboard input.
 
2008/04/19 - Added complete character set support
- Modified the Z80 demo program format the screen output and input
 
2008/04/16 - Release of Z80SoC-0.5-DE1-Beta
- Features:
- IO pins access by ports (7segdisplay, leds, switches, push buttons, gpio)
- 8 KB VRAM memory mapped
- 8 KB ROM
- 4 8KB SRAM
- Video 40 x 30 Uppercase and Numbers noly
- PS/2 keyboard input
/DISCALIMER.TXT
0,0 → 1,14
This is a beginner project.
 
All precautions (I know) was taken to provide a safe core.
I have tested and worked with this core on my DE1 board for months, and have
not caused any damaged to my equipment so far.
 
However, I decline any responsability of any kind for any damage you may cause to
you hardware when using this core.
 
If you find any unsafe code, or badly wrintten code, feel free to make the corrections.
In the case it is a important change, be kind and let me know:
ronivon.costa@gmail.com
 
 

powered by: WebSVN 2.1.0

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