From 95b3aeeec6caed9ed40be946dfe6c2ea2b018efb Mon Sep 17 00:00:00 2001 From: Will Sowerbutts Date: Wed, 28 Dec 2016 17:30:14 +0000 Subject: [PATCH] zeta-v2: Call program_vectors for kernel on boot. This fixes a bug which was preventing zeta-v2 from booting. --- Kernel/platform-zeta-v2/zeta-v2.s | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Kernel/platform-zeta-v2/zeta-v2.s b/Kernel/platform-zeta-v2/zeta-v2.s index 8c7ced36..6b4ed8b5 100644 --- 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 -- 2.34.1