MZ-80 series implementation for Altera DE0 board
VHDL C Tcl
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
CARD
logic
software/mz80c_de0_soft
.gitattributes
.gitignore
README.md
internal_sram2_hw.tcl
internal_sram8_hw.tcl
internal_sram_hw.tcl
mz80c.cdf
mz80c.pin
mz80c.pof
mz80c.qsf
mz80c.sdc
mz80c.sof
mz80c_de0.qpf
mz80c_de0_sopc.sopc
pll50.qip

README.md

MZ-80C on FPGA

What is this?

This is a implementation Sharp MZ-80 series to FPGA.

Requirements

  • Altera(Terasic) DE0 board
  • Quartus II (I use 11.0 sp1)
  • SD, SDHC or MMC card

How to reproduction project

  1. Download zip file.
  • Create folder to build project in your PC.
  • Put these files in zip to folder.
    • logic/
    • internal_sram_hw.tcl
    • internal_sram2_hw.tcl
    • internal_sram8_hw.tcl
    • mz80c.cdf
    • mz80c.pin
    • mz80c.qsf
    • mz80c.sdc
    • mz80c_de0.qpf
    • mz80c_de0_sopc.sopc
  • Start Quartus II.
  • Open project. File->Open Project...->mz80c_de0.qpf
  • Start SOPC Builder. Tools->SOPC Builder
  • Push Ganerate button in SOPC Builder.
  • When generate successfully, exit SOPC Builder.
  • Start Compilation at Quartus II.
  • Program to DE0 board with mz80c.pof.
  • Start NiosII EDS. Tools->Nios II Software Build Tools for Eclipse
  • When does PC ask workspace, push OK as it is.
  • Create new application and BSP. File->New->Nios II Application and BSP from Template
  • Set parameters and push Finish button.
    • SOPC Information File name:->mz80c_de0_sopc.sopcinfo
    • CPU name:->cpu_0
    • Project name:->mz80c_de0_soft
    • Project template->Hello World
  • Put these files in zip(software/mz80c_de0_soft/*) to software/mz80c_de0_soft folder.
    • diskio.c
    • diskio.h
    • ff.c
    • ff.h
    • ffconf.h
    • file.c
    • file.h
    • integer.h
    • key.c
    • key.h
    • menu.c
    • menu.h
    • mz80c_de0_main.c
    • mz80c_de0_main.h
    • mzctrl.c
    • mzctrl.h
  • Delete hello_world.c.
  • At Project Explorer, expand mz80c_de0_soft, then right-click and select Refresh(F5).
  • Build project. Project->Build All
  • Program to DE0 board with mz80c_de0_soft.elf.
  • Put the files in CARD folder to SD/MMC card.
  • Set card to slot, SW5 is ON(upper), then push power-switch off-on.

Special thanks to ...