Tetris

= Tetris by Kees van Oss =

Licence
Freeware (source code available, open source project)

C64 Tetris &copy; 2017 Wiebo de Wit, Blog: https://devdef.blogspot.nl/2015/02/tetris-in-6502-assembler-part-1.html Atomic Tetris by Kees van Oss, 2017

Introduction
Wiebo de Wit started to make a blog about writing a Tetris game for the C64 based upon the Gameboy version. It's an interesting blog to read and it has 14 parts to finish writing the C64 Tetris game. You can find the original sources here: https://github.com/wiebow/tetris.c64

Retro Software is therefore proud to reveal a brand new Atom port by the Dutch coder Kees van Oss. This new release is an astonishingly accurate version of the original title. The conversion was 'relative' easy because the original source was written in 6510 assembler for the C64. The 6502 and 6510 assembler do not differ a lot so the only thing to convert was the screen-, keyboard- and sound handling. The original game has SID sound and this sound is converted to AtomSID sound.



Atom
Port by Kees van Oss

System Requirements

 * Standard Acorn Atom
 * 32 KB RAM (#0000-#7FFF)
 * 6 KB video RAM (#8000-#97FF)
 * Joystick connected to keyboard matrix (Optional)
 * Joystick connected to PORTB AtoMMC interface (Optional)

Keys:
A - Rotate clockwise S - Rotate anticlockwise , - Move left . - Move right SPACE- Dump

P - Toggle pause ESC- Restart game

Joystick Connections
An optional joystick can be connected parallel to the first row of the keyboard matrix according to the Dutch Atom Group standard:

row     column write     read   Joystick --  0   - PB0 - #01 - Jump 0  - PB1 - #02 - Left 0  - PB2 - #04 - Up   0   - PB3 - #08 - Right 0  - PB4 - #10 - Down
 * 1) B000    #B001

An optional joystick can be connected to PORTB of the AtoMMC interface with software version 2.9.

AtoMMC Joystick - PB0  -  Right PB1 -  Left PB2 -  Down PB3 -  Up  PB4  -  Jump PB5 -  nc  PB6  -  nc  PB7  -  nc  GND  -  GND

Downloads
[[Media:Tetris.zip|Tetris tape/disc/AtoMMC images]]

This image archive includes tape, disc and AtoMMC versions of the game. Read the included Readme.txt file for more info.

Tape version:


 * TETRIS.TAP, Tapefile for emulator Wouter Ras, to start the game, type: *RUN"SIDRUN"

Disk version:


 * TETRIS.DSK, Diskfile for emulators, to start the game, type *RUN"SIDRUN"

AtoMMC version:


 * SIDRUN, Basic introscreen
 * SIDCODE, Gamecode

To start the game, type: *RUN"SIDRUN"

The sourcefiles are included and have to be compiled with the CC65 cross compiler. Type MAKE TETRIS to compile the program. An assembler listing is created in the TETRIS.LST file.

Videos
Atomic Tetris by Kees van Oss Posted: Mon Jun 26.