Architectural Comparison: MacIvory Device-PROM & IFEP-Kernel vs. XL1200 FEP 3.30
This document compares the MacIvory coprocessor FEP binaries (Device-PROM, IFEP-Kernel) against the physical standalone XL1200 Boot PROM (115988 + 115989 / rom.dump), covering container formats, driver hierarchies, and how MacIvory disk images are converted for use in the C11 XL1200 emulator (emu/).
Local-Only Assets: MacIvory binaries (docs/reference/macivory/fep/), MacIvory C substrate sources (docs/reference/macivory/substrate/), macivory/ disk/CD-ROM images, and physical Boot PROM dumps (ivory-fep-roms/) are git-ignored local-only files (fetched with scripts/fetch-assets.sh or supplied by the user) and are not distributed in this repository.
1. Binary Identification
All of these images share the same checksummed IFEP prom sectioned container format parsed by emu/src/loader.c (30-byte "IFEP prom<rev>" header, LE 5-byte words [Data<7:0>, Data<15:8>, Data<23:16>, Data<31:24>, Tag&CDR], 32-bit byte-sum section checksums, and [entry_vma, 0xFFFFFFFF] footer):
| Binary Image (Local-Only) | Header Magic | Sections | Decoded Words | Entry VMA | Target Platform | Role |
|---|---|---|---|---|---|---|
XL1200 Boot EPROM (fep330/115988-e + 115989-e) | IFEP promJ | 2 | 25,068 | 0xF8007162 | Standalone XL1200 / XL400 | Motherboard physical EPROMs (128 KiB container) |
XL1200 Boot EPROM (Older) (fep320) | IFEP promB | 2 | ~24,830 | — | Standalone XL1200 / XL400 | Older motherboard physical EPROMs |
UX solstice-device.prom | IFEP promE | 2 | 18,452 | 0xF8005816 | Sun UX Coprocessor | Host-loaded embedded device driver PROM |
MacIvory Device-PROM | IFEP promE | 2 | ~17,120 | — | MacIvory NuBus Coprocessor | Host-loaded MacIvory device driver PROM |
MacIvory IFEP-Kernel | IFEP promH | 3 | 49,005 | 0xF8017F9F | Ivory FEP Common Kernel | Resident FEP Core Operating System |
Key Takeaways
- Identical Container Packaging: All images use the
IFEP promsectioned format with little-endian 5-byte word packing ([b0..b3, tag]). Device-PROMcannot boot standalone XL1200 hardware:Device-PROM(IFEP promE) was compiled for NuBus coprocessors and contains no WD33C93A SCSI chip driver, no ESDI driver, and no Merlin video/DUSCC console drivers. It expects a Macintosh host servingembCommunicationAreaqueues.IFEP-Kernelis the common Ivory FEP core: On a standalone XL1200,IFEP promJloads the equivalentkernel.fepfrom a 1,280-byte/sector SCSI disk (FEP7:) or ISO 9660 CD-ROM (CART11:).
2. Driver Hierarchy Comparison
graph TD
subgraph "Standalone Hardware Driver Stack (FEP 3.30 - promJ)"
XL_SCSI["MERLIN-WD33C93-SCSI-CONTROLLER<br/>(Physical WD33C93A SCSI Chip)"]
XL_ESDI["MERLIN-ESDI-CONTROLLER<br/>(Physical ESDI Controller)"]
XL_VID["MERLIN-VIDEO-MEMORY / PHOTON / VME<br/>(Physical Hardware Framebuffers)"]
XL_KBD["MERLIN-HARDWARE-KEYBOARD<br/>(SCN68562 DUSCC + 8237A DMA)"]
XL_TAPE["BOL-QIC-100-TAPE<br/>(Physical SCSI Tape)"]
end
subgraph "Host Life-Support Driver Stack (Device-PROM - promE)"
MAC_SCSI["EMB-SCSI-CONTROLLER<br/>(Host Macintosh SCSI Queues)"]
MAC_DISK["MACIVORY-PSEUDO-DISK-CONTROLLER<br/>(Virtual Disks on Host Files)"]
MAC_CONSOLE["EMBEDDED-CONSOLE / COLD-LOAD<br/>(Host QuickDraw Window Stream)"]
end
subgraph "Common Object-Oriented Framework (Both)"
COMMON_DISK["SCSI-DISK, BASIC-DISK, SIMPLE-DISK"]
COMMON_TAPE["SCSI-TAPE, BASIC-TAPE"]
COMMON_STREAM["DISK-STREAM, DISK-BUFFER, STREAM"]
COMMON_FLAVORS["FLAVOR, VANILLA, CONDITION"]
end2.1 Comparative Driver Class Table
| Driver Flavor Class | FEP 3.30 (promJ) | Device-PROM (promE) | Classification | Architectural Function |
|---|---|---|---|---|
MERLIN-WD33C93-SCSI-CONTROLLER | Present | — | Hardware Only | Drives physical Western Digital WD33C93A SCSI chip |
WD33C93-SCSI-CONTROLLER | Present | — | Hardware Only | WD33C93 base class and register operations |
EMB-SCSI-CONTROLLER | — | Present | Coprocessor Only | Delegates SCSI commands to host embCommunicationArea |
MERLIN-ESDI-CONTROLLER | Present | — | Hardware Only | Drives physical Merlin ESDI disk controller |
ESDI-CONTROLLER / ESDI-DISK | Present | — | Hardware Only | ESDI disk block controller and geometry |
MACIVORY-PSEUDO-DISK-CONTROLLER | — | Present | Coprocessor Only | Drives virtual disk partitions hosted on Macintosh |
MACIVORY-PSEUDO-DISK | — | Present | Coprocessor Only | Virtual sector mapping over host file streams |
CONSTANT-GEOMETRY-DISK | Present | — | Hardware Only | Fixed physical geometry disk driver |
MERLIN-VIDEO-MEMORY / PHOTON / VME | Present | — | Hardware Only | Direct hardware monochrome/color framebuffers |
SCREEN / WINDOW / SHEET | Present | — | Hardware Only | Direct hardware bitmapped console window system |
EMBEDDED-CONSOLE / COLD-LOAD-CONSOLE | — | Present | Coprocessor Only | Streams console opcodes (0000–0201) to host window |
MERLIN-HARDWARE-KEYBOARD | Present | — | Hardware Only | Physical SLB keyboard over DUSCC + 8237A DMA |
BOL-QIC-100-TAPE | Present | — | Hardware Only | Physical cartridge tape controller |
SCSI-DISK / SCSI-CDROM / SCSI-TAPE | Present | Present | Common | Standard SCSI disk, ISO 9660 CD-ROM, and sequential tape drivers |
BASIC-DISK / SIMPLE-DISK / STREAM | Present | Present | Common | Abstract block-device and buffer layers |
FLAVOR / VANILLA / CONDITION | Present | Present | Common | Object system runtime and condition handlers |
3. Host Life-Support Handshake (MacIvory Reference)
On MacIvory (documented in local-only docs/reference/macivory/substrate/):
- The Macintosh host allocates
embCommunicationArea(identifying itself with big-endian'DBME'-> Ivory little-endian"EMBD"), maps NuBus RAM for the pseudo-BootROM ('ivBR'), and releases Ivory reset. - Ivory sets
guest_status = InitializingGuestStatus (2)and pullsDevice-PROMandIFEP-Kernelchunks through host queues. - Once
IFEP-Kernelinitializes,guest_statustransitions toRunningGuestStatus (3)and all console/disk/network traffic travels over shared host queues.
4. Using MacIvory Disks on the Standalone XL1200 Emulator (emu/)
Rather than emulating MacIvory NuBus coprocessor queues, the from-scratch C11 emulator (emu/) emulates native standalone XL1200 Merlin-II hardware (IFEP promJ, WD33C93A SCSI, Intel 82586 Ethernet, SCN68562 DUSCC + 8237A DMA, monochrome VRAM).
MacIvory FEPFS disk images store every 32-bit word in Motorola 68k big-endian byte order (magic "LBAL" instead of "LABL"), often preceded by a 0x400-byte Macintosh header and 13 zeroed label pages (pages 0..12, with the first valid "LBAL" at offset 0x400 + 13 * 1280 = 0x4500).
The native C11 converter ivory-fep-convert (emu/src/fep_convert.c, also embedded in the emulator GUI and s7 workbench via emu/include/ivory_fep_tools.h) non-destructively converts MacIvory images into native XL1200 little-endian "LABL" SCSI disk images:
# Inspect either a big-endian MacIvory (LBAL) or little-endian XL1200 (LABL) image
./emu/build/ivory-fep-convert --info macivory/macivory_fep0.raw
# Convert MacIvory LBAL -> native XL1200 LABL (strips 0x400 prefix, restores pages 0..12, bswap32)
./emu/build/ivory-fep-convert macivory/macivory_fep0.raw emu/disks/xl1200_macivory_fep0.raw
# Or auto-convert and boot with a non-destructive RAM overlay:
./scripts/run-xl1200-macivory.sh
For clean native XL1200 installations from the Genera 8.3 CD-ROM without using a MacIvory disk image, see Genera 8.3 CD-ROM Installation Guide and Peripherals & Backends.
- Intel 8237A —
intel_8237A_dmac.pdf - Intel 82586 —
intel_82586_lan_coprocessor.pdf(mirror) - Intel 82586 —
intel_82586_reference_manual_1983.pdf(mirror) - Signetics SCN68562 / SCN26562 —
signetics_1991_IC019_data_comm_SCN68562.pdf(mirror) - Western Digital WD33C93A —
wd_WD33C93A_datasheet_and_appnotes_1990.pdf(mirror) - Western Digital WD33C93A —
wd_WD33C93A_scsi_datasheet.pdf(mirror)