Rekai Nyangadzayi Musuka
434a0dfac9
tmp: incomplete impl of GPIO + RTC
2022-09-16 02:10:41 -03:00
Rekai Nyangadzayi Musuka
4ec8dab460
chore: Guilty Gear X expects these I/O Registers
2022-09-14 11:38:26 -03:00
Rekai Nyangadzayi Musuka
59c9ff910e
feat: implement open bus for unmapped i/o
2022-09-12 23:18:29 -03:00
Rekai Nyangadzayi Musuka
0027d3f8a3
chore: comment open bus impl
2022-09-11 07:38:55 -03:00
Rekai Nyangadzayi Musuka
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
Rekai Nyangadzayi Musuka
fa862f095a
chore: move arm/thumb lut idx functions
2022-09-06 23:58:24 -03:00
Rekai Nyangadzayi Musuka
3fb7f2f814
chore: better conform to zig idioms
2022-09-03 18:30:48 -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
6a798d2c9d
chore: allocate sprite array on heap
...
Each Sprite optional is 10 bytes meaning I'm allocating 1.28Kb on the
stack which isn't necessary.
2022-08-29 01:07:25 -05:00
Rekai Nyangadzayi Musuka
5f8c6833f4
chore: improve init/deinit methods
2022-08-29 01:07:25 -05:00
Rekai Nyangadzayi Musuka
aa52bb5917
chore: reorganize some code
2022-08-26 14:13:49 -05:00
Rekai Nyangadzayi Musuka
e57f918856
chore: pass the allocator as an argument more often
...
As of right now, I think the only cases where I shouldn't explicitly pass an allocator
are in read/write functions and deinits
2022-08-26 13:54:38 -05:00
Rekai Nyangadzayi Musuka
e5b7441740
fix: resolve use-afer-free in backup.zig
...
This worked fine on stage1, and works fine in debug in stage3.
However, stage3 ReleaseSafe would panic due to what I assume must
have been an undefined behaviour optimization.
While I'm happy that I was quickly made aware of the issue thanks to
the safety checks in ReleaseSafe I do wish that this issue showed itself
in Debug, since I *am* using the GPA
2022-08-26 13:04:09 -05:00
Rekai Nyangadzayi Musuka
2ab8769b7a
feat: Get ZBA working on Zig's new stage2/stage3 compiler
2022-08-21 12:28:31 -05:00
Rekai Nyangadzayi Musuka
3c3c0d32dd
chore: move window scale const to emu.zig
2022-08-08 11:03:23 +02:00
Rekai Nyangadzayi Musuka
739db99c83
fix: reimpl debug reads w/out throwing away *const Self
2022-08-07 05:11:29 -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
c397b7069d
feat: move arm instr decoding to module
2022-07-27 13:23:29 -03:00
Rekai Nyangadzayi Musuka
9d037fdc3e
feat: move thumb instr decoding to module
2022-07-27 13:10:58 -03:00
Rekai Nyangadzayi Musuka
53191b0eeb
chore: change directory structure
2022-07-22 21:11:19 -03:00