Commit Graph

1223 Commits

Author SHA1 Message Date
scawful
d5e22cc430 include <cstring> for dsp memset 2024-04-24 10:15:17 -04:00
scawful
05df364ecb Remove AudioRam in favor of standard std::vector for spc700/dsp 2024-04-24 10:08:57 -04:00
scawful
bd6fc2e8f1 Play audio in emulator class, update class references from the SNES 2024-04-24 10:08:05 -04:00
scawful
f3cf9ac555 fix spc700::dp addressing program counter bug 2024-04-24 10:06:51 -04:00
scawful
0525782cf5 update spc700::SBCM 2024-04-24 10:06:31 -04:00
scawful
adb9a8df2d Pass audio buffer to emulator directly 2024-04-24 10:05:14 -04:00
scawful
6842c08b3a Update Apu class 2024-04-24 10:04:24 -04:00
scawful
9ecdfd2048 Add Dsp::Reset 2024-04-23 14:06:35 -04:00
scawful
265742f67c Add dma::Reset 2024-04-23 14:02:58 -04:00
scawful
3eb7743dee emu and memory refactoring 2024-04-23 14:01:56 -04:00
scawful
de49d59070 Change callbacks from using this to & for lambda 2024-04-23 14:01:07 -04:00
scawful
528d8fd9a6 Remove SDL_Mixer in favor of core SDL audio device 2024-04-23 11:27:03 -04:00
scawful
136cd2e2d9 Fix Spc700::ReadOpcodeWord 2024-04-22 19:57:50 -04:00
scawful
a2e9813ed6 Update rom and sram init 2024-04-22 19:29:08 -04:00
scawful
1bee044aaf Add Ppu::Reset 2024-04-22 19:28:34 -04:00
scawful
f301976316 Add cpu idling and int checks to instructions, refactor branching 2024-04-22 19:09:00 -04:00
scawful
365811739a Remove unused ppu register structs 2024-04-22 17:12:19 -04:00
scawful
72723f1fd8 Add AdrImp to Cpu addressing 2024-04-22 17:11:07 -04:00
scawful
fd64835d22 Overhaul Cpu, interrupts, cycling, addressing, instructions, etc 2024-04-22 16:59:04 -04:00
scawful
1a4563f9e7 overhaul cleanups 2024-04-22 15:58:39 -04:00
scawful
b4556b56f0 Overhaul PPU, manage scanlines and forced blanking, vram, cgram, oam, color math, layers, windows, pixel buffer, latching 2024-04-22 15:58:08 -04:00
scawful
3b462970f6 overhaul memory, manage open bus, pal timing, v_pos, h_pos, cartridges, dma channels 2024-04-22 15:57:19 -04:00
scawful
4715cd30bc Add DmaChannel, implement DMA functions 2024-04-22 15:56:24 -04:00
scawful
1c9c1592eb Overhaul Apu, add cycling and port handling 2024-04-22 15:55:57 -04:00
scawful
ca1d0e9131 Overhaul Spc700 implementation, add apu callbacks 2024-04-22 15:55:37 -04:00
scawful
3eb245f985 Add DspChannel and implement the Digital Signal Processor 2024-04-22 15:53:47 -04:00
scawful
917cd26a6e Add SNES BBus, registers, input, nmi/irq, joypad handling, frame timing, cpu callbacks, etc 2024-04-22 15:53:17 -04:00
scawful
541e045c46 Call Dsp::GetSamples from SNES SetSamples 2024-04-20 08:10:18 -04:00
scawful
e89d768b5a Add Dsp::GetSamples and cleanup Apu 2024-04-20 08:09:43 -04:00
scawful
a2bda63ae5 Add Controller::LoadAudioDevice and cleanup audio device OnExit 2024-04-20 07:47:57 -04:00
scawful
7072c18a92 Add Controller::PlayAudio for Emulator 2024-04-20 07:40:44 -04:00
scawful
2de3b283cd Add SNES::SetSamples and accessors for snes object 2024-04-20 07:40:27 -04:00
scawful
fce50b486a Update AsmParser algorithm based on asar inferred labeling, WIP 2024-04-19 21:44:51 -04:00
scawful
c5f0d38c45 Add pair key mnemonic to opcode map and structs 2024-04-19 21:44:29 -04:00
scawful
dc91c91c39 set log to debugger flag to true 2024-04-19 19:04:57 -04:00
scawful
ecf9c7c415 Add opcode_to_cycle_count map, update emu layout 2024-04-19 19:04:41 -04:00
scawful
2b11e61aac Update emulator zeml layout 2024-04-19 18:06:13 -04:00
scawful
914132a87b Add size parsing 2024-04-19 18:06:03 -04:00
scawful
a825ac36b2 Increase NotifyObservers data arg to uint16_t from uint8_t 2024-04-19 17:55:52 -04:00
scawful
c906da46a0 Consolidate SNES::Init 2024-04-19 17:54:26 -04:00
scawful
a1558fd9a2 replace flags void* with std::shared_ptr 2024-04-19 17:54:14 -04:00
scawful
5fecbc6939 Remove SNES::StartApuDataTransfer 2024-04-19 16:52:56 -04:00
scawful
b9212732a3 Add flags to collapsing headers in zeml 2024-04-19 16:40:53 -04:00
scawful
e8fe8a6c79 Initialize mode0 backgrounds, cleanup skeleton code 2024-04-19 16:03:15 -04:00
scawful
07feeac7c2 Update emulator instruction log filtering 2024-04-19 16:02:55 -04:00
scawful
b9be709832 Add flags, file mgmt, widgets to zeml 2024-04-19 11:13:34 -04:00
scawful
ccf234aacd Add LoadRom to MasterEditor 2024-04-19 11:12:59 -04:00
scawful
26a15b9dfe Initialize OverworldEditor zeml from MasterEditor OnEntry 2024-04-19 11:12:47 -04:00
scawful
70cead23cb Add zeml layout to OverworldEditor 2024-04-19 11:12:23 -04:00
scawful
a18b6db285 Remove Emulator::RenderCpuState 2024-04-17 20:34:37 -04:00