diff options
author | luckytyphlosion <alan.rj.huang@gmail.com> | 2015-05-11 16:30:33 -0400 |
---|---|---|
committer | luckytyphlosion <alan.rj.huang@gmail.com> | 2015-05-11 16:30:33 -0400 |
commit | 751c0febfa828a41aaa1cc62d1e8486d3da6025f (patch) | |
tree | 346bb31c88d0569e2a19a01a557b362e1f3b34bf | |
parent | 9c06176db55b3c95a2d526f62de83f0893439d3a (diff) |
Update copy2.asm
-rw-r--r-- | home/copy2.asm | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/home/copy2.asm b/home/copy2.asm index ad863788..da183300 100644 --- a/home/copy2.asm +++ b/home/copy2.asm @@ -1,40 +1,3 @@ -FarCopyData2:: -; Identical to FarCopyData, but uses $ff8b -; as temp space instead of wBuffer. - ld [$ff8b],a - ld a,[H_LOADEDROMBANK] - push af - ld a,[$ff8b] - ld [H_LOADEDROMBANK],a - ld [MBC1RomBank],a - call CopyData - pop af - ld [H_LOADEDROMBANK],a - ld [MBC1RomBank],a - ret - -FarCopyData3:: -; Copy bc bytes from a:de to hl. - ld [$ff8b],a - ld a,[H_LOADEDROMBANK] - push af - ld a,[$ff8b] - ld [H_LOADEDROMBANK],a - ld [MBC1RomBank],a - push hl - push de - push de - ld d,h - ld e,l - pop hl - call CopyData - pop de - pop hl - pop af - ld [H_LOADEDROMBANK],a - ld [MBC1RomBank],a - ret - FarCopyDataDouble:: ; Expand bc bytes of 1bpp image data ; from a:de to 2bpp data at hl. |