40 Commits

Author SHA1 Message Date
bd02f625a5 feat: upgrade to zig v0.15.1
note: emu crashes for unknown reason
2025-10-12 21:03:32 -05:00
0e02d9aaab feat: upgrade to Zig v0.13.0 2024-09-09 02:16:31 -05:00
66192daf6c feat: target Zig v2024.1.0-mach 2024-02-09 01:25:13 -06:00
493d7aeede fix(ui): reset, bios load and rom load are properly thread safe 2023-12-20 11:38:58 -06:00
9183e6850d fix: use a mutex to pause emu thread
still not ideal imo
2023-12-15 04:10:51 -06:00
d097dcc2f5 fix(gui): quit when emu thread exits first 2023-12-15 02:49:40 -06:00
557b90a39f fix: don't insta-crash due to an awful channel impl 2023-11-23 00:50:40 -06:00
d96c9c01ff chore: update to latest builtin syntax 2023-07-10 22:09:48 -05:00
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
e8bc798120 feat(ui): add the option to choose the BIOS 2023-06-19 15:19:43 -05:00
ccdc2cbad4 chore(ui): rewrite channel implementation 2023-05-23 22:48:58 -05:00
a048263fd6 chore: make use of std.atomic.spinLoopHint() 2023-05-23 02:42:35 -05:00
5adbc354d6 feat: replace Gamepak 2023-03-10 02:50:31 -06:00
bd872ee1c0 fix: drop select atomics in favour of a thread-safe channel 2023-03-10 02:02:34 -06:00
d985eac0fc tmp: implement mechanisms for a emu reset fn (currently crashes) 2023-02-23 23:49:56 -06:00
a8fac5f3c6 feat: pause emu when UI reads emu state 2023-02-23 17:27:42 -06:00
49706842af fix: run more than just the CPU when stepping via gdb 2023-02-23 02:40:24 -06:00
518b868249 feat: respond to API changes for software bkpts 2023-02-23 02:40:24 -06:00
755115660b feat: allow gdb writes to certain mem regions 2023-02-23 02:40:24 -06:00
1f3cdd9513 feat: add gdb support to zba 2023-02-23 02:40:24 -06:00
024151a5c1 chore: update to latest zig master 2023-02-22 14:46:46 -06:00
0cec779545 chore: misc style changes 2022-12-28 07:29:07 -06:00
20f611b7b5 chore: be more intentional in atomic ordering use 2022-11-30 00:21:02 -04:00
2ef4bb7dcc revert(apu): switch from f32 44.1kHz to u16 32.768kHz 2022-10-31 05:14:20 -03:00
47fc49deb6 fix(audio): add asserts where I assume audio format 2022-10-30 03:25:49 -03:00
10aec67ee0 emu: implement thread sleep in granular steps 2022-10-28 21:58:55 -03:00
4eb715a138 doc(emu): properly document + simply constants 2022-10-28 21:57:30 -03:00
14b24787ab style: remove unnecessary imports 2022-10-28 21:56:55 -03:00
eb7ffa29f4 fix(apu): pause device on mute instead of writing silence 2022-10-27 09:11:08 -03:00
97f48c730e chore(emu): refactor code 2022-10-13 00:29:51 -03:00
293fbd9f55 feat(config): add support for (and read from) TOML config file 2022-10-13 00:29:48 -03:00
92cfc763c0 chore: move util.zig 2022-09-19 16:07:19 -03:00
e192c6712f chore: disable audio sync by default
forgot SDL2 AudioStream doesn't work well for my use-case
2022-09-18 09:20:01 -03:00
3466bf6c0a chore: change default settings 2022-09-18 06:30:39 -03:00
50adb5fbac feat: add option to force-enable RTC 2022-09-17 20:27:17 -03:00
59c9ff910e feat: implement open bus for unmapped i/o 2022-09-12 23:18:29 -03:00
65cfc97f28 feat: reimplement audio sync
APU will now drop samples if the Audio Queue is already full, therefore
creating a "sped-up" effect when the emulator runs faster than 100%
2022-09-08 20:38:42 -03:00
3c3c0d32dd chore: move window scale const to emu.zig 2022-08-08 11:03:23 +02:00
2c8616f610 feat: reimplement cpu logging 2022-07-27 14:50:28 -03:00
53191b0eeb chore: change directory structure 2022-07-22 21:11:19 -03:00