5 Commits

Author SHA1 Message Date
someone2639
195443a853 Gamecube Controller Support (#8)
* patch os_cont

* patch over controller.c

* patch contreaddata

* patch controller.h

* patch motor.c

* formatting

* merge OSContPad and OSContPadEx

* increment ptr if error channel

---------

Co-authored-by: someone2639 <someone2639@gmail.com>
2025-06-17 22:58:09 -04:00
someone2639
01fa771093 Make Version 2.0L the only build (#6)
* Strike Version L

* for includes too

* format

* include format

* remove I J and K base files

* flatten folder

* only build libgultra

* clarify the new MGU switch

* flatten build folder

* remove stray #line

* address review

* and format

---------

Co-authored-by: someone2639 <someone2639@gmail.com>
2025-02-18 16:25:18 -05:00
someone2639
c366e0122a Format the Repo (#3)
* set build options

* remove COMPARE and MDOERN_* switches

* remove tools makefile

* AR patching is gone too since we want a fullly decomped version

* AR is modern

* remove cwd changes

* edit my own tool to fix compile errors

* compile files generated with my own tool instead of the originals

* inline modern_gcc makefile

* port mips toolchain detection logic

* add util.mk for find-command

* remove forced AR order and strip/mdebug removal commands

* add -mabi=32 to as flags

* formatting changes

* add clang format files

* formatting changes

* make libgultra CI work

* install mips gcc too

* add format check tools

* Add formatting to CI

* Add CI (#4)

* make libgultra CI work

* install mips gcc too

* remove make setup

---------

Co-authored-by: someone2639 <someone2639@gmail.com>

* we don't use clang-tidy

* use 120 width for formatting

* a

* address clang-tidy messing up

* test

* align consecutive macros and declarations

* only align macros for now

* SpaceAfterCStyleCast: false

* format headers too

* remove cast space switch because its false by default

* pointers on left

* AlignConsecutiveBitFields: true

* install clang-format and clang-tidy on gh actions

* and clang-tools

* show diff in format check tool

* make CI work

---------

Co-authored-by: someone2639 <someone2639@gmail.com>
🙏
2025-02-17 22:56:09 -05:00
Derek Hensley
bcca1c8292 General docs + cleanup (#84)
* osCreateThread small cleanup

* osViSetSpecialFeatures

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>

* osAiSetNextBuffer

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>

* macros.h move to PRinternal.h

* dbgproto.h and dbgdefs.h moved to PRinternal

* Align OSPifRAM struct

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>

* LAN1 vimode comments

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>

* Stack macros

* Hex for all ALIGNED macros

* leoDiskSTack ALIGNED(0x10)

* interrupt bug

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>

* ASM comment

* Revert "LAN1 vimode comments"

This reverts commit bed467a67172de611cde15744eb659f996f3d157.

* STACK_START

* FPCSR_RM_RN

---------

Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
2024-08-20 00:19:01 -04:00
Derek Hensley
a1542b6ae3 Move some headers from src to include/PRinternal (#77)
* controller.h

* siint.h

* osint and viint

* piint.h

* rmonint.h

* Remove ARRLEN from controller.h

* PRinternal

* controller_gbpak.h and controller_voice.h
2024-06-06 19:51:54 -07:00