Frotz curses interface for Kindle Touch & Paperwhite (via kterm)
====================================================
Frotz version: 2.43d http://frotz.sourceforge.net/
Compiled for Kindle K5 by Fvek from mobileread.com: 1.1.2

----------------------------------------------------
WHAT IS THIS:
----------------------------------------------------
Frotz is an interpreter for Z-machine interactive fiction (Infocom-style text games -- like Zork, Hitchikers Guide to the Galaxy, etc.).

It's a console-based program and thus requires a text display. You can use kterm to run it on a Kindle Touch and Paperwhite  (see below). It might also work on other models of Kindle or other ARM devices, but I can't test this.

It should be able to play any game that frotz-2.43d supports. I've only tested a few. Freefall (http://www.wurb.com/if/game/94) works, so you can now have Tetris on your Kindle too (more or less).

For the executable itself, all I did was cross-compile frotz to run on ARM (using the gcc-arm-linux-gnueabi package on Ubuntu). The GPLed source code and more information are on the frotz site (http://frotz.sourceforge.net/). I had to fiddle with the Makefile and use a copy of /usr/lib/libncurses.so.5.6 from the KT to compile, but the only change in the source was to comment-out a sanity check in curses/ux_init.c so it would run as root (there's no regular user account on the Kindle). Otherwise it's vanilla frotz.

Sound is deactivated since frotz uses OSS and Kindle Touch uses ALSA and I don't know how to make that work.

Color modes, especially color backgrounds, cause weird display issues in kterm, but that can be disabled on the command line (see below). Or you can telnet into your Kindle from something with a color display.

(modified by nasser for kindle distribution with inform6 compiler 2018-04-15)
