diff options
Diffstat (limited to 'src/home/copy.asm')
-rw-r--r-- | src/home/copy.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/home/copy.asm b/src/home/copy.asm index d73f5a2..8b21f90 100644 --- a/src/home/copy.asm +++ b/src/home/copy.asm @@ -1,6 +1,6 @@ ; copy c bytes of data from hl to de, b times. ; used to copy gfx data with c = TILE_SIZE -CopyGfxData: ; 070c (0:070c) +CopyGfxData: ld a, [wLCDC] rla jr nc, .next_tile @@ -35,7 +35,7 @@ CopyGfxData: ; 070c (0:070c) ret ; copy bc bytes from hl to de. preserves all registers except af -CopyDataHLtoDE_SaveRegisters: ; 0732 (0:0732) +CopyDataHLtoDE_SaveRegisters: push hl push de push bc @@ -46,7 +46,7 @@ CopyDataHLtoDE_SaveRegisters: ; 0732 (0:0732) ret ; copy bc bytes from hl to de -CopyDataHLtoDE: ; 073c (0:073c) +CopyDataHLtoDE: ld a, [hli] ld [de], a inc de |