From 18a3771ff9cc45de9f991507339b6789700ce92a Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 14 Dec 2014 23:01:47 +0000 Subject: [PATCH] mtx: Set the crtc up properly --- Kernel/platform-mtx/mtx.s | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Kernel/platform-mtx/mtx.s b/Kernel/platform-mtx/mtx.s index 5a14ec8b..fd943fad 100644 --- a/Kernel/platform-mtx/mtx.s +++ b/Kernel/platform-mtx/mtx.s @@ -114,12 +114,10 @@ init_hardware: xor a out (0x08), a ; vector 0 - ld a, #0x97 + ld a, #0xA5 out (0x08), a ; CTC 0 as our IRQ source - ld a, #0x05 - out (0x08), a ; Timer constant (gives us 10Hz) - ; should be 0x06 for NTSC boxes - ; FIXME - how to tell ? + ld a, #0xFC + out (0x08), a ; Timer constant im 1 ; set CPU interrupt mode -- 2.34.1