diff --git a/wip-hugo/routines/line/line_down.s b/wip-hugo/routines/line/line_down.s index b7ffead..c45e3b6 100644 --- a/wip-hugo/routines/line/line_down.s +++ b/wip-hugo/routines/line/line_down.s @@ -10,7 +10,6 @@ .proc line_down .include "line.inc"; Defines memory positions, ex X_pos - ;;We need to clear this memory LDA #$00 STA btp_mem_pos), Y STA (>btp_mem_pos), Y increment_pixel_x: - CLC - ROR byte_to_paint + ;CLC + LSR byte_to_paint BCS move_8px_left JMP increment_pixel_x_end move_8px_left: diff --git a/wip-hugo/routines/line/line_test_time.s b/wip-hugo/routines/line/line_test_time.s index 053546c..aeaa801 100644 --- a/wip-hugo/routines/line/line_test_time.s +++ b/wip-hugo/routines/line/line_test_time.s @@ -1,6 +1,9 @@ ;;; -*- Mode: asm; indent-tabs-mode: t; tab-width: 8 -*- .include "line.inc" + + ;;START TIME HERE + ;;for testing stuff Y_pos_ = $0D X_pos_ = $0E @@ -15,8 +18,7 @@ LDA #$30 STA Y_end - ;; Short test for timing - time_start + @loop:;; mem f1 LDA Y_pos_ STA Y_pos @@ -30,7 +32,20 @@ BEQ end__ jmp @loop end__: - time_stop + ;;Lets cleer bitmap + LDA #>VIC_bank + STA $FC + LDA #$5f3f + STA $FE + LDA #<$5f3f + STA $FD + + LDA #$0 + jsr memory_rec + jmp exit .include "line_down.s"