Commit Graph

695 Commits

Author SHA1 Message Date
Rekai Nyangadzayi Musuka bf95eee3f1 fix(apu): resolve bug in NR10 obscure behaviour 2022-12-05 11:08:04 -04:00
Rekai Nyangadzayi Musuka 240fbcb1df chore: update dependencies 2022-12-01 13:23:09 -04:00
Rekai Nyangadzayi Musuka 26db340077 fix(input): implement atomic for KeyInput 2022-11-30 00:42:20 -04:00
Rekai Nyangadzayi Musuka 20f611b7b5 chore: be more intentional in atomic ordering use 2022-11-30 00:21:02 -04:00
Rekai Nyangadzayi Musuka f9aefedf60 chore: cal glDeleteTextures on program exit 2022-11-29 23:35:13 -04:00
Rekai Nyangadzayi Musuka d7e3d34726 fix(platform): ensure that title char* is null terminated 2022-11-29 23:21:57 -04:00
Rekai Nyangadzayi Musuka 2294dc8832 chore: add minimum zig version 2022-11-29 23:10:29 -04:00
Rekai Nyangadzayi Musuka 4af86e1cb3 style: replace meta.Tuple calls with new tuple syntax 2022-11-29 23:01:06 -04:00
Rekai Nyangadzayi Musuka 9fcbbe7d57 chore: cleanup OpenGL vertex array + buffers 2022-11-29 22:53:37 -04:00
Rekai Nyangadzayi Musuka c3f67e38a1 chore: exit early on shader compile failure 2022-11-29 22:25:04 -04:00
Rekai Nyangadzayi Musuka 46e29245b7 fix(apu): disable APU writes when APU is disabled 2022-11-26 12:20:42 -04:00
Rekai Nyangadzayi Musuka 002e33b48b fix: properly render table in README 2022-11-24 08:22:58 -04:00
Rekai Nyangadzayi Musuka 5bb25fe214 chore: update dependencies 2022-11-23 21:57:53 -04:00
Rekai Nyangadzayi Musuka 66db2e6049 Revert "chore: refactor flash impl"
This reverts commit 96a9ae2ca5.
2022-11-20 21:46:40 -04:00
Rekai Nyangadzayi Musuka c5cf471912 fix(timer): removing cascade when TIM aleady enabled shouldn't reset counter 2022-11-20 19:13:49 -04:00
Rekai Nyangadzayi Musuka 4ed4f8e143 fix(dma): implement obscure behaviour for DMAs from ROM 2022-11-20 17:49:26 -04:00
Rekai Nyangadzayi Musuka f31699d921 fix(log): logged improper second opcode for THUMB BL 2022-11-20 15:36:40 -04:00
Rekai Nyangadzayi Musuka 96a9ae2ca5 chore: refactor flash impl 2022-11-17 10:47:19 -04:00
Rekai Nyangadzayi Musuka ee1c0bb313 chore: update README 2022-11-16 10:55:33 -04:00
Rekai Nyangadzayi Musuka 558c03b12b style: changes to cpu.zig 2022-11-16 10:21:40 -04:00
Rekai Nyangadzayi Musuka 7d8fbbb086 fix(bus): resolve off-by-one error 2022-11-14 01:59:43 -04:00
Rekai Nyangadzayi Musuka 9fd405a896 chore(ci): update CI dependency 2022-11-11 13:25:56 -04:00
Rekai Nyangadzayi Musuka 5d7cf3a8a2 chore: remove util fn for stdlib equivalent 2022-11-11 13:02:51 -04:00
Rekai Nyangadzayi Musuka 1230aa1e91 fix(cpu): remove miscompilation workaround 2022-11-11 03:56:49 -04:00
Rekai Nyangadzayi Musuka accecb3350 chore(ci): rename CI workflow 2022-11-10 11:58:47 -04:00
Rekai Nyangadzayi Musuka 1e0ade8f55 chore: update depdendencies 2022-11-07 00:54:35 -04:00
Rekai Nyangadzayi Musuka 429676ad43 feat(config): write config.toml to config dir, not data dir 2022-11-03 09:45:57 -03:00
Rekai Nyangadzayi Musuka ef39d9a7b8 chore(ci): only run for .zig files, name workflow
Also enabled workflow dispatch
2022-11-03 08:56:14 -03:00
Rekai Nyangadzayi Musuka 986bc9448e fix(bus): account for read_table being the first table when freeing 2022-11-03 07:50:12 -03:00
Rekai Nyangadzayi Musuka d34893ba72 fix(bus): fix confusion about which fastmem write table is for which write type 2022-11-02 08:21:59 -03:00
Rekai Nyangadzayi Musuka b8a5fb95c1 fix(io): account for read-only bit in WAITCNT 2022-11-02 08:06:19 -03:00
Rekai Nyangadzayi Musuka 102b2c946b fix(io): respect read-only bits in DISPSTAT
Superstar Saga now renders correctly
2022-11-02 07:54:06 -03:00
Rekai Nyangadzayi Musuka 505b1b9608 fix(bus): resolve simple oversights 2022-11-01 09:00:25 -03:00
Rekai Nyangadzayi Musuka 2851c140ea fix(cpu): use LUT for ARM condition codes 2022-11-01 08:29:42 -03:00
Rekai Nyangadzayi Musuka 637d81ce44 chore(bus): only perform one allocation for fastmem tables 2022-11-01 07:04:42 -03:00
Rekai Nyangadzayi Musuka bc52461f0f fix(bus): replace write table with two tables for u32/u8 and u8 writes 2022-11-01 07:00:07 -03:00
Rekai Nyangadzayi Musuka c395c04a6e feat(bus): implement fastmem
+100 fps in Pokemon Emerald lol
2022-11-01 06:18:12 -03:00
Rekai Nyangadzayi Musuka 9eb4f8f191 chore: reccomend stable Zig v0.10.0 2022-11-01 01:01:48 -03:00
Rekai Nyangadzayi Musuka f774256c42 chore: update README.md 2022-10-31 09:14:42 -03:00
Rekai Nyangadzayi Musuka 5c15d039e1 chore(ci): update actions/checkout to v3
supresses deprecation warning for node12
2022-10-31 08:16:45 -03:00
Rekai Nyangadzayi Musuka 28e9342c25 ci: add github actions config file 2022-10-31 08:04:21 -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