XL1200-EMU Symbolics XL1200 Emulator

Symbolics IFEP Binary File Formats & Command Catalog

1. Overview & Architectural Role

The Front End Processor (FEP) on Symbolics Ivory platforms uses three distinct binary image formats across its boot stages:

  1. Boot PROM & Loadable PROM Containers (IFEP prom):
    • Physical two-chip Boot PROM (115988 low 64 KiB ‖ 115989 high 64 KiB, e.g. IFEP promJ for FEP 3.30), MacIvory/UX device PROMs (IFEP promE), and standalone IFEP-Kernel (IFEP promH).
    • Checksummed, sectioned container format unpacked directly into Zone 31 RAM by emu/src/loader.c.
  2. Dynamic Overlays (.flod):
    • Transient command modules loaded dynamically into the shared overlay window starting at 0xF8001100 (0o37000010400).
    • Managed by the FEP overlay loader and verified against the running kernel via a 64-bit kernel build UID.
  3. Kernel & BOL Disk Images (.fep):
    • kernel.fep: The resident operating system kernel of the FEP stored on FEP0: / FEP7:.
    • bol.fep: The Boot Overlay Loader / Cold Boot image.
    • Paged in 1,280-byte sector increments (256 words per page via 20-byte chunk interleaving).
NOTE

All genera-original/ paths referenced in Section 3 are local-only, git-ignored files from a developer's Genera 8.3 distribution tree and are not distributed in this repository.


2. Binary Format Specifications

2.0 IFEP prom Sectioned Container Format (emu/src/loader.c)

Used by the XL1200 physical Boot PROM pair (115988 ‖ 115989), MacIvory Device-PROM / IFEP-Kernel, and UX solstice-device.prom:

+------------------------------------------------------------------------+
| 30-Byte Header (offsets 0..29):                                        |
|   Bytes 0..8   : ASCII magic prefix "IFEP prom" (9 bytes)              |
|   Byte  9      : Revision char ('J' = FEP 3.30, 'B' = FEP 3.20,        |
|                  'H' = IFEP-Kernel, 'E' = Device-PROM / solstice)      |
|   Bytes 10..29 : 5 x uint32_t (LE) header words                        |
+------------------------------------------------------------------------+
| Section Records (repeated until footer sentinel):                      |
|   u32 (LE)     : vma_base   (Zone 31 load address, e.g. 0xF8001088)    |
|   u32 (LE)     : word_count (N; if 0xFFFFFFFF, this is the footer)     |
|   N * 5 bytes  : Packed 40-bit Ivory words:                            |
|                    [Data<7:0>, Data<15:8>, Data<23:16>, Data<31:24>,   |
|                     Tag&CDR]  where Tag&CDR = (cdr << 6) | dtp         |
|   u32 (LE)     : checksum   (unsigned 32-bit sum of the N * 5 bytes)   |
+------------------------------------------------------------------------+
| Footer Record (8 bytes):                                               |
|   u32 (LE)     : entry_vma  (Even-phase entry VMA, e.g. 0xF8007162)    |
|   u32 (LE)     : 0xFFFFFFFF (sentinel)                                 |
+------------------------------------------------------------------------+

Verified container metrics (emu/tests/test_loader.c):

ContainerMagicSectionsTotal WordsEntry VMA
XL1200 Boot PROM FEP 3.30 (115988-e + 115989-e)IFEP promJ2 (0xF8001088..71F2, 0xF8001000..1082)25,0680xF8007162
MacIvory IFEP-KernelIFEP promH349,0050xF8017F9F
UX solstice-device.promIFEP promE218,4520xF8005816

See Boot PROM Specification for split-chip auto-pairing and swapped-chip handling.


2.1 IFEP Overlay (.flod) Format

+------------------------------------------------------------------------+
| Bytes 0..12   : Magic string "IFEP overlayH" (13 bytes)                |
| Byte 13       : Format Version (u8 = 1)                                |
| Bytes 14..15  : Reserved / Padding                                     |
| Bytes 16..23  : 64-bit Kernel Build Compatibility UID (8 bytes)        |
+------------------------------------------------------------------------+
| Command Directory Table (starts at offset 24):                         |
|   For each command entry:                                              |
|     u8        : Name Length                                            |
|     [u8]      : Name ASCII string                                      |
|     u8        : Docstring Length                                       |
|     [u8]      : Docstring ASCII string                                 |
|     u32 (LE)  : Entry Point Virtual Address (e.g. 0xF800xxxx)          |
|   Terminated by a single null byte (0x00).                             |
+------------------------------------------------------------------------+
| Contiguous Load Section Records:                                       |
|   For each section:                                                    |
|     u32 (LE)  : Load Target Address (e.g. 0xF8001100)                  |
|     u32 (LE)  : Word Count (N)                                         |
|     N * 5 B   : Ivory 40-bit tagged words (4B Data LE + 1B Tag/CDR)    |
|     u32 (LE)  : Section Trailer Checksum                               |
|   Terminated by Sentinel record: Address = 0xFFFFFFFF, Count = 0xFFFFFFFF|
+------------------------------------------------------------------------+

