15051 Commits
Author SHA1 Message Date
Thomas Harte 9e3eb2c614 Merge pull request #1938 from TomHarte/SimplerFuzz
Use more direct fuzzing path.
2026-11-18 21:15:42 -05:00
Thomas Harte 70433fc8b7 Merge pull request #1937 from TomHarte/MoreAudio
Further improve IIgs audio and interrupt generation.
2026-11-18 19:47:47 -05:00
Thomas Harte 996ec5a387 Use more direct fuzzing path. 2026-11-18 17:28:28 -05:00
Thomas Harte 7a84aca300 Fuzz memory contents at startup. 2026-11-18 17:26:15 -05:00
Thomas Harte 95b92fd1e3 Add fuzzer for C arrays. 2026-11-18 17:25:39 -05:00
Thomas Harte a2e2caf20f Revoke volume hack. 2026-11-18 16:34:52 -05:00
Thomas Harte daf0cbf616 Adjust volume balance, force channels audible temporarily. 2026-11-18 16:28:45 -05:00
Thomas Harte c24309da95 Wire up flush path. 2026-11-18 15:08:18 -05:00
Thomas Harte 1cd7ed2c5f Flatten interrupt flags. 2026-11-18 08:28:36 -05:00
Thomas Harte 9251b078f8 Latch sample values; a better guess at RAM bandwidth constraints. 2026-11-18 08:00:05 -05:00
Thomas Harte 4b42c2ffe2 Avoid inadvertent DC offsets. 2026-11-17 22:05:05 -05:00
Thomas Harte 7f00e2c245 Fix reserved bits. 2026-11-17 21:57:50 -05:00
Thomas Harte 83faa24879 Fix oscillator index off-by-one bounds. 2026-11-17 21:52:06 -05:00
Thomas Harte f4fcb7f58b Once again use zero to halt all oscillator modes. 2026-11-17 21:45:44 -05:00
Thomas Harte 9e7bfa9f13 Set reserved bits. 2026-11-17 21:43:24 -05:00
Thomas Harte f44490faf4 Really enforce synchronisation. 2026-11-17 21:42:04 -05:00
Thomas Harte 6bb0600947 Reintroduce amplitude modulation. 2026-11-17 21:41:26 -05:00
Thomas Harte 893ed5d167 Update commentary. 2026-11-17 21:38:58 -05:00
Thomas Harte fb9225f02f Complete rename. 2026-11-17 21:36:56 -05:00
Thomas Harte fcf44065c3 Limit read delay to RAM accesses. 2026-11-17 21:32:31 -05:00
Thomas Harte ea3db9a141 Hew towards normative naming; don't allow programmer to set DOCBusy. 2026-11-17 21:28:59 -05:00
Thomas Harte 5e1780a251 Don't second-guess documentation on interrupts. 2026-11-17 21:25:39 -05:00
Thomas Harte 6234c890d1 Restore more-reasonable guess at 5-bit oscillator count. 2026-11-17 21:23:26 -05:00
Thomas Harte 85283342eb Merge pull request #1936 from TomHarte/IWMMotor
IWM: better support 1-second motor delay.
2026-11-17 21:11:43 -05:00
Thomas Harte 0805c0336c I no longer believe the ADB controller generates interrupts. 2026-11-17 20:06:49 -05:00
Thomas Harte ecdf0bc174 As the comment says, this should be a position reset. 2026-11-17 19:48:50 -05:00
Thomas Harte 3a7cf230da Corrections: (1) oscillator count; (2) accumulator section; (3) various flags. 2026-11-17 19:42:57 -05:00
Thomas Harte 89a77c728d Make it safe to call set_drive multiple times.
Not an intended usage, but I'll definitely lose context if not careful.
2026-11-17 14:30:32 -05:00
Thomas Harte 58d10a9066 Resolve audio sign confusion. 2026-11-17 13:40:13 -05:00
Thomas Harte 6698c5eceb Merge pull request #1935 from TomHarte/VBlank
Correct two IIgs interrupts: (i) vsync to the CPU; and (ii) timers to the ADB microcontroller.
2026-11-17 12:36:40 -05:00
Thomas Harte 00b3efadff Enfore startup conditions; signal ENABLE if motor is still running. 2026-11-17 12:29:33 -05:00
Thomas Harte ab881e591c Ensure 1-second timer can't cut into a later access. 2026-11-17 12:25:58 -05:00
Thomas Harte 23b2242a83 Do a better job of detecting whether service is required. 2026-11-17 12:10:18 -05:00
Thomas Harte 380c1344f5 Correct timers: 1 and 2 weren't counting. 2026-11-17 12:07:34 -05:00
Thomas Harte 41faa2a26e Allow vertical blank interrupts to land. 2026-11-16 19:21:57 -05:00
Thomas Harte fa1c427dce Merge pull request #1932 from TomHarte/IIgsAudio
Reformulate IIgs audio DOC and GLU for clarity and on hunch that interrupts are wrong.
2026-11-16 19:15:16 -05:00
Thomas Harte 97cf07038b Simplify frequency cutoff route; apply master volume. 2026-11-16 16:42:35 -05:00
Thomas Harte a247a4352e Restore toggle audio, force startup state. 2026-11-16 15:53:32 -05:00
Thomas Harte 1f2ff2c932 Reduce computations of net output. 2026-11-16 12:38:21 -05:00
Thomas Harte dbfcf73e94 Attempt audio output. 2026-11-16 12:06:00 -05:00
Thomas Harte 10ecff94a4 Attempt full interrupt behaviour. 2026-11-16 11:54:56 -05:00
Thomas Harte 43b2ee29dd Continue documentation -> code knowledge transfer. 2026-11-16 11:54:56 -05:00
Thomas Harte bf3b19bb26 Transcribe some extra information. 2026-11-16 11:54:56 -05:00
Thomas Harte 120805bf63 Allow Xcode its update flags. 2026-11-16 11:54:55 -05:00
Thomas Harte 7281b43e6f Abandon JIT updates for audio interrupts.
I think my oscillator update logic is incorrect; it'd be safer to try to get things working before relying on JIT updates.
2026-11-16 11:54:55 -05:00
Thomas Harte a0e8fd4720 Correct active oscillator count. 2026-11-16 11:54:55 -05:00
Thomas Harte 4539053688 Add read delay slot, eliminate State. 2026-11-16 11:54:55 -05:00
Thomas Harte 250ecf6d7f Mute current IIgs audio; work towards push. 2026-11-16 11:54:55 -05:00
Thomas Harte fb712ca3df Merge pull request #1934 from TomHarte/PushLowpassOwnership
Centralise async push lowpass buffering.
2026-11-16 11:54:20 -05:00
Thomas Harte 772ec0cdba Centralise async push lowpass buffering. 2026-11-16 10:48:43 -05:00