From a7031b7418b77df3fa359d3f512eb685a2fcff71 Mon Sep 17 00:00:00 2001 From: hugova Date: Mon, 28 Apr 2025 14:14:06 +0200 Subject: [PATCH] Changed test to stop writing outside of the screen --- wip-hugo/routines/line/line_test.s | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wip-hugo/routines/line/line_test.s b/wip-hugo/routines/line/line_test.s index 6ac01c2..7e46c90 100644 --- a/wip-hugo/routines/line/line_test.s +++ b/wip-hugo/routines/line/line_test.s @@ -1,7 +1,8 @@ ;;; -*- Mode: asm; indent-tabs-mode: t; tab-width: 8 -*- .scope line_test +;; Program for testing of line-drawing. It draws a bunch of lines +;;Start line-timer-here .include "line.inc" - ;;for testing stuff Y_pos_ = $0D X_pos_ = $0E Y_end_ = $10 @@ -25,7 +26,7 @@ jsr line INC Y_end LDA Y_end - CMP #$bb + CMP #$aa BEQ end__ jmp @loop end__: