public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb92724
)
mtx: Set the crtc up properly
author
Alan Cox
<alan@linux.intel.com>
Sun, 14 Dec 2014 23:01:47 +0000
(23:01 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Sun, 14 Dec 2014 23:01:47 +0000
(23:01 +0000)
Kernel/platform-mtx/mtx.s
patch
|
blob
|
history
diff --git
a/Kernel/platform-mtx/mtx.s
b/Kernel/platform-mtx/mtx.s
index
5a14ec8
..
fd943fa
100644
(file)
--- 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, #0x
97
+ ld a, #0x
A5
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