kr260-pc · part 3 of 7

The cycle-exact XT: Intel's microcode and a CGA to match

8088 MPH and Area 5150 don’t just run on an XT, they depend on when every bus cycle, refresh and character clock happens. This machine has its own 8088, running Intel’s original microcode, and a chipset and CGA written to the same standard.

The system

Cycle-exact XT system diagram
The layout is the XT's; the CPU, the chipset and the CGA are the parts that differ.

The CPU gets 12 machine clocks for each of its own 4.77 MHz clocks, and uses them as a short fixed sequence of steps: bus unit, queue, microcode, instruction loader, next bus cycle. That order is the reference emulator’s order, which made the port checkable step by step.

Specs

   
CPU 8088, 4.77 MHz, running Intel’s microcode (512 × 21 bits)
Memory 640 KB, with refresh taking bus time
BIOS GLaBIOS 0.4.2, XTIDE Universal BIOS r638
Video CGA with its character clock, wait states and status timing; composite colour
Sound PC speaker, AdLib (OPL2)
Disks floppies, XT-IDE hard disk
Input XT keyboard, serial mouse

How it was checked

What we ran on it

Built from

Part From Licence What we changed
8088 reference XTCE-Blue (Andrew Jenner, Daniel Balsom) MIT an external floppy controller and a settable memory size, for the comparisons
Microcode transcription XTCE-Blue and reenigne Intel’s contents, not redistributed –
Floppy controller ao486, via PCXT_MiSTer BSD as on the XT
AdLib, BIOSes, font as on the XT    

Ours, ported from XTCE-Blue’s models: the 8088, the 8253, 8259, 8255 and 8237, and the CGA. The CGA’s status register timing comes from the IBM schematic, which Area 5150’s elephant scene needed.