adriancable / 8086tiny

Official repository for 8086tiny: a tiny PC emulator/virtual machine

Home Page:www.megalith.co.uk/8086tiny

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

8088 support?

globalcitizen opened this issue · comments

Not sure but curious since these chips were apparently quite similar: does this also support the 8088?

I just uploaded some spiffing snaps of a modern machine yesterday (feel free to use)...

... the machine in question was donated to the Australian Computer Museum Society.

There are differences between 8086 and 8088 visible to self-modifying code due to the different size of the prefetch queue (IIRC, 6 bytes on 8086 but 4 on 8088). This does not depend on bus or memory timing, and is AFAIK the only reliable way for a program to distinguish 8086 from 8088.
Most simulators don't bother simulating the prefetch queue at all, let alone accurately, in which case code attempting to determine the prefetch queue length will fail.