public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0a8342
)
zeta-v2: Call program_vectors for kernel on boot.
author
Will Sowerbutts
<will@sowerbutts.com>
Wed, 28 Dec 2016 17:30:14 +0000
(17:30 +0000)
committer
Will Sowerbutts
<will@sowerbutts.com>
Wed, 28 Dec 2016 17:36:53 +0000
(17:36 +0000)
This fixes a bug which was preventing zeta-v2 from booting.
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
8c7ced3
..
6b4ed8b
100644
(file)
--- a/
Kernel/platform-zeta-v2/zeta-v2.s
+++ b/
Kernel/platform-zeta-v2/zeta-v2.s
@@
-135,6
+135,12
@@
init_hardware:
ld hl,#(RAM_KB-64) ; 64K for kernel
ld (_procmem), hl
+ ; program vectors for the kernel
+ ld hl, #0
+ push hl
+ call _program_vectors
+ pop hl
+
; initialize UART0
ld a, (_boot_from_rom) ; do not set the baud rate and other
or a ; serial line parameters if the BIOS