mirror of
https://github.com/HackerN64/hackerlibultra.git
synced 2026-01-21 10:37:53 -08:00
0417857a2c604d793a6abfc3a33a81d60b6bd6c8
* Begin stages of _d * Match audio * Match ldiv * match llbit * Match string.c (memcpy matched by wiseguy) * match syncprintf * Match flash code and skip libc X files (will do later) * fix flash formatting and match some voice files * More voice files * More voice progress * voice finish * Match ai and sched * Match aisetfreq (done by Tharo) and a few more * match eep read/write * more io files * match epi * Match gbpak and motor * PFS mostly matched * Match PI * Match SI * Match SP code * Match VI code * Fix alignment * Match RG * Fix exceptasm * parse_gbi fix * OS part 1 * Fix conflict * Fix some bugs * More files * more matching * Almost there * begin some libultra_d code * add delay * Match timerintr * fix for merge * match logfloat * printregion match * log OK * profile OK * commonerror OK, plus small cleanups in profile and log * small cleanup of commonerror * Start * Small cleanup * Defines for constants and other cleanup (#1) * Integrated fakechroot to match file paths for monutil * Added generation of symlink to /bin for the chroot * Matched monutil (#2) * Added support for libgultra.a building * Matched profile for libgultra.a * Fixed host_ptn64 symtab diff, better support for building different versions * finish libgultra_d (#33) * finish libgultra_d * clean up some old comments * IDO recomp redirect (#35) * Updates for patched ido * Some clean up * new line * Update table to reflect that libgultra.a and libgultra_d.a are matched * Change default target to libgultra_rom * Replaced some magic numbers with defines, removed binlink * Added explicit alignment to any implicitly aligned variables (#37) * newlines * profile cleanup * va_end * formating * WAIT_ON_IOBUSY * OS_VI_SPECIAL_MAX * Ido download latest * yeet useless __assertBreak * Enable ci for all L libgultra * Fix NULL syntax * osViGetCurrentFramebuffer * Format (#40) * format * file modes * logfloat * Fix wrong permisions * left* * Cleanups * Missed an rdb.h * newlines --------- Co-authored-by: CrashOveride95 <crashoveride953@gmail.com> Co-authored-by: CrashOveride95 <40003130+CrashOveride95@users.noreply.github.com> Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> Co-authored-by: pixel-stuck <mathmcclintic@gmail.com>
ultralib
Reverse engineering of libultra
Compatibility
Currently this repo supports building the following versions:
| IDO / GCC | libultra.a / libgultra.a |
libultra_d.a / libgultra_d.a |
libultra_rom.a / libgultra_rom.a |
|---|---|---|---|
| 2.0E | ❌ / N/A | ❌ / N/A | ❌ / N/A |
| 2.0F | ❌ / N/A | ❌ / N/A | ❌ / N/A |
| 2.0G | ❌ / N/A | ❌ / N/A | ❌ / N/A |
| 2.0H | ❌ / ❌ | ❌ / ❌ | ❌ / ❌ |
| 2.0I | ❌ / ❌ | ❌ / ❌ | ❌ / ❌ |
| 2.0I_patch | ❌ / ❌ | ❌ / ❌ | ❌ / ❌ |
| 2.0J | ❌ / ❌ | ❌ / ❌ | ❌ / ❌ |
| 2.0K | ❌ / ❌ | ❌ / ❌ | ❌ / ❌ |
| 2.0L | ❌ / ✔️ | ❌ / ✔️ | ❌ / ✔️ |
| ique_v1.5 | ❌ | ❌ | ❌ |
Preparation
After cloning the repo, put a copy of the target archive on the root of this directory.
Build dependencies
The build process requires the following packages:
- build-essential
- python3
Under Debian / Ubunutu you can install them with the following commands:
sudo apt update
sudo apt install build-essential python3
Building
make setupmake
Description
Languages
C
93%
Assembly
5.4%
Python
0.8%
Makefile
0.8%