diff options
Diffstat (limited to 'agbx/source/gfx/vsync.s')
-rw-r--r-- | agbx/source/gfx/vsync.s | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/agbx/source/gfx/vsync.s b/agbx/source/gfx/vsync.s index 2e6ac3f..7ecd7fb 100644 --- a/agbx/source/gfx/vsync.s +++ b/agbx/source/gfx/vsync.s @@ -7,19 +7,19 @@ .cpu arm7tdmi .thumb -.globl agbx_vsync +.globl ax_vsync .func .thumb_func -agbx_vsync: +ax_vsync: @ Set the constants: - ldr r0,.vcountaddr @ agbx_i20 vcountaddr = 0x4000006u; - movs r1,0xA0 @ agbx_i20 numhline = 0xA0; + ldr r0,.vcountaddr @ ax_i20 vcountaddr = 0x4000006u; + movs r1,0xA0 @ ax_i20 numhline = 0xA0; .loop: @ Check the scanline counter: - ldrh r2,[r0] @ agbx_i20 vcount = *(agbx_i10 *)vcountaddr; + ldrh r2,[r0] @ ax_i20 vcount = *(ax_i10 *)vcountaddr; cmp r2,r1 beq .ret @ if (vcount == numhline) {goto ret;} |