1. 01 Jun, 2022 1 commit
    • Robert Sprowson's avatar
      Out of range SWI fixes · 882e7bfa
      Robert Sprowson authored
      When scheduling a SWI, ensure the X bit is set when despatched.
      This used to be the case: the version in RISC OS 3.60 forced the X bit, but this was mis-translated to XOS_CallASWI for StrongARM with the X bit clear in R10.
      Fixes https://www.riscosopen.org/forum/forums/4/topics/6760
      Report an error for attempts to call out of range SWIs from our SWI jump table.
      Delete unused Help/Syntax.
      Version 1.34. Tagged as 'Sound2-1_34'
  2. 04 Aug, 2018 1 commit
    • Jeffrey Lee's avatar
      Cope with SoundDMA being reinitialised · bf90ae93
      Jeffrey Lee authored
        s/Sound2 - Adapt service call handler so that on Service_SoundLevel0Alive we reregister ourselves as the sound channel handler
        Tested on iMX6
        This means that (combined with Sound1-1_42) *RMReinit of SoundDMA while Maestro is playing music will not halt playback (However, Maestro won't spot that playback has been switched from 8 channels back to the default of 1 channel)
      Version 1.33. Tagged as 'Sound2-1_33'
  3. 28 Jun, 2014 1 commit
    • Jeffrey Lee's avatar
      Cleanup pass · 62f3d9eb
      Jeffrey Lee authored
        s/Sound2 - Follow the PRM's instructions and issue Sound_Mode before Sound_SampleRate, instead of assuming Sound_SampleRate 1 would be safe on systems without 16 bit sound.
        Tested on BB-xM
      Version 1.32. Tagged as 'Sound2-1_32'
  4. 23 Jun, 2014 1 commit
    • Jeffrey Lee's avatar
      Fix non-ARMv7 builds · ffb8a7d0
      Jeffrey Lee authored
        s/Sound2 - Swap MOV # of a large constant with LDR =. When building for ARMv7 the MOV was being silently swapped for MOVW, but for older architectures it was generating an error.
        IOMD, Tungsten, BCM2835 variants of module now build
      Version 1.31. Retagged as 'Sound2-1_31'
  5. 22 Jun, 2014 1 commit
    • Jeffrey Lee's avatar
      Automatically adjust tempo for current sample rate + DMA buffer size · 72e3ad0c
      Jeffrey Lee authored
        The Sound_QTempo SWI has always been defined as accepting a tempo value that's relative to the number of beats per centisecond.
        However the implementation has never attempted to adjust the value to match the current sound system settings; it's always worked under the assumption that one buffer = one centisecond.
        For default sound settings on an Archimedes this would have been almost correct, but for modern machines with different sample rates or buffer sizes it's generally wrong.
        This change rectifies that, by taking whatever tempo value was supplied to the SWI and adjusting it behind the scenes so that the core scheduling code uses the correct beat increment.
        For compatibility with existing software which may be relying on the fact that tempo was never dealt with correctly, this new behaviour can be disabled and the old behaviour used instead simply by disabling automatic tuning via Sound_Tuning.
        s/Sound2 - As above. Added RecalcTempo routine which is responsible for relculating the internal tempo value whenever the external value changes or the sound system configuration changes. This is called from SoundQTempo whenever the user-facing tempo value changes, and from the service call handler whenever the sound system configuration changes or when automatic tuning is turned on or off.
        Tested on BB-xM
        !Maestro now plays music at the correct speed when switching the sound system through different sample rates
        This goes part way towards fixing issue #347; fixes for the voice generators are still required:
      Version 1.31. Tagged as 'Sound2-1_31'
  6. 16 Feb, 2012 1 commit
  7. 14 Mar, 2011 1 commit
  8. 19 Jan, 2010 1 commit
    • ROOL's avatar
      Incremented version number, no other change. · 2b3472fc
      ROOL authored
      Previous changes were untagged, but incrementing the version number gives
      us a tag we can associate with the official RISC OS 5.16 release.
      Version 1.28. Tagged as 'Sound2-1_28'
  9. 11 Jun, 2009 1 commit
    • Ben Avison's avatar
      GET file pathnames changed · d7783fdc
      Ben Avison authored
        Uses suffixed file extensions for compatiblity with both objasm and asasm.
        Supplied by Peter Naulls, tested at ROOL
      Version 1.27. Not tagged
  10. 19 Mar, 2001 1 commit
  11. 16 Mar, 2001 1 commit
  12. 08 Dec, 1999 1 commit
    • Stewart Brodie's avatar
      32-bit compatibility. · 0b17eed2
      Stewart Brodie authored
        Code updated to use macros from HdrSrc for mode changing and IRQ
          state updates.
        Tested 26-bit and 32-bit builds on Risc PC by pressing ^G to generate
          the system beep, Maestro to play several sounds concurrently, and
          Replay to play audio files.
      Version 1.25. Tagged as 'Sound2-1_25'
  13. 16 Aug, 1999 2 commits
  14. 21 Jan, 1997 1 commit
  15. 21 Nov, 1996 1 commit
  16. 05 Nov, 1996 1 commit