Code Monkey home page Code Monkey logo

z1013-mist's Introduction

Z1013-mist

The robotron Z1013 port for the mist board.

Overview

This project emulates a robotron Z 1013 computer from 1984. The original Z 1013 was sold as a kit (without case and power supply).

This Z1013.01 emulation use 2 MHz clock frequency and is equipped with 16 kByte RAM.

Getting started with Z1013.01

Copy the core (rename core_z1013.rbf to core.rbf) on your SD card and start the mist device.

Overview of OSD options

feature values
Load *.Z80 load .z80 files (headersave) from SD card
Decoration Scanlines on/off and Mono/Color
Keyboard layout de/en
Online help on/off
Joystick mode practic 1/88, ju+te 6/87, practic 4/87 or ERF-Soft
Autostart enable/disable

When the Z1013 is running, you can load .z80-files via the OSD direct into the memory. Name, type, load address, end address and start address of the loaded file is show on top of screen. When Autostart is enabled (default) then the program will be started automaticly. Otherwise J <start address> will also jump to the start address. The original keyboard layout is a littlebit strange, so expect unusal keys to control the games, e.g. for moving up und for moving down.

The Z1013 core was developed and sucessfully tested with ARM firmware version ATH160123.

Supported features

Z1013.01:

  • 16 kByte RAM (0000h - 3FFFh)
  • 1 kByte video RAM (EC00h - EFFFh)
  • 2 kByte ROM (F000h - F7FFh), Riesa monitor 2.02
  • keyboard mapping from PS/2 scancodes to 8x4 matrix
  • joystick on user port (PIO A)
  • frequency switching 2 MHz/ 4 MHz, port 04h, bit 6
  • sound output PIO B7 or user port (PIO)

MiST additions:

  • load z80 files (headersave format) from SD-card
  • display file information on status line
  • autostart z80-files
  • scanline support
  • online help for most monitor commands
  • switchable color scheme
  • right push button on mist for reset

Z1013 with OSD (center), online help (right) and status line (top)

Project structure

Directory remark
contrib code used from other projects
cores stuff generated with MegaWizard
library helper source code
ROMs monitor ROMs for Z1013
rtl source code
rtl_tb testbench source code
simulation_modelsim simulation scripts
synthesis_quartus synthesis scripts
vhdl_files.txt list of used files (for simulation and synthesis)

to start a simulation change to directory simulation_modelsim and do

cd simulation_modelsim
make
make simulate

to generate core_z1013.rbf use directory synthesis_quartus and start

cd synthesis_quartus
make all

to reprogram the FPGA (JTAG-Blaster required) just do

cd synthesis_quartus
make program

Known problems

  • somtimes keyboard start in hexadecimal mode, result in wired inputs,

    solution: switch to alphanumeric mode with A

Project history

original project by FPGAkuechle published 2012/2013 at mikrocontroller.net:

https://www.mikrocontroller.net/articles/Retrocomputing_auf_FPGA

ported by abnomane to Altera, April 2013:

http://abnoname.blogspot.de/2013/07/z1013-auf-fpga-portierung-fur-altera-de1.html

adapted to mist platform by Boert, released December 2017:

https://github.com/boert/Z1013-mist

z1013-mist's People

Contributors

boert avatar kcbert avatar

Watchers

 avatar  avatar

z1013-mist's Issues

Reset Button

This will activate the Right Button on Mist for Reset

------------------------------------
-- reset generator
--
process
begin
    wait until rising_edge( cpu_clk);

    if reset_counter > 0 then
        reset_counter   <= reset_counter - 1;
    else
        sys_reset       <= '0';
    end if;

    -- all reset sources:
    if  ( user_io_status(0)='1')--ARM Reset
  		or ( user_io_status(1)='1')--Menu Reset
  		or ( user_io_buttons(1)='1')--Right Button on Mist
        or ( pll_locked = '0') 
        or ( data_io_inst_download = '1' and unsigned( data_io_index) = 0)
    then
        reset_counter   <= 255;
        sys_reset       <= '1';
    end if;

end process;
sys_reset_n <= not sys_reset;

and add this to user_io
buttons => user_io_buttons, -- : out std_logic_vector( 1 downto 0);

Contact me here:http://www.atari-forum.com/memberlist.php?mode=viewprofile&u=25549 ich bin aus Görlitz

Some bugs in MIST core

Hi!

Very nice reimplementation!

But found some bugs:

  1. Certain games simply don't run (i.e. Ladder).
  2. In the menu the highlighted area disappears below the 'Autostart' funcion, but works (there's an invisible 'Reset' item). Someone mentioned earlier (perhaps Sorgelig) that only 7 rows fit to one page of the menu.
  3. Couldn't use any of the games with joystick (tried all the joy and kb. settings combinations, tested USB gamepads and retro DB9 devices as well).
  4. Some games use strange keysets to control the game, but knowing that the original machine had ABCDEF keyboard layout instead of the standard QWERTY, that's not a surprise.

Keep up the important work, I really like these Eastern European computers!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.