Rekai Nyangadzayi Musuka
d5443d9c2f
chore: contain Timers in a tuple rather than a struct
2022-05-05 20:09:00 -03:00
Rekai Nyangadzayi Musuka
9cce4d9859
chore: misc improvements
2022-04-21 10:15:52 -03:00
Rekai Nyangadzayi Musuka
85e8ca9146
feat: implement Noise
...
Kirby & The Amazing Mirror crashes only in ReleaseSafe / ReleaseBug.
TODO: Figure out why
2022-04-21 02:40:02 -03:00
Rekai Nyangadzayi Musuka
2f07c18f0b
feat: implement ch3
2022-04-21 00:21:55 -03:00
Rekai Nyangadzayi Musuka
ed3d275974
feat: implement ch2
2022-04-20 21:33:46 -03:00
Rekai Nyangadzayi Musuka
97a689ab55
chore: broken impl of ch1
2022-04-20 09:39:12 -03:00
Rekai Nyangadzayi Musuka
172a59aefb
feat: schedule audio sampling on scheduler
...
DMA sound in games like Pokemon Emerald, Chobits, Love Hina, and Kirby:
Nightmare in Dream Land sound great save for conerns about resampling
2022-04-14 05:58:32 -03:00
Rekai Nyangadzayi Musuka
9b9b6c0d6f
feat: implement ARM read open bus
2022-04-13 23:28:14 -03:00
Rekai Nyangadzayi Musuka
c100d64fcb
chore: tick scheduler on memory access
2022-04-09 19:43:27 -03:00
Rekai Nyangadzayi Musuka
a1008738d2
chore: run zigfmt
2022-04-08 02:13:58 -03:00
Rekai Nyangadzayi Musuka
04d54ec97a
chore: move DMA and Timers from io to bus
2022-03-15 08:25:26 -03:00
Rekai Nyangadzayi Musuka
48679fa4ca
fix: move code in scheduler to ppu
2022-03-15 08:09:07 -03:00
Rekai Nyangadzayi Musuka
4a76611fca
feat: implement Timers
2022-03-13 05:35:01 -03:00
Rekai Nyangadzayi Musuka
85f0b13f4a
feat: improve DMA Transfer support
2022-03-03 02:10:29 -04:00
Rekai Nyangadzayi Musuka
c2cf2d2965
feat: implement Hblank and Vcount Interrupts
...
Also implemented unique behaviour when writing to IF
2022-02-21 14:45:47 -06:00
Rekai Nyangadzayi Musuka
e5a76a3c02
chore: give DISPCNT DISPSTAT and VCOUNT to PPU struct
2022-02-13 04:28:15 -04:00
Rekai Nyangadzayi Musuka
b93bd53529
chore: make use of scoped logging
2022-02-11 01:33:33 -04:00
Rekai Nyangadzayi Musuka
6a6dccf4d8
chore: refactor GBA Display Timings
...
This change should reflect that the Hblank bit of DISPSTAT is toggled on all scanlines
while also ensuring that the Vblank bit is set on all Vblank scanlines
2022-01-28 22:58:19 -04:00
Rekai Nyangadzayi Musuka
6c0651ca08
chore(io): DISPSTAT bits 3 and 4 better match GBATEK documentation
2022-01-10 06:26:42 -04:00
Rekai Nyangadzayi Musuka
0d4c850218
chore: remove premature inlines
2022-01-10 01:24:14 -04:00
Rekai Nyangadzayi Musuka
bbe2ecfa53
chore: add FPS counter
2022-01-10 01:22:55 -04:00
Rekai Nyangadzayi Musuka
c54145ce3c
chore: improve code clarity
2022-01-09 23:34:33 -04:00
Rekai Nyangadzayi Musuka
ead6d1ce49
feat(ppu): improve timings + implement BG mode 3 bitmap
2022-01-09 22:16:34 -04:00
Rekai Nyangadzayi Musuka
568c374131
chore: code cleanup
2022-01-07 20:00:42 -04:00
Rekai Nyangadzayi Musuka
910745f442
chore(bus): refactor bus.zig
2022-01-07 19:49:58 -04:00
Rekai Nyangadzayi Musuka
9f64804763
fix: by convention deinit() should not take pointers to self
2022-01-07 19:16:23 -04:00
Rekai Nyangadzayi Musuka
c6123d8a6d
feat: implement PPU Timings in Scheduler
2022-01-05 21:18:33 -04:00
Rekai Nyangadzayi Musuka
f709458638
feat(sched): add HBlank and VBlank events to the scheduler
2022-01-05 17:34:59 -05:00
Rekai Nyangadzayi Musuka
3aa680ab8c
chore: remove all memory leaks
2022-01-03 20:08:55 -06:00
Rekai Nyangadzayi Musuka
1c42d1795a
feat(bus): add Io Struct
...
Also, add more information to all panic messages
2022-01-02 14:40:49 -06:00
Rekai Nyangadzayi Musuka
01d6399dfb
chore: rename consturctors to fit convention
2022-01-02 13:58:57 -06:00
Rekai Nyangadzayi Musuka
c40a1af534
chore: conform to zig style guides
2022-01-01 21:08:47 -06:00
Rekai Nyangadzayi Musuka
5b3b81e4dc
Initial Commit
2021-12-29 15:09:00 -06:00