diff options
Diffstat (limited to 'agbx/source/bs')
-rw-r--r-- | agbx/source/bs/done.c | 4 | ||||
-rw-r--r-- | agbx/source/bs/get.s | 6 | ||||
-rw-r--r-- | agbx/source/bs/set.s | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/agbx/source/bs/done.c b/agbx/source/bs/done.c index e302244..0bb0a3c 100644 --- a/agbx/source/bs/done.c +++ b/agbx/source/bs/done.c @@ -1,7 +1,7 @@ /* 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>. */ #include <ax/priv.h> @@ -24,7 +24,7 @@ void ax_done(ax_err const _err) { err[0x8u] = 0x0u; err[0x9u] = 0x1u; err[0xAu] = 0x0u; - for (ax_i10 pos = 0x0u;pos != 0x9600u;pos += 0xF0u) { + for (ax_i01 pos = 0x0u;pos != 0x9600u;pos += 0xF0u) { ax_setpx1(0x600'0000u,pos, err[0x0u]); ax_setpx1(0x600'0000u,pos + 0x1u,err[0x1u]); ax_setpx1(0x600'0000u,pos + 0x2u,err[0x2u]); diff --git a/agbx/source/bs/get.s b/agbx/source/bs/get.s index 7068aaf..a936f73 100644 --- a/agbx/source/bs/get.s +++ b/agbx/source/bs/get.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 @@ -15,7 +15,7 @@ .thumb_func ax_get10: - ldrh r0,[r0] @ ax_i10 val = *(ax_i10 *)addr; + ldrh r0,[r0] @ ax_i01 val = *(ax_i01 *)addr; bx lr @ return val; .endfunc @@ -24,7 +24,7 @@ ax_get10: .thumb_func ax_get20: - ldr r0,[r0] @ ax_i20 val = *(ax_i20 *)addr; + ldr r0,[r0] @ ax_i02 val = *(ax_i02 *)addr; bx lr @ return val; .endfunc diff --git a/agbx/source/bs/set.s b/agbx/source/bs/set.s index 18e7218..1719be6 100644 --- a/agbx/source/bs/set.s +++ b/agbx/source/bs/set.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 @@ -15,7 +15,7 @@ .thumb_func ax_set10: - strh r1,[r0] @ *(ax_i10 *)addr = val; + strh r1,[r0] @ *(ax_i01 *)addr = val; bx lr @ return; .endfunc @@ -24,7 +24,7 @@ ax_set10: .thumb_func ax_set20: - str r1,[r0] @ *(ax_i20 *)addr = val; + str r1,[r0] @ *(ax_i02 *)addr = val; bx lr @ return; .endfunc |