tom-seddon / basic_editor

Updated version of Acornsoft's BASIC Editor for the BBC Micro
15 stars 4 forks source link

`sub_ABDB` #25

Open tom-seddon opened 2 years ago

tom-seddon commented 2 years ago

Copies 256 bytes using the needlessly generic memmove routine.

https://github.com/tom-seddon/basic_editor/blob/0d88b6e3bf0290a4b62fc3ac48730a61e7d12f9b/mainpart.s65#L8369

Currently 30 bytes of code to make 2 copies - could be 2 little inlined loops, 11 bytes each:

ldx #0
-
lda $400,x
sta $700,x
inx
bne -