Changed test to stop writing outside of the screen

This commit is contained in:
hugova 2025-04-28 14:14:06 +02:00
parent c5d14ae11e
commit a7031b7418

View file

@ -1,7 +1,8 @@
;;; -*- Mode: asm; indent-tabs-mode: t; tab-width: 8 -*- ;;; -*- Mode: asm; indent-tabs-mode: t; tab-width: 8 -*-
.scope line_test .scope line_test
;; Program for testing of line-drawing. It draws a bunch of lines
;;Start line-timer-here
.include "line.inc" .include "line.inc"
;;for testing stuff
Y_pos_ = $0D Y_pos_ = $0D
X_pos_ = $0E X_pos_ = $0E
Y_end_ = $10 Y_end_ = $10
@ -25,7 +26,7 @@
jsr line jsr line
INC Y_end INC Y_end
LDA Y_end LDA Y_end
CMP #$bb CMP #$aa
BEQ end__ BEQ end__
jmp @loop jmp @loop
end__: end__: