12 Commits

Author SHA1 Message Date
6c2dfa9d05 chore: refactor window 2022-10-21 05:38:20 -03:00
06addcfc71 chore: crude background window impl (no affine) 2022-10-21 05:38:20 -03:00
7bb44894a7 chore: rename function (misspelt until now somehow) 2022-10-21 05:38:20 -03:00
4262688fa8 chore(ppu): remove BGR555 -> RGBA888 LUT
LUT probably couldn't fit in CPU cache anyways.

TODO: Consider whether LUTs for separate channels (size 32 * 3 * 3
instead of std.math.maxInt(u15))
2022-10-21 05:13:12 -03:00
207a99edbe style: improve code quality 2022-10-21 05:13:04 -03:00
739d38533a style(scheduler): rename scheduler event handlers 2022-10-21 05:13:04 -03:00
9baadadba2 style(bus): refactor several hardware abstractions 2022-10-21 05:13:03 -03:00
f2b27f31f4 chore: better conform to zig idioms 2022-10-21 05:12:57 -03:00
9b0f54b111 chore: allocate sprite array on heap
Each Sprite optional is 10 bytes meaning I'm allocating 1.28Kb on the
stack which isn't necessary.
2022-10-21 05:12:56 -03:00
4cf58f1faa chore: improve init/deinit methods 2022-10-21 05:12:56 -03:00
f833de765c chore: don't init bus in Arm7tdmi init 2022-10-21 05:12:55 -03:00
91c94fe528 chore: change directory structure 2022-10-21 05:12:54 -03:00