public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0efa35c
)
8080: fix a bug in the cpu detection code
author
Alan Cox
<alan@linux.intel.com>
Sat, 16 Feb 2019 11:46:37 +0000
(11:46 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Sat, 16 Feb 2019 11:46:37 +0000
(11:46 +0000)
Still needs more checking
Kernel/lowlevel-8080.s
patch
|
blob
|
history
diff --git
a/Kernel/lowlevel-8080.s
b/Kernel/lowlevel-8080.s
index
c36793f
..
cae884a
100644
(file)
--- 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