diff options
Diffstat (limited to 'home/copy2.asm')
-rw-r--r-- | home/copy2.asm | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/home/copy2.asm b/home/copy2.asm index 41ba3dea..5318dc35 100644 --- a/home/copy2.asm +++ b/home/copy2.asm @@ -149,17 +149,19 @@ FillMemory:: ; 166e (0:166e) jr nz, .loop ret -Func_1681:: ; 1681 (0:1681) +GetFarByte:: ; 1681 (0:1681) +; get a byte from a:hl +; and return it in a push bc - ld b,a + ld b, a ld a, [H_LOADEDROMBANK] push af - ld a,b + ld a, b call BankswitchCommon - ld b,[hl] + ld b, [hl] pop af call BankswitchCommon - ld a,b + ld a, b pop bc ret |