From 5f19738975aeaf0676b2f0adaaed8df7d1865111 Mon Sep 17 00:00:00 2001 From: alpine9000 Date: Fri, 1 Apr 2016 19:38:09 +1100 Subject: [PATCH] Fixed small bug --- 025.scroll_text/scroll_text.s | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/025.scroll_text/scroll_text.s b/025.scroll_text/scroll_text.s index baa8127..97b1ffd 100644 --- a/025.scroll_text/scroll_text.s +++ b/025.scroll_text/scroll_text.s @@ -5,7 +5,7 @@ xdef offscreen xdef copperListBplPtr -Y_POS equ 16 +Y_POS equ 100 byteMap: dc.l Entry @@ -40,18 +40,6 @@ Entry: lea text,a3 MainLoop: jsr WaitVerticalBlank - ;; jsr InstallPalette - - if 0 - ;; test - move.b #'B',d2 - move.l #16,d0 ; xpos - move.l #0,d1 ; ypos - move.l onscreen,a0 - jsr BlitChar8 - bra MainLoop - ;; test - endif cmp.l #8,shiftcounter bne .shift @@ -62,6 +50,7 @@ MainLoop: .wrapText: lea text,a3 .moreText: + sub.l d2,d2 move.b (a3)+,d2 move.l #BITPLANE_WIDTH-16,d0 ; xpos move.l #Y_POS,d1 ; ypos