This site contains the files for OS/8 Adventure, updated in 2007-2009.
Version 2.0 (2007) update has several features added after the DECUS submission of Adventure.
Data files are dynamically opened at run time (thanks Robert Phelps for the USR.RA routines!)
Text output is now in mixed upper/lower case.
Game save/restore is fully implemented.
Version 2.1 fixes a bug making ADVENT fail on systems with a FPP-12 along with a bug in the text file loading routines. Thanks go to Philipp Hachtmann for help with verifying the fix for these.
Version 2.2 fixes a bug in the USR.RA edits that I added.
Version 2.3 fixes a number of obscure bugs:
- Eggs moving to the wrong location
- Hints not displaying correctly
- Parsing of long words (like "INVENTORY") didn't work right
- Fix for a random crash due to overflow, only on an FPP-equipped system
- Echo user input in the case in which it was entered
Version 2.4 (April 2009) contains a number of tweaks to decrease ADVENT's memory consumption and allows more flexible output formatting.
Compiled ProgramThe disk image advbin.rx contains everything you need to run Adventure on OS/8. This is a SIMH ( http://simh.trailing-edge.com/) format RX01 image.
For a more complete setup, there's a RK05 OS/8 image at advent.rk05 that has source and precompiled binaries, also including a copy of TECO and VTEDIT patched to support VT100/ANSI terminals.
See ADVENT.DC for instructions on how to run Adventure. There's a blog posting here that gives directions on how to boot the RK05 image above using SIMH.
Source CodeThe two disks advsrc1.rx and advsrc2.rx are SIMH format RX01 images containing the source code.
In addtion, the file advent.zip contains the source code in a ZIP file.
The individual source files for Adventure are available below.
|BUG.FT||Bug report subroutine|
|RND.FT||Random number generator|
|RSTRGM.FT||Restore saved game|
|YES.FT||Yes/No response routine|
RALF Source:[Note: Internet Explorer treats these like Real Audio files even though they're marked as plain text. Use right-click/Save As to save them. Better yet, use Firefox.]
|AMAIN.RA||Game main routine|
|CARRY.RA||Object handling routines|
|DROP.RA||Object handling routines|
|DSTROY.RA||Object handling routines|
|GETWRD.RA||Array pack/unpack routine, author unknown.|
|JUGGLE.RA||Object handling routines|
|MOVE.RA||Object handling routines|
|PUT.RA||Object handling routines|
|SEED.RA||Random number seed/blinky lights|
|USR.RA||File I/O routines|
|COMPIL.BI||Compile batch script|
|LOAD.BI||Load batch script|
|ADVENT.LD||Pre-built load module|
|FRTS.SV||FORTRAN Run-Time System OS/8 Image|