kr260-pc · part 4 of 7
The AT: an 80286 with an EGA
An IBM 5170 class machine: an 80286 at 8 MHz, 16-bit ISA, IDE, an EGA and IBM’s own BIOS. Its board is also the base of the 386, the 486 and the Pentium-class machine.
The system
The IBM BIOS won’t run on anything faster than 8 MHz: it measures the CPU against the refresh timer and stops when they disagree. That makes the timing matter here too. SPK286 charges each instruction its documented clocks, and the bus charges its wait states.
Specs
| CPU | 80286 (SPK286), 8 MHz, real and protected mode, no 80287 |
| Memory | 640 KB + 1 MB in UltraRAM, more in DDR, up to about 15 MB (2 MB fitted by default) |
| BIOS | IBM 5170, 11/15/85 |
| Video | EGA, 256 KB, IBM’s EGA BIOS |
| Sound | Sound Blaster Pro with AdLib (OPL2), PC speaker |
| Disks | floppies, IDE hard disk |
| Other | NE2000 network card, Microsoft serial mouse, real-time clock |
IBM’s BIOS tests all the memory at each cold boot, at about 0.6 seconds per 64 KB, hence the modest default.
What we ran on it
These ran on the AT’s earlier version with a VGA; the EGA version is new.
- FreeDOS and MS-DOS
- Windows 3.0 in standard mode
- Sound Blaster Pro tests
How exact is it?
SPK286’s clocks per instruction, checked against hardware captures over 200 cases per opcode, come to 0.94 of the hardware’s on average, with 42% of the cases within two clocks. Jumps run 6 to 10 clocks fast, some string instructions slow: close, but not exact.
Built from
| Part | From | Licence | What we changed |
|---|---|---|---|
| CPU | SPK286 (Aitor Gomez Garcia) | MIT | unchanged, its timing profile on |
| PIC, timer, DMA | KFPC-XT (kitune-san) | MIT | as on the XT |
| Floppy controller | ao486, via PCXT_MiSTer | BSD | as on the XT |
| AdLib | jtopl | GPL-3.0 | unchanged |
| EGA reference | MartyPC (Daniel Balsom) | MIT | – |
| Vendor BIOSes | IBM 5170, IBM EGA, from 86Box’s ROM collection | vendor, not redistributed | – |
Ours: the AT board, the keyboard controller, the clock, the EGA, the Sound Blaster Pro, the NE2000 and the IDE port.