-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
2,432 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# These are some examples of commonly ignored file patterns. | ||
# You should customize this list as applicable to your project. | ||
# Learn more about .gitignore: | ||
# https://www.atlassian.com/git/tutorials/saving-changes/gitignore | ||
|
||
# Node artifact files | ||
node_modules/ | ||
dist/ | ||
|
||
# Compiled Java class files | ||
*.class | ||
|
||
# Compiled Python bytecode | ||
*.py[cod] | ||
|
||
# Log files | ||
*.log | ||
|
||
# Package files | ||
*.jar | ||
|
||
# Maven | ||
target/ | ||
dist/ | ||
|
||
# JetBrains IDE | ||
.idea/ | ||
|
||
# Unit test reports | ||
TEST*.xml | ||
|
||
# Generated by MacOS | ||
.DS_Store | ||
|
||
# Generated by Windows | ||
Thumbs.db | ||
|
||
# Applications | ||
*.app | ||
*.exe | ||
*.war | ||
|
||
# Large media files | ||
*.mp4 | ||
*.tiff | ||
*.avi | ||
*.flv | ||
*.mov | ||
*.wmv | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# TimTris v0.9 | ||
|
||
This repository contains source code written in [TRSE](https://lemonspawn.com/turbo-rascal-syntax-error-expected-but-begin/) by Nicolaas Groeneboom. | ||
|
||
TimTris is a Tetris clone for TIM-011, school computer from Ex-Yugoslavia. Original Tetris is by Alexey Pajitnov. | ||
|
||
Game uses graphics libraries written by me, and file libraries partially adapted from MESCC code by Miguel Garcia Lopez, both part of TRSE. | ||
|
||
PTX Player is by S.V.Bulba, adapted to TIM-011 by Marko Šolajić. To compile it, you'll need [ZASM](https://k1.spdns.de/Develop/Projects/zasm/Distributions/). | ||
|
||
"Tetris 2 Red Dawn" music is by Frantisek Fuka. | ||
|
||
Many thanks to Marko for helping with various TIM stuff and Mićko for TIM-011 MAME emulator! | ||
|
||
## Requirements | ||
|
||
Working TIM-011 (there maybe 10 or less left in the world, so not a huge crowd) with AY sound card (needed if you wan to hear music). | ||
|
||
Oooor... | ||
|
||
MAME emulator, compiled from latest GitHub source, version 0.263 or later. | ||
|
||
## Running | ||
|
||
On real machine, after boot, type <r> <Return> to start it, and switch to lower case letters if needed. | ||
|
||
On emulator, run it with: | ||
|
||
``` | ||
mame tim011 -window -v -r 720x512 -switchres -exp ay -flop1 <image_name>.img | ||
``` | ||
|
||
and do the same as on a real machine. | ||
|
||
NOTICE: Computer needs around 30-40 seconds before anything shows on screen, so be patient! | ||
|
||
## TODO | ||
|
||
* File library still cannot save content, needs debugging/fixing (so high score cannot be saved) | ||
* Adjustments to graphics (mostly cropping) | ||
* Adding cursor keys as input (not yet fully supported by emulator) | ||
* Game sometimes freezes/exits, but that one is so far observed only in emulator, not on real machine, needs more investigating | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
# Uses https://k1.spdns.de/Develop/Projects/zasm/Distributions/ | ||
|
||
./zasm ptxplay.asm -o ptxplay.bin | ||
|
Binary file not shown.
Binary file not shown.
Oops, something went wrong.