diff options
Diffstat (limited to 'agbx/source/gfx/vsync.s')
-rw-r--r-- | agbx/source/gfx/vsync.s | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/agbx/source/gfx/vsync.s b/agbx/source/gfx/vsync.s index 7ecd7fb..e16724f 100644 --- a/agbx/source/gfx/vsync.s +++ b/agbx/source/gfx/vsync.s @@ -1,6 +1,6 @@ @ Copyright 2022 Gabriel Jensen. @ This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. -@ If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. +@ If a copy of the MPL was not distributed with this file, You can obtain one at <https://mozilla.org/MPL/2.0>. .syntax unified @@ -14,12 +14,12 @@ ax_vsync: @ Set the constants: - ldr r0,.vcountaddr @ ax_i20 vcountaddr = 0x4000006u; - movs r1,0xA0 @ ax_i20 numhline = 0xA0; + ldr r0,.vcountaddr @ ax_i02 vcountaddr = 0x4000006u; + movs r1,0xA0 @ ax_i02 numhline = 0xA0; .loop: @ Check the scanline counter: - ldrh r2,[r0] @ ax_i20 vcount = *(ax_i10 *)vcountaddr; + ldrh r2,[r0] @ ax_i02 vcount = *(ax_i01 *)vcountaddr; cmp r2,r1 beq .ret @ if (vcount == numhline) {goto ret;} |