public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10952ed
)
coco3: graphics: fix endianess of read.
author
Brett Gordon
<beretta42@gmail.com>
Fri, 23 Oct 2015 06:33:21 +0000
(
02:33
-0400)
committer
Brett Gordon
<beretta42@gmail.com>
Sat, 24 Oct 2015 15:01:30 +0000
(11:01 -0400)
Kernel/platform-coco3/videoll.s
patch
|
blob
|
history
diff --git
a/Kernel/platform-coco3/videoll.s
b/Kernel/platform-coco3/videoll.s
index
885ce87
..
b332922
100644
(file)
--- a/
Kernel/platform-coco3/videoll.s
+++ b/
Kernel/platform-coco3/videoll.s
@@
-96,7
+96,7
@@
_video_read:
tfr x,y ; So we can use y to get at the w/h
leax 4,x ; Move on to data space
vrnext:
- lda
2
,y ; a counts our copy along the scan line
+ lda
3
,y ; a counts our copy along the scan line
pshs u
vrline:
ldb ,u+ ; b does our data
@@
-105,7
+105,7
@@
vrline:
bne vrline
puls u ; step down a line
leau 32,u
- dec
,y
; use the buffer directly for line count
+ dec
1,y
; use the buffer directly for line count
bne vrnext
puls u,pc ; and done