public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c14ede2
)
trs80: CRTC reg 0 was not being set
author
Alan Cox
<alan@linux.intel.com>
Mon, 22 Dec 2014 13:04:09 +0000
(13:04 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Mon, 22 Dec 2014 13:04:09 +0000
(13:04 +0000)
Backported from Microbee port
Kernel/platform-trs80/trs80.s
patch
|
blob
|
history
diff --git
a/Kernel/platform-trs80/trs80.s
b/Kernel/platform-trs80/trs80.s
index
7a77176
..
3d73c1d
100644
(file)
--- a/
Kernel/platform-trs80/trs80.s
+++ b/
Kernel/platform-trs80/trs80.s
@@
-78,12
+78,13
@@
init_early:
; load the 6845 parameters
ld hl, #_ctc6845
- ld bc, #
15
88
+ ld bc, #
0x10
88
ctcloop: out (c), b ; register
ld a, (hl)
out (0x89), a ; data
inc hl
- djnz ctcloop
+ dec b
+ jr nc, ctcloop
; clear screen
ld hl, #0xF800