7 Commits

Author SHA1 Message Date
Andre Zeps
266b32dddf Documentation and removal of unused code 2026-05-25 22:12:43 +02:00
Andre Zeps
2b2c222d82 SERVO: Perform machine reset when a CD image is remounted with a closed tray
- Remount is allowed without reset, when the CD wasn't read yet during power cycle
- Allows changing a disc with multi disc titles after application induced eject
- Added debug option to allow replacing the image during operation
- Also fixed tray close on image mount
2026-02-28 21:53:11 +01:00
Andre Zeps
3fac9e7b67 DVC test with SkyWays
Game is running, MPEG implementation is faking the process
No actual MPEG decoding involved
2025-06-11 18:48:11 +02:00
Andre Zeps
91450d6ca5 68HC05: Added Input Capture registers and adjusted clock frequency
- Added clock divider to get 0.5 MHz from 30 MHz system clock
  The system timer tick now occurs every 8.1ms like it does on a 210/05

- Added reset delay mechanism to fix the resulting time out when polling
  for the PAL/NTSC status.
  This occurs when the m68k is overclocked

- Added captured RC5 test data to confirm compatibility with the
  Thumbstick remote controller in a simulated environment
2025-04-14 09:54:22 +02:00
Andre Zeps
2c5b60519e CDIC: Rework of audio player state machine
- Removal of Tick wait counter
  It was an artifact only required by software emulators
- Added abort of playback
  Fixes some audio map related sound glitches in Zelda's Adventure
- Added mysterious bit reset
  Forces Unmute during Audio Channel playback
  Full function not yet understood

AD7528: Added instances for stereo mixing

- Fixes audio panning in Zelda's Adventure
- Fixes stereo to mono mixing (SFX + BGM)
  - Hotel Mario
  - Zelda - Wand of Gamelon
2025-02-14 20:54:19 +01:00
Andre Zeps
0f51aae7eb CDIC: Add audiomap and related features
- Added state management for audiomap usage
- Added coding dependent sector playback delay
- Basic seeking time simulation and constant data rate
- Removed debugging option to disable MODE2 filters
- Added a lot documentation about expectations of
  the CDIC to the code
- Splitted off all audio playback into seperate file
- Added DC bias filter to reduce pops between playbacks
- Fixed wrong sample during underflow of FIFO
- Added two sample delay for ADPCM
  Fixes frequent clicks and pops due to latency of ADPCM calculation
- Buffer management now equal to CDIC emulation of MAME
  Uses internal bank switching to avoid ADPCM overwrite
  Stabilizes intro of "Zelda's Adventure" and "Hotel Mario"

SCC68070: DMA support for transfer to CDIC memory

Added additional test roms to verify the additions

Known issues:
- Hotel Mario hangs during score screen
- Frog Feast hangs ingame
2024-11-15 12:18:55 +01:00
Andre Zeps
d05f1fb295 Slave controller features
- Added servo controller SPI fake communication
  Behaves as a closed but empty tray
- Added pointing device emulation
  MiSTer joystick data used as input
  Behaves like a maneuvering device
- Added SCI IRQ to 6805 cpu core
- Added SPI and SCI to 6805 uC
- Fixed spurious 68k chip select for slave
- Added documentation about I2C to the Front LCD
- Simulated U3090MG no longer causes front panel button presses
  Lead to spurious IRQs before
- Removal of slave memory patches
2024-09-03 11:58:26 +02:00