Skip to content

Commit

Permalink
Improve memory view performance on scroll by only drawing the delta
Browse files Browse the repository at this point in the history
  • Loading branch information
onsdagens committed Aug 9, 2023
1 parent 04defd9 commit 523ad66
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions riscv/asm.s
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,11 @@ main:
sw t1, 4(t0)
sw t1, 8(t0)
sw t1, 12(t0)
li t0, 0x500000F4 # address should be outide of memview range
sw t1, 0(t0)
sw t1, 4(t0)
sw t1, 8(t0)
sw t1, 12(t0)
li s0, 0x0e0657c1 # initialize "seed"
la s1, seed # initialize "seed"
sw s0, 0(s1)
Expand Down

0 comments on commit 523ad66

Please sign in to comment.