A downloadable game

TMSnake (c) 2024 by Niels Haedecke

An adaption of the well-known "Snake" game for CP/M compatible RC2014 homebrew systems. It runs on both, SCM and RomWBW based CP/M variants.

It requires a TMS video module on MSX I/O ports $98/$99 and optionally supports an AY8910/YM2149 sound module on ports $D0/$D8 or $60/$68 as well as the Tynemouth joystick module on port $01.

The game play is quite simple:

  • Use a joystick or W/A/S/D on the keyboard to control the snake
  • Avoid hitting any walls or yourself
  • Pick up all the strawberries along the way
  • With each strawberry that has been picked up, the snake grows in length
  • The snake incrementally gets a faster throughout the game
  • Every 100 points one of four "barrier walls" is randomly placed
  • The game ends once you hit a wall or yourself

In true retro-computing spirit, TMSnake was written in DX-Forth for CP/M-80 on a real RC2014 homebrew computer. This also includes the required TMS video driver, the custom character set and the AY driver as well as the actual game code. It took me about a one and a half year to finish the code and it has been an interesting lesson in simple game mechanics for me.


P.S.: I hope you enjoy playing it as much as I enjoyed developing it.

Download

Download
tmsnake.zip 11 kB
Download
tmsnake.lbr 14 kB

Install instructions

The ZIP file contains the files TMSNAKE.COM and TMSNAKE.TXT. Unpack them and put the files on your CP/M media (SD card / CF card / USB stick), either by copying them over using  cpmtools or by uploading them to the system via the serial console and xmodem.

For CP/M purists, I've provided a classic CP/M Library file (LBR) which contains TMSNAKE.CZM and TMSNAKE.TZT (crunced).

Comments

Log in with itch.io to leave a comment.

Very nice. I hope to add it to my RC2014 Pro. Thank you!