From 74b197a0de0ec224a99edc63b2ba29d98a669fe5 Mon Sep 17 00:00:00 2001 From: Brett Gordon Date: Fri, 23 Oct 2015 02:33:21 -0400 Subject: [PATCH] coco3: graphics: fix endianess of read. --- Kernel/platform-coco3/videoll.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Kernel/platform-coco3/videoll.s b/Kernel/platform-coco3/videoll.s index 885ce87d..b3329227 100644 --- 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 -- 2.34.1