40-Bit Word Structure in IFEP prom and .flod Sections

Each word is encoded as 5 bytes:

  • Bytes 0..3: Little-endian 32-bit payload (Data<31:0>).
  • Byte 4: Tag & CDR byte:
    • Bits <5:0>: Data Type tag (0o00..0o77).
    • Bits <7:6>: CDR / sequence code (0 = Next, 1 = Nil/Fence, 2 = Normal, 3 = Jump).

2.2 IFEP Kernel & BOL (.fep) Format

Files with the .fep extension (i328-kernel.fep, i325-bol.fep) are formatted as contiguous 1,280-byte sector pages corresponding directly to physical 256-word Ivory memory pages.

20-Byte Chunk Interleaving

Each 1,280-byte page is divided into 64 chunks of 20 bytes. Each 20-byte chunk encodes 4 40-bit Ivory words:

+------------------------------------------------------------------------+
| Bytes 0..3    : 4 Tag/CDR Bytes [Tag0, Tag1, Tag2, Tag3]               |
|                 (CDR in bits <7:6>, Tag in bits <5:0>)                 |
| Bytes 4..7    : Word 0 Data Payload (32-bit Little Endian)             |
| Bytes 8..11   : Word 1 Data Payload (32-bit Little Endian)             |
| Bytes 12..15  : Word 2 Data Payload (32-bit Little Endian)             |
| Bytes 16..19  : Word 3 Data Payload (32-bit Little Endian)             |
+------------------------------------------------------------------------+

This format guarantees exact 256 words per 1,280-byte sector:

$$\frac{1280\text{ bytes}}{20\text{ bytes/chunk}} \times 4\text{ words/chunk} = 256\text{ words/page}$$

3. Genera 8.3 IFEP Binary Inventory

3.1 Kernel & BOL Images (Local-Only genera-original/sys.sct/ifep/)

File Path (Local-Only)Size (Bytes)1,280B PagesDecoded WordsRole / Description
genera-original/sys.sct/ifep/i328-kernel.fep.~44~247,04019349,408Resident FEP Operating System Kernel (device drivers, cold load stream, SCSI disk drivers, command evaluator).
genera-original/sys.sct/ifep/i325-bol.fep.~11~390,40030578,080Boot Overlay Loader (BOL) used for initial cold-load and hardware setup.

3.2 Overlay Modules (.flod)

All overlays in the Genera 8.3 distribution share the identical kernel build UID:

$$\text{Kernel UID} = \texttt{5c3931aef3e75a93}$$

When loaded by the FEP, overlays dynamically map their main execution payload to base address 0xF8001100 (0o37000010400).

1. i328-loaders.flod.~24~ (28 Commands, 11,034 Words)

The primary system loader overlay responsible for booting Genera worlds, configuring paging partitions, and performing network booting.

Command NameEntry AddressDescription
Add Paging File0o37000035707 (0xF8003BC7)Add a file to the set of active paging files
Add World File0o37000035164 (0xF8003A74)Add a file to the list of known worlds
Clear Machine0o37000032663 (0xF80035B3)Clear all machine state information
Clear Paging Files0o37000030731 (0xF80031D9)Clear any currently active paging files
Clear World Files0o37000030632 (0xF800319A)Clear the database of known world files
Continue0o37000030556 (0xF800316E)Continue running Lisp after a halt
Declare More Paging Files0o37000025710 (0xF8002BC8)Add to the set of declared paging files
Declare Paging Files0o37000025161 (0xF8002A71)Declare a set of paging files
Declare World File0o37000025066 (0xF8002A36)Declare the default world to load
Disable IDS0o37000025024 (0xF8002A14)Disable Incremental Disk Save for the world just loaded
Disable Load to Paging Migration0o37000024767 (0xF80029F7)Disable the migration of unmodified pages from world to paging file
Enable IDS0o37000024731 (0xF80029D9)Enable Incremental Disk Save for the world just loaded
Enable Load to Paging Migration0o37000024674 (0xF80029BC)Enable the migration of unmodified pages from world to paging file
Find All World Files0o37000024640 (0xF80029A0)Scan mounted disks for world files
Find World Files0o37000024552 (0xF800296A)Scan a directory for world files
Initialize Hardware Tables0o37000024451 (0xF8002929)Initialize the hardware tables
Load World0o37000024304 (0xF80028C4)Load a world
Netboot0o37000020370 (0xF80020F8)Netboot a world via loading netboot core world into memory
Set Boot Options0o37000017570 (0xF8001F78)Set default values to use when booting this machine
Set Network Address0o37000017046 (0xF8001E26)Set the primary network address for this machine
Set Wired Addresses0o37000016713 (0xF8001DCB)Set %WIRED-VIRTUAL-ADDRESS-HIGH and %WIRED-PHYSICAL-ADDRESS-HIGH
Set World To Netboot0o37000016572 (0xF8001D7A)Tell the world just loaded to netboot a particular description
Show Network Address0o37000016523 (0xF8001D53)Show the network address for this machine
Show Paging Files0o37000016320 (0xF8001CD0)Show the currently declared and active paging files
Show Version0o37000016255 (0xF8001CAD)Show the FEP version
Show Wired Addresses0o37000016210 (0xF8001C88)Show %WIRED-VIRTUAL-ADDRESS-HIGH and %WIRED-PHYSICAL-ADDRESS-HIGH
Show World Files0o37000016063 (0xF8001C33)Show the currently known world files
Start0o37000015335 (0xF8001ADD)Start Lisp

2. i328-lisp.flod.~25~ (12 Commands, 4,290 Words)

Runtime Lisp process execution, condition continuation, and status monitoring.

Command NameEntry AddressDescription
Continue0o37000020634 (0xF800219C)Continue running Lisp after a halt
Initialize Hardware Tables0o37000015706 (0xF8001BC6)Initialize the hardware tables
Remote Debugger0o37000014341 (0xF80018E1)Return control to the Remote Debugger
Set Boot Options0o37000013622 (0xF8001792)Set default values to use when booting this machine
Set Ethernet Address0o37000013075 (0xF800163D)Set the Ethernet address for this machine
Set Lisp Release0o37000012772 (0xF80015FA)Set the Lisp Release version intended
Set LMFS FSPT Unit0o37000012676 (0xF80015BE)Sets the file system partition table disk unit
Set Network Address0o37000012577 (0xF800157F)Set the primary network address for this machine
Show LMFS FSPT Unit0o37000012530 (0xF8001558)Show the file system partition table disk unit
Show Status0o37000012475 (0xF800153D)Show the status of the machine and its registers
Show Version0o37000012432 (0xF800151A)Show the FEP version
Start0o37000012320 (0xF80014D0)Start Lisp

3. i328-disk.flod.~24~ (5 Commands, 12,045 Words)

Disk formatting, low-level tape/CD-ROM restore, and FEP filesystem initialization.

Command NameEntry AddressDescription
Copy File0o37000037557 (0xF8003F6F)Copy one file to another
Create Initial FEP File System0o37000036401 (0xF8003D01)Build an Initial FEP File System on a disk
Disk Format0o37000033716 (0xF80037CE)Format a disk and build an Initial FEP File System
Disk Restore0o37000032760 (0xF80035F0)Restore a disk from cartridge tape, CD-ROM, or another disk
Show Version0o37000022507 (0xF8002547)Show the FEP version

4. i328-info.flod.~24~ (10 Commands, 2,736 Words)

Hardware diagnostics, configuration reporting, time synchronization, and command tree inspection.

Command NameEntry AddressDescription
Initialize Hardware Tables0o37000015571 (0xF8001B79)Initialize the hardware tables
Set Boot Options0o37000013605 (0xF8001785)Set default values to use when booting this machine
Set FEP Options0o37000012670 (0xF80015B8)Set FEP initialization options
Set Time0o37000012435 (0xF800151D)Set the FEP's idea of the current time
Show Command Modules0o37000012365 (0xF80014F5)Show the command tree from the modules' viewpoint
Show Command Tree0o37000012261 (0xF80014B1)Show the tree of commands
Show Configuration0o37000012141 (0xF8001461)Show the machine's hardware configuration
Show Ethernet Address0o37000011614 (0xF800138C)Show the Ethernet address
Show Time0o37000011556 (0xF800136E)Memorial to Bob Fosse
Show Version0o37000011513 (0xF800134B)Show the FEP version

5. i328-debug.flod.~24~ (2 Commands, 21,187 Words)

Low-level interactive FEP debugger.

Command NameEntry AddressDescription
Debug0o37000061410 (0xF8006308)Debug Lisp from the FEP
Show Version0o37000021143 (0xF8002263)Show the FEP version

6. i328-tests.flod.~24~ (5 Commands, 2,899 Words)

Hardware diagnostic memory tests.

Command NameEntry AddressDescription
Show Version0o37000016066 (0xF8001C36)Show the FEP version
Test All0o37000016040 (0xF8001C20)Run all available tests with default arguments
Test Location0o37000011613 (0xF800138B)Test a single location in a memory
Test Main Memory0o37000011266 (0xF80012B6)Non-destructively test main memory
Test Simple Main Memory0o37000011203 (0xF8001283)Non-destructively test main memory simply (and quickly)

7. i328-framethrower.sync.~1~ (Color Startup Sync Profile)

Hardware video timing sync definition for high-resolution graphics:

  • Profile: Sony 1280x1024 CADBuffer
  • Configures raster timing, sync pulses, and pixel clock for external CAD displays.