public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8a3b86
)
zeta-v2: Bug fix for false alarms when searching for kernel in memory
author
Will Sowerbutts
<will@sowerbutts.com>
Fri, 8 May 2015 23:31:35 +0000
(
00:31
+0100)
committer
Will Sowerbutts
<will@sowerbutts.com>
Fri, 8 May 2015 23:31:35 +0000
(
00:31
+0100)
Kernel/platform-zeta-v2/zeta-v2.s
patch
|
blob
|
history
diff --git
a/Kernel/platform-zeta-v2/zeta-v2.s
b/Kernel/platform-zeta-v2/zeta-v2.s
index
951df99
..
35146a9
100644
(file)
--- a/
Kernel/platform-zeta-v2/zeta-v2.s
+++ b/
Kernel/platform-zeta-v2/zeta-v2.s
@@
-118,6
+118,8
@@
checkpage:
ld a, (0x4000) ; read it
cp #0x42 ; found it?
jr z, foundpage ; we got one!
+ ld a, #0x55 ; put back the first test value
+ ld (hl), a
nextpage:
inc b ; next page
jr nz, checkpage ; check next page -- note we test pages above 1MB too