User Tools

Site Tools


rt11games_cheat

RT-11 games disk contents and the CRLF fix

What is on the QBone's RT-11 games disk, how to run it, and how the broken text files were repaired. Built from the disk's own directory. Verified on RT-11 V5.5 with rt11v5.5_games_crlf.rl02.

Mounted as DL1:. 473 files, 17462 blocks used, 2920 free. Assign it to DK: before running anything — games look for their data there.

Quick Reference

Task Command
Make the disk the default ASSIGN DL1: DK
Colossal Cave Adventure RUN ADVENT
Zork (Dungeon) RUN DUNGEO
Super Star Trek RUN SST
BASIC RUN BASIC
Talk to ELIZA RUN BASIC, OLD ELIZA, RUN
Play an animation TYPE GLOBE.VT
Full file list DIR DL1:/BRIEF
Repair a disk's text files python3 rt11_fix_crlf.py in.rl02 out.rl02

Games

File Blocks Date What
ADVENT.SAV 93 14-Dec-1993 Colossal Cave Adventure. Reads ADVTXT.TXT, ADVENT.VAR
DUNGEO.SAV 216 11-Jan-2014 Dungeon, the mainframe Zork. Reads DINDX.DAT, DTEXT.DAT
SST.SAV 186 27-Nov-2008 Super Star Trek. Read SST.DOC
STRTRK.SAV 54 21-Nov-1996 Star Trek
BLKJAK.SAV 20 15-Dec-1993 Blackjack
PACMAN.SAV 28 15-Dec-1993 Pac-Man for a video terminal
SPCINV.SAV 10 15-Dec-1993 Space Invaders. Reads SPCINV.DAT
DROIDS.SAV 45 24-Apr-1987 Droids. FORTRAN source included
PLANE.SAV 51 30-Oct-1996 Plane

# Assign the disk, then run a game:

ASSIGN DL1: DK
RUN DUNGEO

Game documentation and data

File Blocks Date What
ADVENT.DOC 4 14-Dec-1993 Adventure notes
ADVENT.TXT 125 14-Dec-1993 Adventure text
ADVTXT.TXT 125 14-Dec-1993 Adventure database — do not edit or convert
ADVENT.VAR 22 14-Dec-1993 Adventure data file
DUNGEO.DOC 44 27-Nov-2008 Dungeon notes
DINDX.DAT 20 11-Jan-2014 Dungeon index
DTEXT.DAT 383 11-Jan-2014 Dungeon text
DSAVE.DAT 10 11-Jan-2014 Dungeon data, used for saved games
SST.DOC 118 27-Nov-2008 Super Star Trek instructions
SPCINV.DAT 1 15-Dec-1993 Space Invaders data
DROIDS.FOR 44 24-Apr-1987 Droids FORTRAN source
DROIDS.INC 2 22-Apr-1987 Droids include file
DROIDS.SCR 1 24-Apr-1987 Droids screen data

BASIC

File Blocks Date What
BASIC.SAV 53 04-Apr-1983 BASIC-11 interpreter
ELIZA.BAS 17 ELIZA conversation program
PRIMES.BAS 1 Prime numbers
SIEVE.BAS 1 Sieve of Eratosthenes
PI.BAS 1 Digits of pi
DEMOB1.BAS 3 31-Oct-1989 BASIC demonstration

# Load and run a BASIC program:

OLD DL1:ELIZA
RUN

Leave BASIC with BYE. See BASIC-11.

Programming tools

File Blocks Date What
MACRO.SAV 63 31-Oct-1989 MACRO-11 assembler
LINK.SAV 49 31-Oct-1989 Linker, .OBJ to .SAV
LIBR.SAV 24 31-Oct-1989 Object library manager
CREF.SAV 6 31-Oct-1989 Cross-reference listings
FORTRA.SAV 340 27-Jun-1985 FORTRAN compiler; FORTRAN-77 libraries present
KED.SAV 85 31-Oct-1989 Keypad full-screen editor, VT100 family
EDIT.SAV 19 31-Oct-1989 Line editor
SRCCOM.SAV 26 31-Oct-1989 Text file compare
BINCOM.SAV 25 31-Oct-1989 Binary file compare
DUMP.SAV 10 31-Oct-1989 Octal/ASCII dump
SIPP.SAV 21 31-Oct-1989 Patch .SAV files
PAT.SAV 11 31-Oct-1989 Patch object modules
SLP.SAV 13 31-Oct-1989 Source patch utility
SYSMAC.SML 75 31-Oct-1989 MACRO-11 system macro library
SYSLIB.OBJ 68 31-Oct-1989 RT-11 system subroutine library
ODT.OBJ 8 31-Oct-1989 ODT debugger to link into programs

System utilities

File Blocks Date What
PIP.SAV 30 31-Oct-1989 Engine behind COPY, RENAME, DELETE
DUP.SAV 52 31-Oct-1989 INITIALIZE, SQUEEZE, COPY/DEVICE, BOOT
DIR.SAV 19 31-Oct-1989 The DIR command
FORMAT.SAV 27 31-Oct-1989 Disk formatter
BUP.SAV 68 31-Oct-1989 Backup utility
FILEX.SAV 22 31-Oct-1989 File exchange with DOS-11 and other formats
RESORC.SAV 32 31-Oct-1989 Drives the SHOW commands
IND.SAV 58 31-Oct-1989 Indirect command file processor
HELP.SAV 154 31-Oct-1989 The HELP command
UCL.SAV 16 31-Oct-1989 User-defined commands
SPOOL.SAV 22 31-Oct-1989 Print spooler
KRTMIN.SAV 119 Minimal Kermit — serial file transfer

Monitor and device handlers

File Blocks Date What
RT11SJ.SYS 90 29-May-1997 Single-job monitor
SWAP.SYS 28 31-Oct-1989 Monitor swap file
TT.SYS 2 29-May-1997 Terminal
DL.SYS 4 29-May-1997 RL01/RL02
DU.SYS 22 29-May-1997 MSCP disk
RK.SYS 3 29-May-1997 RK05
LD.SYS 11 29-May-1997 Logical disk
LS.SYS 4 29-May-1997 Serial line printer
NL.SYS 2 29-May-1997 Null device
PC.SYS 2 20-Dec-1985 Paper tape
MS.SYS 11 19-Mar-1992 Magtape

The disk also carries link maps RT11SJ.MAP, RT11FB.MAP, RTSJ.MAP, RTBL.MAP and the startup file STARTS.COM.

VT100 animations (89 files)

# Play one:

TYPE FIREWK.VT

Busy ones want 9600 baud or less, jump scroll, and XON/XOFF on. Some are adult-themed period humour.

BAMBI.VT BARNEY.VT BEER.VT BLNKEY.VT BOMB.VT BUGSBU.VT
BVSBTH.VT CARTWH.VT CASTLE.VT CERT18.VT COW.VT CRASH.VT
CURSOR.VT DELAY.VT DEMO.VT DIRTY.VT DOGS.VT DONTWR.VT
DUCKPA.VT FIREW2.VT FIREWK.VT FISHY.VT FISHY2.VT FISHY3.VT
FLATMA.VT FROGS.VT GLASS.VT GLOBE.VT HALLOW.VT HELLO.VT
JUANSP.VT JUMBLE.VT MAINGA.VT MARKTW.VT MONKEY.VT MONORA.VT
MOON.VT MOVGLO.VT NASA.VT NIFTY.VT NWBEER.VT NWYEAR.VT
OUTLMT.VT PAC3D.VT PARADI.VT PEACE.VT PREY.VT PREY2.VT
PUMPKI.VT SAFSEX.VT SHUTTL.VT SIG.VT SKYWAY.VT SNOWIN.VT
SPINWB.VT SSHIP.VT STRIKE.VT STRTRK.VT SUN.VT SURF.VT
TETRIS.VT TOMORR.VT TORTUR.VT TRDMIL.VT TREK.VT TREKVD.VT
TURKEY.VT TV.VT TWILI.VT TWILI2.VT VALEN2.VT VALENT.VT
VANHAL.VT WINEGL.VT XMAS.VT XMAS0.VT XMAS1.VT XMAS2.VT
XMAS2A.VT XMAS3.VT XMAS4.VT XMAS5.VT XMAS6.VT XMAS7.VT
XMAS8.VT XMAS9.VT XMASLG.VT XMASSH.VT ZORRO.VT

