BESM-6 emulator test
Click on a button next to the text area below for a sample program with all the necessary
control lines.
CPU usage for each emulator run is restricted to 5 seconds; no more than 20 runs in short succession are allowed.
You might want to suppress printing of source code and symbol table to save more CPU for execution.
The control language is as follows:
- All control lines start with a * is the first position
- *NAME must be the first line
- *END FILE must be the last line
- All control lines except *END FILE can be abbreviated to 5 chars after *
- *EXECUTE requests final linking and execution; input data must follow
- *5 spaces introduces a comment until the end of line
- *NO LIST suppresses printing of the source code
- *NO LOAD LIST suppresses printing of the symbol table during linking for *EXECUTE
- *FULL LIST requests printing of assembly or object code during compilation (compare with cc -S)
- *SYSTEM LOAD LIST requests printing of the symbol table during any linking
- There are compiles for several languages and dialects, enabled by:
- *FORTRAN - the oldest FORTRAN compiler, dated July 16, 1973 (default if no compiler selected), close to FORTRAN II. PROGRAM line is mandatory
for the main program.
- *FTN - a newer FORTRAN compiler from GDR, with English error messages, somewhat optimizing
- *FOREX - yet another FORTRAN compiler, with better optimization
- *OPTIMIZATION and *NO OPTIMIZATION control optimization modes
- *ALGOL - an Algol compiler from GDR (also see sample listing for syntax)
- *ASSEMBLER - an Assembler (use *FORTRAN and *FULL LIST for an example)
- *PASCAL - a Pascal compiler.
Pascal runtime requires adding a non-standard library, specified by disk volume number and offset, to the search path using *PERSONAL LIBRARY (compare with cc ... -lpascal).
- *CALL - calling various service programs, e.g. FULLMEMORY requests max memory for the text/data segment, reducing stack depth.
© Leonid A. Broukhis, 1997-2005