3b3eb52c48
feat: impl WININ, WINOUT, WIN{N}H and WIN{N}V
2022-06-29 14:56:48 -03:00
02534c5c19
feat: implement background alpha blending
2022-06-19 22:10:56 -03:00
5e4fb7b952
feat: implement BLDCNT, BLDALPHA, BLDY
2022-06-19 01:27:14 -03:00
c9ea80e03b
chore: rename + remove some code
2022-06-18 22:01:17 -03:00
601b0b2aae
feat: handle all I/O when using Cult-Of-GBA BIOS
2022-06-18 17:50:11 -03:00
3becd790cf
chore: 32-bit reads for PSG audio
2022-06-18 17:35:52 -03:00
cc8c1c1e21
fix: implement register reads for Yoshi's Island
2022-06-16 02:32:31 -03:00
35dba63b94
fix: impl BG?{X,Y} RefPoint write behaviour outside of Vblank
...
With this fix Mode 7-like games now properly render their backgrounds
2022-06-15 01:34:34 -03:00
7441af9582
chore: mess with debug statements + mask APU I/O reads
2022-06-15 01:08:43 -03:00
708f64035f
chore: move timer, apu and dma i/o addr matching outside of io.zig
2022-06-15 00:05:36 -03:00
4eb0d469b3
chore: small changes to normal background drawing code
2022-06-04 10:21:03 -03:00
e226a59a2f
chore: stub 8-bit window registers
2022-06-04 09:48:59 -03:00
b6f5517c89
fix: replace affine bg register bitfields with signed integers
2022-06-03 19:26:52 -03:00
a2d2a84850
chore: implement apu u16 reads
2022-05-21 15:09:32 -03:00
c40cc2ba30
feat: stub Affine BG registers
2022-05-18 15:50:40 -03:00
2e821ab79c
chore: improve audio accuracy
2022-05-17 11:28:05 -03:00
d5443d9c2f
chore: contain Timers in a tuple rather than a struct
2022-05-05 20:09:00 -03:00
f0ce39230b
chore: contain DMA Controllers in a tuple rather than a struct
2022-05-05 19:53:12 -03:00
5df023fb41
chore: stub a few I/O registers
2022-05-03 22:41:05 -03:00
46ac1542a6
chore: allow 8-bit IO to BG0CNT and BG1CNT
...
BG0CNT and and BG1CNT now work properly in mario kart
2022-05-01 20:41:00 -03:00
6c88a0aec2
chore: improvements to APU accuracy
2022-04-29 12:19:31 -05:00
f4a48d536c
chore: implement I/O regsister for Minish Cap
2022-04-25 08:01:34 -05:00
1812fb8008
chore: write more debug log messages for unimplemented registers
2022-04-22 22:19:26 -03:00
e3553bcbd6
feat: panic on unimplemented I/O in ReleaseSafe/Debug but not ReleaseFast
2022-04-22 20:56:52 -03:00
9cce4d9859
chore: misc improvements
2022-04-21 10:15:52 -03:00
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
2f07c18f0b
feat: implement ch3
2022-04-21 00:21:55 -03:00
ed3d275974
feat: implement ch2
2022-04-20 21:33:46 -03:00
0184ec3e5e
feat: implement ch1
...
TODO: It's really loud
2022-04-20 20:52:50 -03:00
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
92cabd248b
chore: improve timer behaviour
2022-04-14 01:58:40 -03:00
714209565b
chore: define more I/O read/writes
2022-04-12 00:50:44 -03:00
76b4d56ca6
feat: Initial Implementation of DMA Audio
2022-04-10 04:50:09 -03:00
76789aa8bc
chore: rewrite I/O read/writes
2022-04-08 17:07:36 -03:00
a1008738d2
chore: run zigfmt
2022-04-08 02:13:58 -03:00
bf7b533b3c
chore: stub more apu I/O addresses
2022-03-28 19:40:47 -03:00
04d54ec97a
chore: move DMA and Timers from io to bus
2022-03-15 08:25:26 -03:00
1fd80c1c23
feat: define APU registers
2022-03-15 08:09:07 -03:00
8e3f48837d
chore: organize io switch statements
2022-03-13 07:50:19 -03:00
017ec407f5
chore: don't panic on unknown bus and io writes/reads
...
This will lead to emulation bugs due to devices I've yet to implement but by
doing this a lot of games become playable "by default" such as Doom or
Kirby: Nightmare in Dream Land.
When implementing feature and/or debuggin make sure to set:
panic_on_und_bus and panic_on_und_io to true so that the emu crashes
on unknown reads/writes
2022-03-13 05:39:09 -03:00
4a76611fca
feat: implement Timers
2022-03-13 05:35:01 -03:00
f1df3d6615
chore: clean up io
2022-03-04 22:55:04 -04:00
ddb68a7952
feat: pass beeg yoshi
2022-02-28 18:24:24 -04:00
d6ef53fd67
feat: DMA Transfer MVP
2022-02-28 12:34:00 -06:00
ac0486be1b
chore(io): replace some bitfields with enums
2022-02-24 17:20:23 -06:00
441ebc38c7
fix: better emulate behaviour of IO reads
2022-02-24 17:20:20 -06:00
be2dfb379a
chore: document select unimplmented I/O registers
...
These registers are written to / read from Kirby: Nightmare in Dream Land
2022-02-22 17:14:30 -06:00
c2cf2d2965
feat: implement Hblank and Vcount Interrupts
...
Also implemented unique behaviour when writing to IF
2022-02-21 14:45:47 -06:00
c767e88e8d
chore: improve io.zig
2022-02-19 11:48:17 -05:00
3746cf6025
chore: don't panic on 32-bit I/O
2022-02-19 06:45:39 -04:00