c64-livecoding/wip-hugo/routines/line/line_test_time.s

38 lines
506 B
ArmAsm

X_end = $04
Y_end = $05
X_pos = $FC
Y_pos = $FB
;;for testing stuff
Y_pos_ = $0D
X_pos_ = $0E
Y_end_ = $10
X_end_ = $11
LDA #$00
STA X_pos_
LDA #$30
STA Y_pos_
LDA #$ff
STA X_end
LDA #$30
STA Y_end
;; Short test for timing
time_start
@loop:;; mem f1
LDA Y_pos_
STA Y_pos
LDA X_pos_
STA X_pos
jsr line
INC Y_end
LDA Y_end
CMP #$50
BEQ end__
jmp @loop
end__:
time_stop
jmp exit
.include "line.s"