From: Alan Cox Date: Sat, 16 Feb 2019 11:46:37 +0000 (+0000) Subject: 8080: fix a bug in the cpu detection code X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=0bbcd7fab2316fccc92e2646e66ec3de91d120e7;p=FUZIX.git 8080: fix a bug in the cpu detection code Still needs more checking --- diff --git a/Kernel/lowlevel-8080.s b/Kernel/lowlevel-8080.s index c36793fb..cae884a9 100644 --- a/Kernel/lowlevel-8080.s +++ b/Kernel/lowlevel-8080.s @@ -528,7 +528,7 @@ _cpu_detect: inr a push psw pop h - mov a,h + mov a,l ani 0x82 cpi 0x80 jz lr35902 @@ -562,7 +562,7 @@ is808x: ani 255 push psw pop h - mov a,h + mov a,l ani 0x10 ! half carry is zero on AMD rnz mvi d,0x90