├── .gitignore ├── gl_test └── cube │ └── main.c ├── include ├── GL │ └── gl.h ├── hfx.h ├── hfx_cmds.h └── ucode │ ├── fixed_vector.h │ ├── hfx_asm.h │ └── rsp.h ├── libhfx_gl ├── include │ ├── hfx_int.h │ └── hfx_types.h └── src │ └── hfx.c ├── libhfx_src ├── include │ ├── hfx_int.h │ ├── hfx_rb.h │ ├── hfx_rdp.h │ ├── hfx_regs.h │ └── hfx_types.h └── src │ ├── hfx.c │ ├── hfx_cmd.c │ ├── hfx_cmd_dma.c │ ├── hfx_dispatch.c │ ├── hfx_display.c │ ├── hfx_math.c │ ├── hfx_matrix.c │ ├── hfx_rb.c │ ├── hfx_render.c │ ├── hfx_render_gl.c │ ├── hfx_state.c │ ├── hfx_texture.c │ └── linker.S ├── meson.build ├── tests ├── basic_rb_test │ └── main.c ├── basic_rdp_test │ └── main.c ├── hfx_clear │ └── main.c ├── hfx_cube │ └── main.c ├── hfx_draw_single_tri │ └── main.c ├── hfx_persp │ └── main.c ├── hfx_persp_tex │ └── main.c ├── hfx_tex_tri │ └── main.c ├── meson.build ├── rdp_buffer_wrap │ └── main.c ├── ucode_mul_mat_vec │ ├── loader.S │ ├── main.c │ ├── ucode.c │ └── ucode_asm.S ├── ucode_sort │ ├── loader.S │ ├── main.c │ ├── ucode.c │ └── ucode_asm.S └── ucode_tri │ ├── loader.S │ ├── main.c │ ├── ucode.c │ └── ucode_asm.S ├── ucode.ld └── ucode_src ├── include ├── mat_vec.S ├── sort.S └── tri.S └── src ├── crt.S ├── hfx_main.c └── hfx_ucode.c /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/.gitignore -------------------------------------------------------------------------------- /gl_test/cube/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/gl_test/cube/main.c -------------------------------------------------------------------------------- /include/GL/gl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/include/GL/gl.h -------------------------------------------------------------------------------- /include/hfx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/include/hfx.h -------------------------------------------------------------------------------- /include/hfx_cmds.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/include/hfx_cmds.h -------------------------------------------------------------------------------- /include/ucode/fixed_vector.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/include/ucode/fixed_vector.h -------------------------------------------------------------------------------- /include/ucode/hfx_asm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/include/ucode/hfx_asm.h -------------------------------------------------------------------------------- /include/ucode/rsp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/include/ucode/rsp.h -------------------------------------------------------------------------------- /libhfx_gl/include/hfx_int.h: -------------------------------------------------------------------------------- 1 | #define hfx_fatal_error(state, msg) -------------------------------------------------------------------------------- /libhfx_gl/include/hfx_types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/libhfx_gl/include/hfx_types.h -------------------------------------------------------------------------------- /libhfx_gl/src/hfx.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/libhfx_gl/src/hfx.c -------------------------------------------------------------------------------- /libhfx_src/include/hfx_int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/libhfx_src/include/hfx_int.h -------------------------------------------------------------------------------- /libhfx_src/include/hfx_rb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/libhfx_src/include/hfx_rb.h -------------------------------------------------------------------------------- /libhfx_src/include/hfx_rdp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/libhfx_src/include/hfx_rdp.h -------------------------------------------------------------------------------- /libhfx_src/include/hfx_regs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/libhfx_src/include/hfx_regs.h -------------------------------------------------------------------------------- /libhfx_src/include/hfx_types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/libhfx_src/include/hfx_types.h -------------------------------------------------------------------------------- /libhfx_src/src/hfx.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/libhfx_src/src/hfx.c -------------------------------------------------------------------------------- /libhfx_src/src/hfx_cmd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/libhfx_src/src/hfx_cmd.c -------------------------------------------------------------------------------- /libhfx_src/src/hfx_cmd_dma.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/libhfx_src/src/hfx_cmd_dma.c -------------------------------------------------------------------------------- /libhfx_src/src/hfx_dispatch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/libhfx_src/src/hfx_dispatch.c -------------------------------------------------------------------------------- /libhfx_src/src/hfx_display.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/libhfx_src/src/hfx_display.c -------------------------------------------------------------------------------- /libhfx_src/src/hfx_math.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/libhfx_src/src/hfx_math.c -------------------------------------------------------------------------------- /libhfx_src/src/hfx_matrix.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/libhfx_src/src/hfx_matrix.c -------------------------------------------------------------------------------- /libhfx_src/src/hfx_rb.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/libhfx_src/src/hfx_rb.c -------------------------------------------------------------------------------- /libhfx_src/src/hfx_render.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/libhfx_src/src/hfx_render.c -------------------------------------------------------------------------------- /libhfx_src/src/hfx_render_gl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/libhfx_src/src/hfx_render_gl.c -------------------------------------------------------------------------------- /libhfx_src/src/hfx_state.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/libhfx_src/src/hfx_state.c -------------------------------------------------------------------------------- /libhfx_src/src/hfx_texture.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/libhfx_src/src/hfx_texture.c -------------------------------------------------------------------------------- /libhfx_src/src/linker.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/libhfx_src/src/linker.S -------------------------------------------------------------------------------- /meson.build: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/meson.build -------------------------------------------------------------------------------- /tests/basic_rb_test/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/tests/basic_rb_test/main.c -------------------------------------------------------------------------------- /tests/basic_rdp_test/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/tests/basic_rdp_test/main.c -------------------------------------------------------------------------------- /tests/hfx_clear/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/tests/hfx_clear/main.c -------------------------------------------------------------------------------- /tests/hfx_cube/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/tests/hfx_cube/main.c -------------------------------------------------------------------------------- /tests/hfx_draw_single_tri/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/tests/hfx_draw_single_tri/main.c -------------------------------------------------------------------------------- /tests/hfx_persp/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/tests/hfx_persp/main.c -------------------------------------------------------------------------------- /tests/hfx_persp_tex/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/tests/hfx_persp_tex/main.c -------------------------------------------------------------------------------- /tests/hfx_tex_tri/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/tests/hfx_tex_tri/main.c -------------------------------------------------------------------------------- /tests/meson.build: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/tests/meson.build -------------------------------------------------------------------------------- /tests/rdp_buffer_wrap/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/tests/rdp_buffer_wrap/main.c -------------------------------------------------------------------------------- /tests/ucode_mul_mat_vec/loader.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/tests/ucode_mul_mat_vec/loader.S -------------------------------------------------------------------------------- /tests/ucode_mul_mat_vec/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/tests/ucode_mul_mat_vec/main.c -------------------------------------------------------------------------------- /tests/ucode_mul_mat_vec/ucode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/tests/ucode_mul_mat_vec/ucode.c -------------------------------------------------------------------------------- /tests/ucode_mul_mat_vec/ucode_asm.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/tests/ucode_mul_mat_vec/ucode_asm.S -------------------------------------------------------------------------------- /tests/ucode_sort/loader.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/tests/ucode_sort/loader.S -------------------------------------------------------------------------------- /tests/ucode_sort/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/tests/ucode_sort/main.c -------------------------------------------------------------------------------- /tests/ucode_sort/ucode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/tests/ucode_sort/ucode.c -------------------------------------------------------------------------------- /tests/ucode_sort/ucode_asm.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/tests/ucode_sort/ucode_asm.S -------------------------------------------------------------------------------- /tests/ucode_tri/loader.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/tests/ucode_tri/loader.S -------------------------------------------------------------------------------- /tests/ucode_tri/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/tests/ucode_tri/main.c -------------------------------------------------------------------------------- /tests/ucode_tri/ucode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/tests/ucode_tri/ucode.c -------------------------------------------------------------------------------- /tests/ucode_tri/ucode_asm.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/tests/ucode_tri/ucode_asm.S -------------------------------------------------------------------------------- /ucode.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/ucode.ld -------------------------------------------------------------------------------- /ucode_src/include/mat_vec.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/ucode_src/include/mat_vec.S -------------------------------------------------------------------------------- /ucode_src/include/sort.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/ucode_src/include/sort.S -------------------------------------------------------------------------------- /ucode_src/include/tri.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/ucode_src/include/tri.S -------------------------------------------------------------------------------- /ucode_src/src/crt.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/ucode_src/src/crt.S -------------------------------------------------------------------------------- /ucode_src/src/hfx_main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hazematman/libhfx/HEAD/ucode_src/src/hfx_main.c -------------------------------------------------------------------------------- /ucode_src/src/hfx_ucode.c: -------------------------------------------------------------------------------- 1 | #include "hfx_main.c" --------------------------------------------------------------------------------