Commit Graph

35 Commits

Author SHA1 Message Date
profi200 42b4ad4ce1
Begin separating oaf into lib and FIRM. Removed unnecessary config.ini file. 2021-11-07 13:43:24 +01:00
profi200 d7103833d5
Unorganized commit collecting many changes from the last months incoming. Yeah, i should have split this. 2021-11-04 15:47:59 +01:00
profi200 49820dc108
Converted most I/O reg defines to structs for better optimization. 2021-02-17 16:43:36 +01:00
profi200 c2695988ba
Updated cfg9.h and everything relying on it based on recent findings/3dbrew. 2021-01-23 16:41:17 +01:00
profi200 70ea6d11c3
Some cleanup and updates based on recent 3dbrew edits. 2021-01-20 13:56:26 +01:00
profi200 54387dad34
Use SELECT + Y for screenshots.
Bump copyright dates and add missing copyright notices.
2021-01-10 14:29:58 +01:00
profi200 e63ec1404f
Small fixes/cleanup. 2020-12-24 12:40:39 +01:00
profi200 48def49f8b
Use relative paths where possible. 2020-11-29 22:52:13 +01:00
profi200 dd68d381ac
Added basic config file support (thanks to benhoyt for his inih lib). 2020-11-23 02:45:47 +01:00
profi200 5f25739286
Enabled more debugging techniques by default in debug builds.
Added more Arm intrinsics.
ARM7 stub now waits for REG_VCOUNT == 126 (same as after BIOS intro).
Enable ROM mirroring for all 8 Mbit games instead of just Classic NES Series.
Other misc. changes.
2020-11-22 01:47:58 +01:00
profi200 c87769a06e
Added returning to the last dir a ROM was launched from on next boot. Fixes #21. 2020-10-25 22:00:44 +01:00
profi200 ffb32cca9c
Some small, unimportant changes. 2020-10-24 21:53:08 +02:00
profi200 07f6f01d92
Added game database search code (and a debug menu for it).
Mimic ROM "open bus" (not 100% accurate) and ROM mirroring. Fixes #20.
Implemented some useful ARM instruction intrinsics.
2020-10-24 21:52:14 +02:00
profi200 8fdc74a3c4
Added a temporary workaround to prevent panics if booted from bootloaders with broken screen init. 2020-09-25 00:59:45 +02:00
profi200 b7441659ca
Fixed 16 bit FIFO transfers in sdmmc.c (thanks @PoroCYon). 2020-08-27 00:08:27 +02:00
profi200 acbd4d0370
Better color conversion from 5 to 8 bit RGB.
Enable sharp interpolated scaling matrix by default. Looks slightly better than AGB_FIRM.
2020-08-04 16:56:33 +02:00
profi200 0f46383f02
Corrected EEPROM save type size.
While the hardware supports 8k all games just use 4k.
2020-07-15 20:24:38 +02:00
profi200 7879ce1597
Added a extremely basic and buggy file browser.
More documentation and bug fixes.
2020-07-01 23:55:27 +02:00
profi200 871671b1a4
Updated documentation.
Use fsQuickRead()/fsQuickWrite().
2020-06-20 18:00:43 +02:00
profi200 fd0ee01abb
Added more registers and documentation.
Added currently unused GBA reset code.
Other small changes.
2020-06-19 17:17:21 +02:00
profi200 cd99d80e42
Detect homebrew and force SRAM save type.
Bug fixes.
2020-06-15 18:59:09 +02:00
profi200 a852083583
Fixed swi in ARM7 stub. Fixes #5. 2020-06-15 02:17:09 +02:00
profi200 bc03a06335
Save handling bug fixes. 2020-06-14 03:04:41 +02:00
profi200 aecbee03e7
Split CFG11 and PDN into separate headers. Also (nearly) completed them.
Reimplemented filesystem access for ARM11.
Moved ROM loading to ARM11.
2020-06-13 00:49:30 +02:00
profi200 cdeec87351
Lots of small changes related to recent findings.
Some cleanup.
2020-06-06 00:25:10 +02:00
profi200 391bc4d05d
Moved lgy.h to include/hardware.
Define size symbols instead of calculating asm stub size at runtime.
Workaround poor optimization when passing GbaRtc struct by value.
2020-05-31 18:18:26 +02:00
profi200 efefa7b3db
Moved save type selection to ARM11. Save size is now auto calculated. 2020-05-30 15:20:29 +02:00
profi200 237fb25c19
Implemented basic error checking/error messages.
Use single buffering for the console.
Now turns off bottom screen backlight.
2020-05-29 15:54:19 +02:00
profi200 d0194dca50
Lots of small (functionality unrelated) improvements.
The GBA cart emu RTC is now set properly (with the exception of day of week).
2020-05-26 18:44:47 +02:00
profi200 206472e29f
Use Arm terminology for cache functions. 2020-05-22 01:54:29 +02:00
profi200 89a5688155
Assembly code cleanup. 2020-05-22 01:00:38 +02:00
profi200 f2168be00e
Lots of functionality unrelated code cleanup. 2020-05-20 23:25:40 +02:00
profi200 3c79369710
Rewrite ARM7 stub.
Some small ARM9 code cleanup.
2020-04-19 15:24:30 +02:00
profi200 602ec58777
Fixed screen init once and for all.
Some gfx code cleanup.

Note: The screen init fix requires the same changes in other homebrew FIRMs to work properly. Particularly waiting for MCU events.
2020-04-17 15:50:42 +02:00
profi200 c3b57bda29
Initial commit. 2020-04-15 23:50:52 +02:00