Rekai Nyangadzayi Musuka
954fb279ad
chore: move cpu implementation to it's own module
...
There's a decent amount of Hacks and TODO:s that need revisiting
I should spend a bit of time cleaning up code 😔
2023-06-25 18:56:56 -05:00
Rekai Nyangadzayi Musuka
5b6650ef34
chore: update README.md
2023-06-21 18:30:19 -05:00
Rekai Nyangadzayi Musuka
10215d4e99
chore(config): switch toml library
...
TODO: find a lib that can serialize Zig structs to TOML
2023-06-21 17:59:59 -05:00
Rekai Nyangadzayi Musuka
e8bc798120
feat(ui): add the option to choose the BIOS
2023-06-19 15:19:43 -05:00
Rekai Nyangadzayi Musuka
44818a4d5b
chore(ci): ensured shared libraries are uploaded w/ executable
2023-06-19 13:04:22 -05:00
Rekai Nyangadzayi Musuka
07d85628ac
chore(ci): try to enable macOS in CI
2023-06-19 12:34:38 -05:00
Rekai Nyangadzayi Musuka
a8cd510da6
chore: update depdendencies
...
ZBA now specifically targets Zig v0.11.0-dev.3395+1e7dcaa3a
2023-06-19 12:34:38 -05:00
Rekai Nyangadzayi Musuka
3040a9f45c
fix: update to Zig v0.11.0-dev.3299+34865d693
2023-05-25 15:44:39 -05:00
Rekai Nyangadzayi Musuka
ccdc2cbad4
chore(ui): rewrite channel implementation
2023-05-23 22:48:58 -05:00
Rekai Nyangadzayi Musuka
16c3eceffd
fix(config): reimplement muting
2023-05-23 17:26:46 -05:00
Rekai Nyangadzayi Musuka
8f5a0cab9c
fix(ui): write silence to audio when emu is paused
2023-05-23 17:05:54 -05:00
Rekai Nyangadzayi Musuka
79514b0cd0
fix(input): make use of atomic rmw intrinsics when handling input
2023-05-23 03:07:05 -05:00
Rekai Nyangadzayi Musuka
a048263fd6
chore: make use of std.atomic.spinLoopHint()
2023-05-23 02:42:35 -05:00
Rekai Nyangadzayi Musuka
d9e09a9cbe
fix(ui): remove flickering on ui pause/timeout
2023-05-23 02:24:11 -05:00
Rekai Nyangadzayi Musuka
2b9a479b96
feat(ui): add timeout for gui spinloop
2023-05-23 02:23:50 -05:00
Rekai Nyangadzayi Musuka
21295b8d03
feat(ui): implement pausing
2023-05-23 01:39:06 -05:00
Rekai Nyangadzayi Musuka
89671f767e
chore: update dependencies
2023-05-21 11:30:59 -05:00
Rekai Nyangadzayi Musuka
a92598d17d
feat(platform): implement OS window resizing
2023-05-12 01:47:15 -05:00
Rekai Nyangadzayi Musuka
c677957725
chore: update min ver. to v0.11.0-dev.2934+1b432072b
2023-05-02 00:09:46 -05:00
Rekai Nyangadzayi Musuka
a5e636d9c5
chore(gui): namespace the majority of interactions w/ OpenGL
2023-04-25 00:32:03 -05:00
Rekai Nyangadzayi Musuka
f6527da948
fix: respond to change in GeneralPurposeAllocator's deinit fn signature
2023-04-24 21:50:49 -05:00
Rekai Nyangadzayi Musuka
53fb1d163b
fix(cpu): respond to latest changes to comptime semantics
2023-04-13 22:14:47 -05:00
Rekai Nyangadzayi Musuka
df005d7fb6
chore(build): update to latest zig changes
2023-04-13 22:14:31 -05:00
Rekai Nyangadzayi Musuka
3c619df3dc
fix(imgui): handle valid ROM titles which happen to be empty
2023-04-06 03:08:07 -05:00
Rekai Nyangadzayi Musuka
13f5e7a480
feat(gui): add palette viewer
2023-04-05 01:18:36 -05:00
Rekai Nyangadzayi Musuka
8519187d9b
chore(gui): add ability to close imgui windows
...
also list dependencies (TODO: add hyperlinks)
2023-04-04 21:11:08 -05:00
Rekai Nyangadzayi Musuka
a66428f24e
chore: update dependencies
2023-04-02 21:05:45 -05:00
Rekai Nyangadzayi Musuka
1d8b21d6b4
fix: reimplement grabbing ROM title if provided via cmd arg
2023-03-27 16:22:07 -05:00
Rekai Nyangadzayi Musuka
b879c76510
chore: update zgui
2023-03-26 23:23:34 -05:00
Rekai Nyangadzayi Musuka
0dbba2fb9a
chore: update to 0.11.0-dev.2168+322ace70f
2023-03-26 23:23:34 -05:00
Rekai Nyangadzayi Musuka
49b0620c48
style(imgui): use orelse instead of if () ||
2023-03-17 11:34:38 -05:00
Rekai Nyangadzayi Musuka
a6a9e3ac72
chore(imgui): change size of histogram
2023-03-17 11:26:14 -05:00
Rekai Nyangadzayi Musuka
aeefff86f8
chore: update dependencies
2023-03-16 00:27:08 -05:00
Rekai Nyangadzayi Musuka
91aa98eef7
chore: copy array instead of calling memcpy
2023-03-11 00:30:34 -06:00
Rekai Nyangadzayi Musuka
f3b6c4f3fe
Merge branch 'ci-suffering'
2023-03-11 00:29:56 -06:00
Rekai Nyangadzayi Musuka
5aa5ac2a8b
ci: update github actions config
2023-03-11 00:09:14 -06:00
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