Commit Graph

39 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
Harrison 2d26f51d56 Changed backlightRange to maxBacklight
See updated README for more details.
2021-11-06 22:59:21 +01:00
profi200 83215f5417
Added CODEC headset detection/selction reg and bit defines. 2021-11-05 17:53:41 +01:00
profi200 be6ef91834
Use performance monitor bit defines in start.s. 2021-11-05 00:02:57 +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 70ea6d11c3
Some cleanup and updates based on recent 3dbrew edits. 2021-01-20 13:56:26 +01:00
profi200 56289b36fb
Make scaling easier to configure at compile time. 2021-01-14 22:10:36 +01:00
profi200 cb00f0a424
Added 1:1 scaling support. 2021-01-10 17:46:38 +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 a719aa2864
Moved lots of code out of main.c/cleanup. 2020-12-19 22:30:43 +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 ef79b4343d
Use anonymous structs instead of void for public kernel API. 2020-09-14 16:24:03 +02:00
profi200 b8f4d5cd53
More cleanup and bug fixes. 2020-09-12 14:50:24 +02:00
profi200 02e9fa9830
Refactor. Moved code outside of the hardware drivers that doesn't belong there. 2020-09-08 16:13:58 +02:00
profi200 f028745f52
First public release of my tiny kernel. 2020-09-05 17:20:38 +02:00
profi200 e70f80d408
Changed MCU init code to match the one from mcu module more closely.
More documentation for the color range adjustment and small cleanup.
2020-08-09 23:12:19 +02:00
profi200 83f8a2d1e7
Changed layout for GBA save type db. 2020-08-04 17:00:33 +02:00
profi200 592a7f28b3
Moved I2C LCD stuff to its own file and added register docs and defines. 2020-07-23 20:52:58 +02:00
profi200 1882ba8f06
Started work on better save detection. This will take quite a while to get right. 2020-07-15 18:48:21 +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 a852083583
Fixed swi in ARM7 stub. Fixes #5. 2020-06-15 02:17:09 +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 4316ad5c85
Bump color quality. Also removes output dithering. 2020-06-08 13:58:14 +02:00
profi200 1a93fd579d
Forgot to rename the GPIO IRQs in previous commit. 2020-06-06 14:56:00 +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 f2168be00e
Lots of functionality unrelated code cleanup. 2020-05-20 23:25:40 +02:00
profi200 70f518b92f
Moved some GX/LCD regs to their own headers + more reg/bit definitions. 2020-05-17 20:15:43 +02:00
profi200 63f03cd824
Force LgyFb to insert 16 pixels of padding horizontally. Makes tiled output finally work. 2020-05-14 16:27:11 +02:00
profi200 51115a9785
Added Circle-Pad controls. Costs about 30 µs frame time.
Note: No calibration support yet. If your Circle-Pad is in bad shape or came out of the factory with drift this will certainly break.
2020-05-05 23:27:34 +02:00
profi200 9ff4bbf2fd
Get rid of GPU init cmd list. We only need a single write. 2020-04-30 09:16:48 +02:00
profi200 3fc02d32ef
Added broken GPU rendering. 2020-04-29 18:19:55 +02:00
profi200 93abc0958f
Added VRAM allocator (thanks to libctru).
Overhaul of gfx.c.
2020-04-24 20:22:10 +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