Real test 1.

This commit is contained in:
Lee Fastenau 2017-03-15 10:29:43 -07:00
parent d81d7bd0c1
commit 2a2996f2c6

View File

@ -107,20 +107,24 @@ start subroutine
jsr makeRules ; Create Conway rules table
jsr initScreen ; Render initial cell layout
jsr updateData ; Initialize backing data based on displayed cells
jsr testLoop
jsr perfTest
jmp EXITDOS
testLoop subroutine
lda #20
perfTest subroutine
jsr RDKEY
lda #50
.startTimer
sta .counter
.loop jsr iterate
dec .counter
lda #0 ; .counter
.counter equ .-1
bne .loop
.endTimer
.break jsr RDKEY
echo "Breakpoint:", .break
rts
.counter ds.b
echo "START TIMER BREAKPOINT:",.startTimer
echo "END TIMER BREAKPOINT:",.endTimer
runLoop subroutine
.loop jsr iterate ; Modify and display next generation