# PC compatibility and its quirks The Portfolio is "PC-compatible" at the BIOS and DOS level only. Everything below is DOC (TRG 3.1-3.4, 3.7, 3.8) unless tagged; BJ Gleason's PORT.FAQ (1992) adds user reports. | Area | IBM PC | Portfolio | | --- | --- | --- | | CPU | 8088, 4.77 MHz, maximum mode (5150) | 80C88, 4.9152 MHz, minimum mode, clock stops when idle | | Interrupt controller | 8259A at 20h | none; the ASIC's own logic, no PIC ports (3.1.3) | | Timer | 8253 at 40h, tick 18.2 Hz | none; tick from a 32,768 Hz crystal "once every 128 seconds, or once per second" (3.8); Int 8h/1Ch fire that rarely | | Keyboard | 8255/8048 at 60h, Int 9 | ASIC matrix scanner, scan codes from a control register, translated by the BIOS to PC scan codes; "any program which requires the keyboard to be at port 60H will not work" (3.2.1) | | Video | MDA/CGA, hardware refresh | MDA buffer at B0000 copied by the BIOS to the LCD controller on request; 40 x 8 window on 80 x 25; modes 7-0Ah only; no attributes (3.2.1, 3.7) | | Speaker | 8253 channel 2 + 8255 gate | PCD3311 tone chip; use Int 61h (3.1.3) | | BIOS | full | Int 13h reworked for cards (0-5, 83h); Int 15h none; Int 16h only 0, 1, 2, 4; Int 18h (BASIC) none; Int 1Ah only 0-7; Int 61h DIP extended services (3.2.1, 3.3.1) | | DOS | MS-DOS | DIP DOS, "MS/DOS 2.11 compatible in ROM" (FAQ 18); differences in TRG 3.4 | | Serial | 8250 at 3F8h | only through the HPC-102 serial peripheral (82C50A, SIVR at 807Fh, TRG 3.10); "most off-the-shelf serial programs go directly to the hardware" and fail (3.1.2) | | Memory | 640 KB | 124 KB internal (C: inside it), up to 636 KB with expanders; ROM B and card share C0000-DFFFF | | Power | always on | auto power-down after 128-256 s of keyboard wait; any hardware interrupt powers up (3.8) | Known software consequences: BASIC and XTALK fail (PIC/keyboard), Sidekick misbehaves (the tick) (3.1.3). The FAQ's "ShotGun" bug: at power-up the machine writes a random byte to a memory location that can corrupt a loaded file (FAQ 13; user report, HYPOTHESIS as a behaviour: it would be a firmware property the board reproduces by running the firmware, not something to model). ROM versions (FAQ 16): 1.056 first release, 1.072 "current" (1992), 1.09 not released. MAME holds 1.072 (`pofo`) and a "Portfolio 2" with DIP DOS 1.680 (`pofo2`, a 640 x 200 LCD on an 82C425 controller: a different machine, out of scope here, open decision 5). What it means for the board: the board does not emulate PC hardware at all. It emulates the Portfolio's hardware and runs DIP's ROM; PC programs then behave as they did on the real unit, including their failures. There is no "PC mode" to add.