summaryrefslogtreecommitdiff
path: root/agbx/source/gfx/clrscrn.c
diff options
context:
space:
mode:
Diffstat (limited to 'agbx/source/gfx/clrscrn.c')
-rw-r--r--agbx/source/gfx/clrscrn.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/agbx/source/gfx/clrscrn.c b/agbx/source/gfx/clrscrn.c
deleted file mode 100644
index cd9a7b3..0000000
--- a/agbx/source/gfx/clrscrn.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- 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>.
-*/
-
-#include <ax/priv.h>
-
-#include <ax/gfx.h>
-
-void ax_clrscrn3(ax_i01 const _col) {
- ax_i02 const val = (ax_i02)_col | (ax_i02)_col << 0x10u;
- for (ax_i02 addr = 0x600'0000u;addr != 0x601'2C00u;addr += 0x4u) {__ax_set20(addr,val);}
-}
-
-void ax_clrscrn4(ax_i02 const _vaddr,ax_i8 const _col) {
- ax_i02 const val = (ax_i02)_col | (ax_i02)_col << 0x8u | (ax_i02)_col << 0x10u | (ax_i02)_col << 0x18u;
- for (ax_i02 addr = _vaddr;addr != _vaddr + 0x9600u;addr += 0x4u) {__ax_set20(addr,val);}
-}
-
-void ax_clrscrn5(ax_i02 const _vaddr,ax_i01 const _col) {
- ax_i02 const val = (ax_i02)_col | (ax_i02)_col << 0x10u;
- for (ax_i02 addr = _vaddr;addr != _vaddr + 0xA000u;addr += 0x4u) {__ax_set20(addr,val);}
-}