Other programs (21)

Not standard RT-11 utilities or known games. Several belong to the project files below. Look for a matching .COM file before running one.

BAUD.SAV CMAON.SAV CONFIG.SAV DATIME.SAV DBGSYM.SAV DKTOHP.SAV
DOWNLD.SAV INDEX.SAV INDEXX.SAV LET.SAV MONMRG.SAV MSCPCK.SAV
SCRCAP.SAV SCTOHP.SAV SETUP.SAV SPLIT.SAV TGDIAG.SAV TRANSF.SAV
USON1.SAV USON3.SAV VTDIAG.SAV

Everything else (296 files)

Mostly source, objects, listings and backups of someone's MACRO-11 application — names like DTG*, TG*, CMA*, US* — plus build command files and maps.

Type Files What
.MAC 83 MACRO-11 source
.OBJ 67 Object modules
.LST 59 Assembly listings
.BAK 25 Editor backups
.COM 17 Command files
.MAP 11 Link maps
.TXT 5 Text
.CGM 3 —
.FOR 3 FORTRAN source
.MLB 3 Macro libraries
.IMG 2 —
.ANS 2 —
.CND 1 —
.MSG 1 —
.TSK 1 —
.IDX 1 —
.BLD 1 —
.CL 1 —
.TBL 1 —
.EXE 1 —
.BN2 1 —
.BIN 1 —
.DEV 1 —
.MON 1 —
.LNG 1 —
.HPT 1 —
.DCG 1 —
.DMP 1 —

# See them all:

DIR DL1:*.MAC/BRIEF

The CRLF fix

# 1. 70 text files on the stock disk have LF and no CR.

The .VT animations came from Unix, where the terminal driver turns LF into CR+LF. RT-11 does not. On a real VT100 each line starts where the last one ended, drifts right, and piles up against column 80. GLOBE.VT: 690 line feeds, zero carriage returns. A PC terminal program with “add CR on LF” hides it, which is how it shipped.

# Prove it on the terminal — turn on new line mode (LNM) in Set-Up.

If GLOBE.VT plays cleanly with LNM on, this is the cause. Turn LNM off after; it changes what RETURN sends.

# Pull the stock disk off the QBone:

scp root@10.1.1.213:10.03_app_demo/5_applications/rt11.rl02/rt11v5.5_games.rl02 .

# Add the carriage returns to .VT and .DOC files:

python3 rt11_fix_crlf.py rt11v5.5_games.rl02 rt11v5.5_games_crlf.rl02

The script leaves the input untouched, converts only LF-only files of the listed types, copies everything else byte for byte, rebuilds the directory, keeps the RL02 bad-sector track, and compares every file before it finishes. Wanted output:

473 files, 70 converted, 0 mismatches, 2920 blocks free

# Put the fixed disk back:

scp rt11v5.5_games_crlf.rl02 root@10.1.1.213:10.03_app_demo/5_applications/rt11.rl02/

Then point the rl1 drive's p image line at it.

# 2. Never convert .TXT on this disk.

ADVTXT.TXT is ADVENT's database, read as data. Leave the extension list at the default VT DOC.

# 3. The rebuild moves files. Rewrite the boot block if you boot from it:

COPY/BOOT DL1:RT11SJ.SYS DL1:

# 4. RT-11 on this RL02 ends the volume at block 20450.

Images claiming 20460 work until the disk fills, then write over the bad-sector track.

Troubleshooting

Symptom Cause Fix
.VT file smears to the right edge LF without CR _crlf image or terminal LNM
Busy animations garble, simple ones fine terminal falls behind 9600 or less, jump scroll, XON/XOFF
Game can't find its data data file not on DK: ASSIGN DL1: DK
PACMAN prints escape junk may expect VT52 codes try the terminal's VT52 mode
ADVENT broken after a fix .TXT converted Rerun the fix with only VT DOC
Won't boot from the fixed disk files moved COPY/BOOT DL1:RT11SJ.SYS DL1:

Rule of thumb: keep the stock image as the backup, run the _crlf one.

Related: RT-11 commands, QBone setup.

rt11games_cheat.txt · Last modified: by admin