Browse Source

Add comments to DMA transfer subroutine

master
Forest Belton 3 years ago
parent
commit
fb3dde07bc
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/oam.s

+ 2
- 0
src/oam.s View File

@ -23,6 +23,8 @@ OAM_Init::
ret ret
; Wait for DMA transfer from $XX00 to complete (~160 cycles)
; @param a $XX
waitForDMA: waitForDMA:
ld [rDMA], a ld [rDMA], a
ld a, 40 ld a, 40

Loading…
Cancel
Save