Commit 3c0252f3 authored by Vít Ramba's avatar Vít Ramba
Browse files

Added new info to man and doc based on new features and feedback

parent 499016fa
......@@ -2,8 +2,8 @@
User manual for the game GRAFO, made as a semestral project for computer architectures in the summer semester of 2020.
The code is written without any C library. Just plain C code.
Made by: Matej Kopecky and Vit Ramba
# Installatio
# Installation
1. Download the code:
2. Install QTMips from this site: https://github.com/cvut/QtMips/releases/
3. Set up your QTMips to see LCD Display, terminal with input, LED’s and knobs like the picture shows.
......@@ -14,11 +14,13 @@ Made by: Matej Kopecky and Vit Ramba
5. In your folder now should be ‘main’ file.
6. Run that file in QTMips to start Grafo.
7. Set QTMips speed to MAX.
For better performance, it is recommended to disable core-view, registers, program instructions and memory panels.
# Controls
After you start the code, wait around half a minute before LCD loades. Keep an eye on the terminal. There will instructions for you. After the LCD loads, you can start pressing some buttons to set color of your drawing.
# Color options – press button:
# Color options – press button:
1. ‘r’ for color red
2. ‘g’ for color green
3. ‘b’ for color blue
......@@ -29,13 +31,20 @@ After you start the code, wait around half a minute before LCD loades. Keep an e
* Press ‘q’ to end the game.
After you pick color, you will start drawing in the draw screen. Both LED’s will show you the chosen color.
* To change color when you start drawing, hold the button for a moment for the code to pick it up.
* Changing color when drawing
- hold the button for a moment for the code to pick it up.
- or switch between colors using the blue knob - each color is available at different knob positions (knob value goes from 0 to 255):
0 - 50: red
51 -101: green
102 - 152: blue
153 - 203: yellow
204 - 255: white
# Terminal
Terminal will show you every now and then coordinates of the cursor.
To change color when you start drawing, hold the button for a moment for the code to pick it up.
# Drawing
* Use red and green knob to move the cursor
The drawing is controlled by red and green knob. Red knob value is horizontal coordinate of the cursor. Green knob value is vertical coordinate of the cursor. In the moment when you change some of the two values, the cursor will start to move for that new coordinate that you just set. Line of the drawing will be continuous and whenever you change the values, it will move to new coordinate.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment