Skip to content
/ frotz Public
forked from DavidGriffith/frotz

STM32 ChibiOS port of Infocom-style interactive fiction player

License

Notifications You must be signed in to change notification settings

kibergus/frotz

 
 

Repository files navigation

This is a crude port of frotz to ChibiOS intented to run on STM32 uController.
This port was made by chopping everything not needed for me:
 1) Any file interactions, including game saving and loading.
 2) Undo implementation.
 3) Support for sound and images.
 4) Hacks for existing games
 5) Any other things that did not compile and were not needed.
And then adding a bit:
 1) Game is stored in const array. This allows to put in-to uController flash memory.
    #define GAME_DATA_SIZE 351744
    extern const char GAME_DATA[];
 2) Game data is not copied to RAM, because there is not enought RAM. So some hacks for
    z-machine address space were required.
 3) Implemented malloc, free, realloc, time, random and so on.
 4) main renamed to frotz_main.
 5) Minor type fixes.

Implementation of ch_fputs, ch_fputc, and frotz_getline is not included because it
contains a lot of specific code to allow interraction of minigames written on C++ with
game running in frotz.


===========================================

FROTZ V2.44 - An interpreter for all Infocom and other Z-machine games.
Complies with standard 1.0 of Graham Nelson's specification.

Originally written by Stefan Jokisch in 1995-1997.
Ported to Unix by Galen Hazelwood.
Reference code and Unix port currently maintained by David Griffith.

- Compiles and runs on most common flavors of Unix, both open source and not.
- Plays all Z-code games including V6.
- Old-style sound support through OSS driver.
- Config files.
- Configurable error checking.
- Distributed under the GNU Public License.


For information on what Interactive Fiction is and how to play it, see the
file "HOW_TO_PLAY".

For installation information, see the file "INSTALL".

For update history, see the file "Changelog".

For information on known bugs in Frotz, see the file "BUGS".

For bug reports, check the Unix Frotz website to see if there's a new
release.  If not, send your bug report to me at dave@661.org.

For information on porting Frotz to new platforms, see the file "PORTING".

For those who are involved in creating and distributing binary packages
containing Frotz and including Frotz in BSD-style ports/pkgsrc trees,
see the file "PACKAGING".

The latest information on and source code of Unix Frotz is available at 
https://github.com/DavidGriffith/frotz

The latest release of Unix Frotz is available from the Interactive
Fiction Archive at:
http://www.ifarchive.org/if-archive/infocom/interpreters/frotz/
	frotz-<version>.tar.gz
and
ftp://ftp.ifarchive.org/if-archive/infocom/interpreters/frotz/
	frotz-<version>.tar.gz


The Interactive Fiction Archive has several mirrors which may be better
choices depending on where you live.  Here is a partial list.

in the USA:         http://mirror.ifarchive.org/
                    http://ifarchive.jmac.org/
                    http://ifmirror.russotto.net/
                    http://ifarchive.flavorplex.com/
                    http://ifarchive.smallwhitehouse.org/
                    http://ifarchive.wurb.com/
                    http://ifarchive.plover.net/
                    http://www.ifarchive.info/
                    http://ifarchive.ifreviews.org/
                    http://mirrors.ibiblio.org/interactive-fiction/
in Ireland:         http://ifarchive.heanet.ie/
in Austria:         http://ifarchive.giga.or.at/

FTP based mirrors are also available:

in the USA:         ftp://ifarchive.ifreviews.org/if-archive/
in Austria:         ftp://ftp.giga.or.at/pub/ifarchive/
in Finland:         ftp://ftp.funet.fi/pub/mirrors/ftp.ifarchive.org/if-archive/

And via Gopher:

in the USA:         gopher://gopher.feedle.net/1/if-archive/

About

STM32 ChibiOS port of Infocom-style interactive fiction player

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 95.3%
  • PHP 1.5%
  • C++ 1.5%
  • Makefile 1.0%
  • Assembly 0.4%
  • Shell 0.3%