Rekai Nyangadzayi Musuka
ccdc2cbad4
chore(ui): rewrite channel implementation
2023-05-23 22:48:58 -05:00
Rekai Nyangadzayi Musuka
21295b8d03
feat(ui): implement pausing
2023-05-23 01:39:06 -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
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
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
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
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
ff609c85ba
feat: show game title as imgui screen title
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
01f5410180
feat: allow gui and gdbstub to run in parallel
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
1f3cdd9513
feat: add gdb support to zba
2023-02-23 02:40:24 -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
c3f67e38a1
chore: exit early on shader compile failure
2022-11-29 22:25:04 -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
d859cee365
style: get rid of unnecessary type coersion
2022-10-29 00:06:08 -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
b133880064
chore(main): report errors slightly better
2022-10-17 18:30:40 -03:00
Rekai Nyangadzayi Musuka
fc53a40b3c
feat(config): add option to skip BIOS
2022-10-17 17:31:07 -03:00
Rekai Nyangadzayi Musuka
7097e21361
feat(cli): Add option to skip BIOS
2022-10-17 17:25:04 -03:00
Rekai Nyangadzayi Musuka
7b146ad7ca
fix(bios): set addr_latch even if bios is skipped
2022-10-13 00:35:22 -03:00
Rekai Nyangadzayi Musuka
293fbd9f55
feat(config): add support for (and read from) TOML config file
2022-10-13 00:29:48 -03:00
Rekai Nyangadzayi Musuka
622f479e07
feat: parse config.toml in data folder
...
Also took the chance to rework parts of the logic that determines
ZBA's save path
2022-10-13 00:27:18 -03:00
Rekai Nyangadzayi Musuka
92cfc763c0
chore: move util.zig
2022-09-19 16:07:19 -03:00
Rekai Nyangadzayi Musuka
9a8aaba1ab
chore: improve util and Gui API
2022-09-18 05:55:15 -03:00
Rekai Nyangadzayi Musuka
59669ba3a5
chore: rename arm7tdmi variables to just cpu
...
Less verbose, specifying arm7tdmi doesn't really do much when there's
no other CPU in the system
2022-09-03 17:56:37 -03:00
Rekai Nyangadzayi Musuka
5f8c6833f4
chore: improve init/deinit methods
2022-08-29 01:07:25 -05:00
Rekai Nyangadzayi Musuka
2c8616f610
feat: reimplement cpu logging
2022-07-27 14:50:28 -03:00
Rekai Nyangadzayi Musuka
53eec5c3ff
chore: don't init bus in Arm7tdmi init
2022-07-27 13:44:24 -03:00
Rekai Nyangadzayi Musuka
53191b0eeb
chore: change directory structure
2022-07-22 21:11:19 -03:00
Rekai Nyangadzayi Musuka
03ded099d2
chore: move audio sync, video sync variables
2022-07-21 11:05:49 -03:00
Rekai Nyangadzayi Musuka
db08edbdb9
chore: attempt to debug Rhythm Heaven
2022-06-16 00:03:51 -03:00
Rekai Nyangadzayi Musuka
7ff5f3b8e7
chore: remove code that pretends to remove DC offset
2022-06-04 09:47:58 -03:00
Rekai Nyangadzayi Musuka
c007bf4d8e
fix: remove DC offset from audio output
2022-05-26 17:10:10 -03:00
Rekai Nyangadzayi Musuka
697ec46cf1
chore: add debug keybinds for scheduler capacity + event count
2022-05-25 15:13:57 -03:00
Rekai Nyangadzayi Musuka
f130d1991c
chore: cleanup main
2022-05-23 12:50:01 -03:00
Rekai Nyangadzayi Musuka
e70fe73899
chore: redo apu sampling
2022-05-23 11:25:28 -03:00
Rekai Nyangadzayi Musuka
8dddb865cc
fix: resolve out-of-bounds error with 8bpp tall / horizontal sprites
...
Boot ROM is now enabled by default as well
2022-05-17 12:16:30 -03:00
Rekai Nyangadzayi Musuka
a667269d26
chore: reintroduce thread sleeping + simplify fps counter
2022-05-17 08:55:23 -03:00
Rekai Nyangadzayi Musuka
daf977ef06
feat: implement double buffering
2022-05-17 06:53:37 -03:00
Rekai Nyangadzayi Musuka
68012f84d3
chore: comment ARM MSR code + Audio issues
2022-04-30 22:17:34 -05:00
Rekai Nyangadzayi Musuka
f2f4bb205a
chore: misc print message improvements
2022-04-29 12:41:05 -05:00
Rekai Nyangadzayi Musuka
a87b46898b
chore: special case saving for ROMS without titles
2022-04-27 18:08:44 -05:00
Rekai Nyangadzayi Musuka
81db06d2fc
chore: change default window scale to 4x
2022-04-24 08:33:28 -04:00
Rekai Nyangadzayi Musuka
762494453f
chore: only sync to audio for now
2022-04-22 20:56:52 -03:00
Rekai Nyangadzayi Musuka
e3553bcbd6
feat: panic on unimplemented I/O in ReleaseSafe/Debug but not ReleaseFast
2022-04-22 20:56:52 -03:00
Rekai Nyangadzayi Musuka
9cce4d9859
chore: misc improvements
2022-04-21 10:15:52 -03:00