Flexemu Monitor program V5.4 spec


The monitor program provides basic I/O functions to the operating system. It is comparable to the BIOS on a PC.

But in addition it provides a simple command line interface to display or change memory contents, or set, display or clear breakpoints. From within FLEX the monitor program can be entered by entering MON on the FLEX prompt. From the monitor program FLEX can be reentered with X or G CD03.

This documentation describes the monitor programs V5.4 spec, also called neumon54 as deployed with flexemu as file neumon54.hex. It is designed to support Eurocom II/V7 with or without memory extension board. It has a FLEX boot loader and automatically boots FLEX if a disk is inserted in drive #0. The command input is case insensitive.

This monitor program overview shows which monitor program is best suited for which hardware configuration.

The following table gives an overview of the available commands:

Command Description
D Switch to german character set
I Switch to ASCII character set
G XXXX Jump to address XXXX
K Boot from disk in drive #0
M XXXX Display and modify memory at address XXXX.

.
Redisplay contents of current address (Try with address FD00, it displays the actual seconds of the real time clock).

CTRL-J or /
Display contents of next address.

^
Display contents of previous address.

ZZ
Entering a two digit hex number changes the memory at current address.

ENTER or CTRL-X
Leaving M command.
P XXXX YYYY ZZ Fill memory locations XXXX up to including YYYY with byte ZZ
T XXXX YYYY Dump memory from address XXXX up to including YYYY
V Terminal mode: Any input and output is sent or received from or to serial port.
X Jump back to FLEX (Warm start)
Z Exit the emulator

Neumon54 also contains a terminal emulator which can be controlled with the following Control- and Escape-sequences:

Control
character
Description
CTRL-E Switch cursor off
CTRL-G give a short terminal bell
CTRL-H Backspace
CTRL-J Linefeed
CTRL-L Form feed, clear screen, cursor home
CTRL-M Carriage return
CTRL-N Scroll up one line, keep cursor position
CTRL-O Scroll down one line, keep cursor position
CTRL-Q Cursor up one line
CTRL-R Cursor down one line
CTRL-S Cursor right one character
CTRL-T Cursor left one character
CTRL-U Switch cursor on
ESC or CTRL-[ Start ESCAPE sequence
CTRL-\ Cursor home
CTRL-] Toggle between soft- and hard scroll

The following Escape sequences are available:

ESC sequence Description
ESC = X Y Set cursor to line Y and column X. X and Y have an offset of $20
ESC A XX YY Plot a dot
ESC B Delete line, scroll lines beyond the cursor line one line up
ESC C Insert line, scroll lines on and beyond the cursor line one line down
ESC D Switch to german character set
ESC E Y X Set cursor to line Y and column X. X and Y have an offset of $20
ESC F Switch to insert cursor
ESC G Switch to overwrite cursor
ESC I Switch to ASCII character set
ESC K or ESC L Erase to end of line
ESC P or ESC p Switch inverse character output on
ESC Q or ESC q Switch inverse character output off
ESC Z, ESC k or ESC S Erase to end of screen

On Unix like OS there is a mode to use flexemu in terminal only mode. No special version of Monitor program is needed any more. It simply can be started by: flexemu -t.

Flexemu can also be used with other monitor programs as long as they support the special hardware needs of the Eurocom II/V7.

The source code of neumon54 is part of flexemu deployment, see file neumon54.asm or neumon54.lst.

SEE ALSO

Documents on the behalf of the FLEX User Group

Related Links