From: Alan Cox Date: Thu, 17 May 2018 12:03:30 +0000 (+0100) Subject: 8086: while I remember document the early 8086 test in case we need it X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=e8f857c2fe50bc76b794bec4367728e94065901b;p=FUZIX.git 8086: while I remember document the early 8086 test in case we need it --- diff --git a/Kernel/lowlevel-8086.S b/Kernel/lowlevel-8086.S index 6e08d33b..f408bd07 100644 --- a/Kernel/lowlevel-8086.S +++ b/Kernel/lowlevel-8086.S @@ -288,6 +288,11 @@ set_irqvec: * * We don't bother trying to tell 186/188 and 86/89 bus width as we * don't need to know. + * + * If we need to we can detect an early 8086 by setting a trace trap + * and seeing if we take it on pop of a segment register. If we do it's + * an early one. If it doesn't then its a later one (and if it also + * doesn't take one on push of a segment register its a Harris CMOS one */ test_cputype: