Rekai Nyangadzayi Musuka
b1827ccea0
Merge pull request 'Add a GUI to ZBA' ( #7 ) from imgui into main
...
Reviewed-on: #7
2023-03-11 03:18:14 +00:00
Rekai Nyangadzayi Musuka
2629d15e2f
feat: don't require path to ROM in CLI
2023-03-10 21:16:06 -06:00
Rekai Nyangadzayi Musuka
c7b62d3202
chore: dynamically update window title on ROM replace
2023-03-10 20:41:49 -06:00
Rekai Nyangadzayi Musuka
85ec9a84c4
chore: add screenshot to README.md
2023-03-10 19:37:28 -06:00
Rekai Nyangadzayi Musuka
5adbc354d6
feat: replace Gamepak
2023-03-10 02:50:31 -06:00
Rekai Nyangadzayi Musuka
f8477714ae
feat: implement resetting
2023-03-10 02:28:03 -06:00
Rekai Nyangadzayi Musuka
bd872ee1c0
fix: drop select atomics in favour of a thread-safe channel
2023-03-10 02:02:34 -06:00
Rekai Nyangadzayi Musuka
11eae091db
chore: introduce zba-util
...
In an effort to reuse code between zba and zba-gdbstub, move common util
code (like the SPSC Channel I implemented in this commit) in a new lib
2023-03-10 00:05:31 -06:00
Rekai Nyangadzayi Musuka
72b702cb21
fix: handle null GBA ROM titles when passing to imgui
2023-03-04 18:02:12 -06:00
Rekai Nyangadzayi Musuka
d985eac0fc
tmp: implement mechanisms for a emu reset fn (currently crashes)
2023-02-23 23:49:56 -06:00
Rekai Nyangadzayi Musuka
3fff4fd742
chore: move imgui-specific code to its own file
2023-02-23 18:25:05 -06:00
Rekai Nyangadzayi Musuka
e90d5a17ba
fix: ensure code builds + works
...
the gdbstub branch got merged into main, rebasing on top of main led to
a bunch of merge conflicts that had to be resolved. Unfortunately some
things got missed, and this commit covers the immediate problems that
the rebase caused
2023-02-23 17:27:42 -06:00
Rekai Nyangadzayi Musuka
54143332ab
chore: update for loop in RingBuffer impl
2023-02-23 17:27:42 -06:00
Rekai Nyangadzayi Musuka
baa3fb7905
chore: update gui libs to latest zig master
2023-02-23 17:27:42 -06:00
Rekai Nyangadzayi Musuka
57c7437f77
chore: add gui deps to README.md
2023-02-23 17:27:42 -06:00
Rekai Nyangadzayi Musuka
eef5a238a0
chore: update nfd-zig
...
respond to build.zig changes in zig master
2023-02-23 17:27:42 -06:00
Rekai Nyangadzayi Musuka
6048458f9b
feat: implement menu bar + add file picker dep
2023-02-23 17:27:42 -06:00
Rekai Nyangadzayi Musuka
ff609c85ba
feat: show game title as imgui screen title
2023-02-23 17:27:42 -06:00
Rekai Nyangadzayi Musuka
3e98f4053a
chore: update zgui
2023-02-23 17:27:42 -06:00
Rekai Nyangadzayi Musuka
1d601dba39
feat: add scheduler ui
2023-02-23 17:27:42 -06:00
Rekai Nyangadzayi Musuka
a8fac5f3c6
feat: pause emu when UI reads emu state
2023-02-23 17:27:42 -06:00
Rekai Nyangadzayi Musuka
ae78588b80
feat: implement ui for register, interrupt
2023-02-23 17:27:42 -06:00
Rekai Nyangadzayi Musuka
fe6fc0e517
feat: add system information window
2023-02-23 17:27:42 -06:00
Rekai Nyangadzayi Musuka
3dcc4cb385
fix: update zgui to work with sdl2 vcpkg package
2023-02-23 17:27:42 -06:00
Rekai Nyangadzayi Musuka
5e94cbfbea
feat: add imgui support using zgui
2023-02-23 17:27:42 -06:00
Rekai Nyangadzayi Musuka
3b13102abb
ci: ensure that submodules are updated recursively
2023-02-23 17:26: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