aboutsummaryrefslogtreecommitdiffstats
path: root/home/serial.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2024-09-25 00:45:00 -0500
committerdannye <33dannye@gmail.com>2024-09-25 00:45:00 -0500
commita02a98ee7ada1a658e28698484058be2796dc0df (patch)
tree945986054565bd8b5212fc755415096050d1d3a8 /home/serial.asm
parentUse long option flags for rgbgfx, same as tools/gfx (diff)
parentUse `const_skip` (diff)
downloadpokeyellow-a02a98ee7ada1a658e28698484058be2796dc0df.tar.gz
pokeyellow-a02a98ee7ada1a658e28698484058be2796dc0df.tar.xz
pokeyellow-a02a98ee7ada1a658e28698484058be2796dc0df.zip
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'home/serial.asm')
-rw-r--r--home/serial.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/serial.asm b/home/serial.asm
index aa67654f..7edba241 100644
--- a/home/serial.asm
+++ b/home/serial.asm
@@ -33,7 +33,7 @@ Serial::
ldh [rDIV], a
.waitLoop
ldh a, [rDIV]
- bit 7, a
+ bit 7, a ; wait until rDIV has incremented from $3 to $80 or more
jr nz, .waitLoop
ld a, START_TRANSFER_EXTERNAL_CLOCK
ldh [rSC], a