Skip to content

Commit

Permalink
Readme, license and another mirror changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Вадим Черенёв committed Dec 13, 2020
1 parent 1ae580b commit 0cfa36c
Show file tree
Hide file tree
Showing 5 changed files with 88 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
build
.idea
cmake-build-*
build*
node_modules

sixsixsix.tap
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ set(DATA_LOC 65000)

project(${TARGET})

set(CMAKE_C_FLAGS "-mz80 --no-std-crt0 --vc --code-loc ${MAIN_CODE_LOC} --data-loc ${DATA_LOC} --std-sdcc99 --max-allocs-per-node 1000000")
set(CMAKE_C_FLAGS "-mz80 --no-std-crt0 --vc --code-loc ${MAIN_CODE_LOC} --data-loc ${DATA_LOC} --std-sdcc99 --max-allocs-per-node 10000")

file(GLOB_RECURSE SOURCES RELATIVE ${CMAKE_SOURCE_DIR} "src/*.c")
add_executable( ${TARGET} ${SOURCES})
Expand Down
13 changes: 13 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright (c) 2020, Vadim Cherenev <[email protected]>

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
73 changes: 72 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,72 @@
Don't look, don't look!
# 6.6.6.6

This is the second attempt to make a game for ZX Spectrum.

Long-long ago, between the world of darkness and the world of living people,
it was built - a line of defense, a trap for dark forces. The Net.
But from the blows of the creatures of darkness, cracks are already scattering across it.
If the defenses collapse, the world will end. The only hope is to repair the cliffs
and restore the fallen areas before the entire Network collapses.

But who can handle this task?

You?

The hero of the game is a rookie in the army of Light, protecting the sparkling The Net
from the intrigues of the Dark Forces, a fighter against darkness and chaos,
a technical support employee who first went to work. evil, restart the routers,
and turn off and then turn on the frozen equipment. Each task consists of two stages:
a bike ride, where you need to overcome a winding path in the allotted time,
and the answer to a question, with a choice of one of three options.
Five attempts, and the attempt is wasted both in the wrong answer to the question
and in the fall from the bike.

Let the Evil tremble! Our hero is already close!

P.S. Beware of puddles on the road. "

![Title image](assets/src/intro.jpg)
![Screenshot](screenshot.png)

## Prerequisities

1. [nodejs and npm](https://nodejs.org/en/download/) because assets preparing scripts written in JavaScript.
2. bin2c
3. [zmakebas](https://github.com/z00m128/zmakebas)
4. cmake
5. [sdcc](http://sdcc.sourceforge.net/)
6. [Fuse emulator](http://fuse-emulator.sourceforge.net/)

## Building

### Prepare assets

In a project root directory:
```
./assets.h
```

### Compile binary

In a project root directory:
```
mkdir build
cd build
cmake ..
make
```

### Compose tape file

In a project root directory:
```
./maketape.sh build
```
This will create tape file sixsixsixsix.tap in a project root directory.

## Playing

In a project root directory:
```
./emulate.sh
```
Binary file added screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0cfa36c

Please sign in to comment.