Commit Graph

121 Commits

Author SHA1 Message Date
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 31da2d7f62
Actually make more __asm__ volatile. 2020-05-11 15:51:59 +02:00
profi200 7222e77e8c
GCC's LTO is getting clever.
Fixed defines in gfx.h.
2020-05-11 15:18:38 +02:00
profi200 d695e67a80
Small gfx code changes.
Added mGBA's "dark" filter.
2020-05-11 02:15:30 +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 dcc21c92ed
Move the timing window for frame rendering to reduze output lag. 2020-05-04 18:25:03 +02:00
profi200 55f7400bd9
Forgot to update README. 2020-05-03 22:48:44 +02:00
profi200 7aeb539266
Added variable framerate code to sync GBA mode and LCD framerate. 2020-05-03 22:43:19 +02:00
profi200 bdcd068856
Added long overdue credits because without them i would still struggle to understand the GPU.
A few small changes. Nothing important.
2020-05-01 21:30:20 +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 6232c36bce
GPU scaling hype. 2020-04-30 01:34:27 +02:00
profi200 165d9de32a
Restart the LgyFb DMA channel in time. 2020-04-30 00:21:22 +02:00
profi200 8d89bccb63
Display transfer only the screen area where the frame is stored. 2020-04-29 19:54:21 +02:00
profi200 01ec92240b
Finally renders using the GPU but LgyFb tiled output is broken. 2020-04-29 18:50:52 +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 75142aabd8
Brainfart. 2020-04-20 14:27:11 +02:00
profi200 461572c326
Initial GPU work.
README update.
2020-04-20 14:22:26 +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