Skip to content

Commit

Permalink
Notes on additional optimization potential
Browse files Browse the repository at this point in the history
  • Loading branch information
indigodarkwolf committed May 1, 2020
1 parent 8375be9 commit 77e4454
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions vera.inc
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,13 @@ DATA_ADDR=data_addr>>5
txa
ror
sta VERA_ien

; Oh, but he wasn't done with optimizing the general problem, however this method doesn't work with VERA_ien because it's not vanilla memory:

; asl VERA_ien ; move bit 6-0 left - destroying bit 7
; lda source+1
; lsr ; put bit 0 into C
; ror VERA_ien ; put C into bit 7, moving bit 6-0 back where they started
.endmacro

;=================================================
Expand Down

0 comments on commit 77e4454

Please sign in to comment.