Emulator Script Files
CEF32 can load CEF emulator definition files which automatically marshal the appropriate components to emulate a specific machine. These files have a default extension of .cef. See the included sample *.cef files for examples of the format of these files. These files are text files that contain a series of commands that define which components are loaded, how they are connected to each other, and UI settings. In addition to the commands described in the CEF specification, several others are added. The following list is a comprehensive and complete list. The valid commands are:
Command |
Description |
ASCII |
Show text in memory display as ASCII. |
BYTE |
Set default data size to 1 byte. |
CAPTION x |
Set CEF caption to x. |
CONNECT x y |
Connect component named x to component named y. Component y is connected to the output of x. Both components must be loaded. If the names contain spaces, they should be enclosed in quotes. |
DISCONNECT x y |
Disconnect component named x from component named y. If the names contain spaces, they should be enclosed in quotes. |
DOUBLE |
Convert default data size to double long integer (8 bytes). |
EBCDIC |
Show text in memory display as EBCDIC. |
HIDE |
Hide the CEF application. |
HIGH x |
Set highest valid memory address to x. |
IMMEDIATE x |
Execute command x in immediate mode. If x contains spaces, it must be enclosed in quotes. |
LOAD x {y} |
Load component from DLL named x. Optionally a command line can be passed to the component as y. If the command line contains spaces, it must be enclosed in quotes. "/NAME=z" may be appended to the end of the line, where z is the name by which this component will be referenced. |
LONG |
Set default data size for long integer (4 bytes). |
LOW x |
Set lowest valid memory address to x. |
RADIX |
Sets default base for numbers (2 through 49). |
RUN |
Starts execution of the (default) CPU. |
SIGNED |
Sets the default display of numbers to be signed. |
UNLOAD_ALL |
Removes all loaded components. |
UNLOAD x |
Removes component named x. If x contains spaces, it must be enclosed in quotes. |
UNSIGNED |
Sets the default display of numbers to be unsigned. |
WORD |
Sets default data size to word (2 bytes). |