Commit Graph

657 Commits

Author SHA1 Message Date
Rekai Nyangadzayi Musuka 6de1da7aa0 feat: add scheduler ui 2023-02-23 16:34:22 -06:00
Rekai Nyangadzayi Musuka dac0928d77 feat: pause emu when UI reads emu state 2023-02-23 16:34:21 -06:00
Rekai Nyangadzayi Musuka 51dcc0147a feat: implement ui for register, interrupt 2023-02-23 16:33:05 -06:00
Rekai Nyangadzayi Musuka 5f4f2f50a0 feat: add system information window 2023-02-23 16:33:03 -06:00
Rekai Nyangadzayi Musuka 9fe871c30c fix: update zgui to work with sdl2 vcpkg package 2023-02-23 16:31:02 -06:00
Rekai Nyangadzayi Musuka 7f533210f7 feat: add imgui support using zgui 2023-02-23 16:30:59 -06:00
Rekai Nyangadzayi Musuka 7234ecab37 Merge pull request 'Implement a GDBSTUB Server' (#6) from gdbstub into main
Reviewed-on: #6
2023-02-23 22:18:26 +00:00
Rekai Nyangadzayi Musuka ddf4599162 chore: update dependencies 2023-02-23 02:45:59 -06:00
Rekai Nyangadzayi Musuka 01f5410180 feat: allow gui and gdbstub to run in parallel 2023-02-23 02:40:24 -06:00
Rekai Nyangadzayi Musuka 49706842af fix: run more than just the CPU when stepping via gdb 2023-02-23 02:40:24 -06:00
Rekai Nyangadzayi Musuka 2798a90d83 chore: update zba-gdbstub to zig master 2023-02-23 02:40:24 -06:00
Rekai Nyangadzayi Musuka 518b868249 feat: respond to API changes for software bkpts 2023-02-23 02:40:24 -06:00
Rekai Nyangadzayi Musuka 755115660b feat: allow gdb writes to certain mem regions 2023-02-23 02:40:24 -06:00
Rekai Nyangadzayi Musuka 6709f8c551 chore: update gdbstub lib 2023-02-23 02:40:24 -06:00
Rekai Nyangadzayi Musuka 1f3cdd9513 feat: add gdb support to zba 2023-02-23 02:40:24 -06:00
Rekai Nyangadzayi Musuka 65af6aa499 feat: add gdbstub library 2023-02-23 02:40:23 -06:00
Rekai Nyangadzayi Musuka 024151a5c1 chore: update to latest zig master 2023-02-22 14:46:46 -06:00
Rekai Nyangadzayi Musuka e380af7056 chore: use a more efficient decimal->bcd algorithm
This will not improve perf in any way because this code only gets run
one time a second orz
2023-02-21 23:22:42 -06:00
Rekai Nyangadzayi Musuka e654abfd1d ci: don't assume any cpu features 2023-02-18 23:52:51 -06:00
Rekai Nyangadzayi Musuka 3510a6cff8 chore: drop macOS support
CI is currently broken and I don't have the $$$ for macOS
2023-02-18 23:34:59 -06:00
Rekai Nyangadzayi Musuka 3fb351e762 chore: update SDL.zig 2023-02-17 00:05:42 -06:00
Rekai Nyangadzayi Musuka a11b96b84e chore: update minimum zig version 2023-02-07 17:52:16 -06:00
Rekai Nyangadzayi Musuka c3be1c0a67 chore: update to latest zig build system
I feel like I'm misusing addAnonymousModule
2023-02-07 16:00:06 -06:00
Rekai Nyangadzayi Musuka fdf7399e52 chore: update README.md 2023-02-04 19:30:05 -06:00
Rekai Nyangadzayi Musuka ed8155139a chore: update CI 2023-02-04 18:22:50 -06:00
Rekai Nyangadzayi Musuka 8112b1aab2 chore: update zig to latest master 2023-02-04 18:15:10 -06:00
Rekai Nyangadzayi Musuka c0e583d20d fix: resolve off-by-one error in `str` addr when r15 is involved
I seem to have made up this rule (I was thinking about when r15 was
a source register). `rn` is the destination register.... whoops
2023-01-29 08:58:41 -06:00
Rekai Nyangadzayi Musuka 3f72367aaf chore: remove .vscode folder 2023-01-21 19:01:44 -06:00
Rekai Nyangadzayi Musuka c27f487bf0 chore: update dependencies 2023-01-16 02:57:50 -06:00
Rekai Nyangadzayi Musuka ae3bb94036 fix(ppu): draw file select sprites in amazing mirror 2023-01-08 01:36:58 -06:00
Rekai Nyangadzayi Musuka ddc54e2977 fix: ignore missing opengl proc addresses
is this really a fix? the error never happens with mach-glfw
2023-01-01 15:56:18 -06:00
Rekai Nyangadzayi Musuka ed49d7c460 chore: update lib/gl.zig 2023-01-01 13:41:53 -06:00
Rekai Nyangadzayi Musuka 59baa14bde Merge branch 'main' of ssh://musuka.dev:2222/paoda/zba 2022-12-30 19:47:24 -06:00
Rekai Nyangadzayi Musuka 6bf1c44961 chore: refactor sprite rendering code 2022-12-30 19:47:01 -06:00
Rekai Nyangadzayi Musuka 94702b9b51 chore: update min zig version 2022-12-28 16:26:51 -06:00
Rekai Nyangadzayi Musuka 0f148507e4 fix: respond to `@addWithOverflow` changes in latest zig 2022-12-28 15:20:44 -06:00
Rekai Nyangadzayi Musuka 0cec779545 chore: misc style changes 2022-12-28 07:29:07 -06:00
Rekai Nyangadzayi Musuka 1ecbbc7d29 chore: cleanup BIOS struct init code 2022-12-27 06:42:06 -06:00
Rekai Nyangadzayi Musuka caaa60d1a8 fix: rotate unaligned reads on BIOS open-bus 2022-12-27 06:25:12 -06:00
Rekai Nyangadzayi Musuka 39d50466c9 chore: update min zig version 2022-12-22 13:21:59 -06:00
Rekai Nyangadzayi Musuka 5a452d85c1 feat: update dependencies 2022-12-21 00:24:55 -06:00
Rekai Nyangadzayi Musuka 4326ae7a0a fix: resolve broken affine bg in mario kart 2022-12-18 08:59:19 -04:00
Rekai Nyangadzayi Musuka 905c4448d0 feat: kind-of account for 1/4th of obj mode 2022-12-18 08:35:14 -04:00
Rekai Nyangadzayi Musuka 0de44835e5 fix: properly implement black/white blending for sprites
There's unique rules to handle for BLDY w/r/t sprites, I didn't know
about them (shown in bld_demo.gba). I'm sure I haven't ironed out every
rule but bld_demo.gba now *actually* passes
2022-12-18 07:44:01 -04:00
Rekai Nyangadzayi Musuka 5aac04faf5 tmp: disable buggy window emulation
I'd like to merge my affine sprite impl into main, which will require
merging a lot of the rewrites I did in this branch. My plan is to
merge the buggy ppu window impl to main, but keep it disabled.

This is technically a regression but the current impl barely worked
anyways so....
2022-12-17 09:58:15 -04:00
Rekai Nyangadzayi Musuka f98a1700e0 feat: implement affine sprites 2022-12-17 09:47:10 -04:00
Rekai Nyangadzayi Musuka acdb270793 chore: reimplement alpha blending 2022-12-16 22:16:37 -04:00
Rekai Nyangadzayi Musuka 4ceed382ed chore(ppu): use @ptrCast in drawTextMode 2022-12-16 22:16:37 -04:00
Rekai Nyangadzayi Musuka 52ce4f3d20 chore(ppu): reimplement modes 3, 4, and 5 2022-12-16 22:16:37 -04:00
Rekai Nyangadzayi Musuka c1c8cac6e4 style(ppu): move text mode drawing to unique fn 2022-12-16 22:16:37 -04:00