Rekai Nyangadzayi Musuka
|
c96dc55a05
|
chore: add ci config
|
2022-10-31 06:42:43 -03:00 |
Rekai Nyangadzayi Musuka
|
af8ec4db5b
|
chore: go through TODOs and FIXMEs
mainly deleting / rewording those that no longer apply
|
2022-10-31 06:17:09 -03:00 |
Rekai Nyangadzayi Musuka
|
5d47e5d167
|
fix(io): force-align all i/o reads
Of course, backups being the exception due to flash or sram quirks,
I don't remember lol
|
2022-10-31 05:50:27 -03:00 |
Rekai Nyangadzayi Musuka
|
5101fbd809
|
feat(io): pass all suite.gba i/o read tests
|
2022-10-31 05:22:11 -03:00 |
Rekai Nyangadzayi Musuka
|
472457b9f3
|
chore: make use of comptime control flow when working with tuples
|
2022-10-31 05:14:20 -03:00 |
Rekai Nyangadzayi Musuka
|
2ef4bb7dcc
|
revert(apu): switch from f32 44.1kHz to u16 32.768kHz
|
2022-10-31 05:14:20 -03:00 |
Rekai Nyangadzayi Musuka
|
9a732ea6f8
|
chore(i/o): ensure interrupt i/o exists
|
2022-10-31 05:14:20 -03:00 |
Rekai Nyangadzayi Musuka
|
f80799a593
|
fix(util): resolve bug in setHalf function
introduced in 472215b4c2
|
2022-10-30 04:12:58 -03:00 |
Rekai Nyangadzayi Musuka
|
ca67ca3183
|
fix(apu): only enable dma sound fifo after manual write
|
2022-10-30 03:48:12 -03:00 |
Rekai Nyangadzayi Musuka
|
47fc49deb6
|
fix(audio): add asserts where I assume audio format
|
2022-10-30 03:25:49 -03:00 |
Rekai Nyangadzayi Musuka
|
472215b4c2
|
feat(ppu): implement all i/o writes
|
2022-10-30 03:11:04 -03:00 |
Rekai Nyangadzayi Musuka
|
c9a423d094
|
fix(ppu): resolve mistakes in ppu i/o reads
|
2022-10-30 02:15:26 -03:00 |
Rekai Nyangadzayi Musuka
|
1d163fa56f
|
feat(apu): implement all apu i/o writes
|
2022-10-30 02:02:23 -03:00 |
Rekai Nyangadzayi Musuka
|
13710a3236
|
feat(timer): implement all timer i/o writes
|
2022-10-30 01:18:46 -03:00 |
Rekai Nyangadzayi Musuka
|
6154585e77
|
feat(dma): implement all dma i/o writes
|
2022-10-30 01:04:22 -03:00 |
Rekai Nyangadzayi Musuka
|
7debdc490d
|
fix(io): resovle off-by-one errors in i/o register ranges
|
2022-10-29 05:23:05 -03:00 |
Rekai Nyangadzayi Musuka
|
58375795bf
|
fix(ppu): apply proper masks to ppu i/o
Refactor Window, and bldcnt, bldalpha, bldy
|
2022-10-29 05:18:53 -03:00 |
Rekai Nyangadzayi Musuka
|
f0dca29836
|
fix(dma): apply proper masks to dma i/o
|
2022-10-29 04:53:21 -03:00 |
Rekai Nyangadzayi Musuka
|
c75682dbd4
|
fix(apu): some invalid i/o registers should read 0x0000
|
2022-10-29 04:29:44 -03:00 |
Rekai Nyangadzayi Musuka
|
36832ba1fb
|
feat(apu): impelement all apu i/o reads
|
2022-10-29 04:24:06 -03:00 |
Rekai Nyangadzayi Musuka
|
647bd83224
|
chore(io): rewrite certain error messages
We can do this now that we know that it won't be because of any
unimplemented feature in some circumstances
|
2022-10-29 02:37:54 -03:00 |
Rekai Nyangadzayi Musuka
|
c831f67d1a
|
feat(timer): implemeant all timer i/o reads
|
2022-10-29 01:37:28 -03:00 |
Rekai Nyangadzayi Musuka
|
268961262d
|
feat(dma): implement all dma i/o reads
|
2022-10-29 01:30:12 -03:00 |
Rekai Nyangadzayi Musuka
|
3e62feacba
|
feat(ppu): implement all ppu i/o reads
|
2022-10-29 01:29:27 -03:00 |
Rekai Nyangadzayi Musuka
|
d859cee365
|
style: get rid of unnecessary type coersion
|
2022-10-29 00:06:08 -03:00 |
Rekai Nyangadzayi Musuka
|
371cf4cc12
|
style(i/o, ppu): refactor ppu i/o
|
2022-10-28 23:45:54 -03:00 |
Rekai Nyangadzayi Musuka
|
10aec67ee0
|
emu: implement thread sleep in granular steps
|
2022-10-28 21:58:55 -03:00 |
Rekai Nyangadzayi Musuka
|
4eb715a138
|
doc(emu): properly document + simply constants
|
2022-10-28 21:57:30 -03:00 |
Rekai Nyangadzayi Musuka
|
14b24787ab
|
style: remove unnecessary imports
|
2022-10-28 21:56:55 -03:00 |
Rekai Nyangadzayi Musuka
|
eb7ffa29f4
|
fix(apu): pause device on mute instead of writing silence
|
2022-10-27 09:11:08 -03:00 |
Rekai Nyangadzayi Musuka
|
4b8ed3cebb
|
fix(io): resolve embarrasingly simple regression
introduced in 21eddac31e
|
2022-10-23 04:39:31 -03:00 |
Rekai Nyangadzayi Musuka
|
928ce674d9
|
fix(cpu): fix obscure LDRSH behaviour
|
2022-10-22 22:12:41 -03:00 |
Rekai Nyangadzayi Musuka
|
945dbec013
|
fix(open-bus): don't rotate result
Rotating misaligned reads is the responsibility of the CPU
|
2022-10-22 21:32:36 -03:00 |
Rekai Nyangadzayi Musuka
|
dd98066a34
|
Merge pull request 'feat(dma): Implement DMA Latch' (#5) from dma-latch into main
Reviewed-on: #5
|
2022-10-22 23:53:21 +00:00 |
Rekai Nyangadzayi Musuka
|
a2868dfe9e
|
feat(dma): Implement DMA Latch
|
2022-10-22 20:52:02 -03:00 |
Rekai Nyangadzayi Musuka
|
22979d9450
|
fix(bios): fix regression
was reading addr_latch + 8, which is a remnant from when I was faking
the pipeline
|
2022-10-22 15:33:36 -03:00 |
Rekai Nyangadzayi Musuka
|
712c58391d
|
chore(config): change defaults in config.toml
|
2022-10-21 06:01:22 -03:00 |
Rekai Nyangadzayi Musuka
|
407774d798
|
chore(gitignore): update .gitignore
|
2022-10-21 04:40:55 -03:00 |
Rekai Nyangadzayi Musuka
|
16f8f4c953
|
feat: write default config.toml if it doesn't exist
also resolves panic on missing /zba or /zba/save directory by ensuring
those directories exist as soon as we know the data directory
|
2022-10-21 04:39:16 -03:00 |
Rekai Nyangadzayi Musuka
|
143ffd95f7
|
chore: update README
|
2022-10-21 02:59:43 -03:00 |
Rekai Nyangadzayi Musuka
|
250ff25ed7
|
Merge pull request 'Configure SDL2 to use OpenGL' (#4) from opengl into main
Reviewed-on: #4
|
2022-10-20 01:41:50 +00:00 |
Rekai Nyangadzayi Musuka
|
eff52ac1bb
|
fix(opengl): properly control whether vsync is enabled
|
2022-10-17 20:31:42 -03:00 |
Rekai Nyangadzayi Musuka
|
e60b556f72
|
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-17 20:31:42 -03:00 |
Rekai Nyangadzayi Musuka
|
3a3e6acc6a
|
chore: replace OpenGL 4.5 bindings with OpenGL 3.3
|
2022-10-17 20:31:42 -03:00 |
Rekai Nyangadzayi Musuka
|
4b4bc7f894
|
chore: remove unnecessary ptr cast
|
2022-10-17 20:31:42 -03:00 |
Rekai Nyangadzayi Musuka
|
325208d460
|
feat: implement better Colour Emulation
|
2022-10-17 20:31:42 -03:00 |
Rekai Nyangadzayi Musuka
|
f44a1a49fd
|
fix: lower required OpenGL version + resolve offset bug
|
2022-10-17 20:31:42 -03:00 |
Rekai Nyangadzayi Musuka
|
1575f517a9
|
feat: use opengl
TODO:
- Texture isn't scaling properly
- I need to reverse the colours in the frag shader
|
2022-10-17 20:31:42 -03:00 |
Rekai Nyangadzayi Musuka
|
26dba16789
|
chore(gpio): add missing errdefer
|
2022-10-17 20:01:50 -03:00 |
Rekai Nyangadzayi Musuka
|
b133880064
|
chore(main): report errors slightly better
|
2022-10-17 18:30:40 -03:00 |